Skip to content

Commit 4fb3561

Browse files
authored
Merge pull request #994 from bajrangCoder/main
Updated ace to v1.35.4
2 parents 2203d4f + 07177fd commit 4fb3561

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+89
-79
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
/platforms/android/debug-signing.properties
99
/platforms/android/release-signing.properties
1010
**/*/.DS_Store
11-
.DS_Store
11+
.DS_Store
12+
pnpm-lock.yaml

www/index.html

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta
66
name="viewport"
7-
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
8+
/>
89
<link rel="stylesheet" href="./res/icons/style.css" />
910
<link rel="stylesheet" href="./res/file-icons/style.css" />
1011

1112
<script>
1213
(function () {
13-
var __testEl = document.createElement('div');
14-
var __testChildEl = document.createElement('div');
14+
var __testEl = document.createElement("div");
15+
var __testChildEl = document.createElement("div");
1516
if (__testEl.append) {
1617
__testEl.append(__testChildEl);
1718
if (__testEl.children.length === 1) {
@@ -46,14 +47,14 @@
4647
type,
4748
listener,
4849
useCapture,
49-
allowed
50+
allowed,
5051
) {
51-
if (typeof useCapture === 'boolean') {
52+
if (typeof useCapture === "boolean") {
5253
allowed = useCapture;
5354
useCapture = undefined;
5455
}
5556

56-
if(type === 'contextmenu' && !allowed) {
57+
if (type === "contextmenu" && !allowed) {
5758
return;
5859
}
5960

@@ -63,8 +64,8 @@
6364
}
6465

6566
if (
66-
this.classList.contains('editor-container') &&
67-
startsWith(type, 'touch')
67+
this.classList.contains("editor-container") &&
68+
startsWith(type, "touch")
6869
) {
6970
if (!this.eventListeners) {
7071
this.eventListeners = {};
@@ -102,14 +103,14 @@
102103
<script src="./js/ace/ext-static_highlight.js"></script>
103104

104105
<script>
105-
var color = localStorage.getItem('__primary_color');
106-
var __bg_color = '#20202c';
106+
var color = localStorage.getItem("__primary_color");
107+
var __bg_color = "#20202c";
107108
if (color) {
108109
__bg_color = color;
109110
}
110111

111-
document.querySelector(':root').style.cssText =
112-
'--bg-color: ' + __bg_color;
112+
document.querySelector(":root").style.cssText =
113+
"--bg-color: " + __bg_color;
113114
</script>
114115

115116
<style>
@@ -123,7 +124,7 @@
123124

124125
body.loading.splash::before {
125126
content: attr(data-version);
126-
background-image: url('./res/logo/logo.svg');
127+
background-image: url("./res/logo/logo.svg");
127128
background-position: center;
128129
background-repeat: no-repeat;
129130
background-size: 180px;
@@ -161,21 +162,21 @@
161162

162163
<script src="./js/build/main.build.js"></script>
163164

164-
<title>Acode</title>
165-
<!--styles-->
166-
<link rel="stylesheet" href="./css/build/32.css">
167-
<link rel="stylesheet" href="./css/build/383.css">
168-
<link rel="stylesheet" href="./css/build/53.css">
169-
<link rel="stylesheet" href="./css/build/609.css">
170-
<link rel="stylesheet" href="./css/build/about.css">
171-
<link rel="stylesheet" href="./css/build/customTheme.css">
172-
<link rel="stylesheet" href="./css/build/donate.css">
173-
<link rel="stylesheet" href="./css/build/fileBrowser.css">
174-
<link rel="stylesheet" href="./css/build/main.css">
175-
<link rel="stylesheet" href="./css/build/plugins.css">
176-
<link rel="stylesheet" href="./css/build/themeSetting.css">
177-
<!--styles_end-->
178-
</head>
165+
<title>Acode</title>
166+
<!--styles-->
167+
<link rel="stylesheet" href="./css/build/32.css" />
168+
<link rel="stylesheet" href="./css/build/383.css" />
169+
<link rel="stylesheet" href="./css/build/53.css" />
170+
<link rel="stylesheet" href="./css/build/609.css" />
171+
<link rel="stylesheet" href="./css/build/about.css" />
172+
<link rel="stylesheet" href="./css/build/customTheme.css" />
173+
<link rel="stylesheet" href="./css/build/donate.css" />
174+
<link rel="stylesheet" href="./css/build/fileBrowser.css" />
175+
<link rel="stylesheet" href="./css/build/main.css" />
176+
<link rel="stylesheet" href="./css/build/plugins.css" />
177+
<link rel="stylesheet" href="./css/build/themeSetting.css" />
178+
<!--styles_end-->
179+
</head>
179180

180181
<body class="loading splash" data-version="">
181182
<wc-page id="root" class="primary"></wc-page>

www/js/ace/ace.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/ext-options.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/ext-settings_menu.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/ext-themelist.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/keybinding-emacs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/mode-astro.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/mode-coldfusion.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/ace/mode-csound_document.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)