Skip to content

Commit 6aa3919

Browse files
author
Ajit Kumar
committed
v1.10.0
1 parent 7a189f2 commit 6aa3919

File tree

8 files changed

+72
-36
lines changed

8 files changed

+72
-36
lines changed

.vscode/plugins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"plugins":["cordova-plugin-buildinfo","cordova-plugin-device","cordova-plugin-file","cordova-plugin-ftp","cordova-plugin-iap","cordova-plugin-sdcard","cordova-plugin-server","cordova-plugin-sftp","cordova-plugin-system","cordova-clipboard","cordova-plugin-browser"]}
1+
{"plugins":["cordova-plugin-buildinfo","cordova-plugin-device","cordova-plugin-file","cordova-plugin-ftp","cordova-plugin-iap","cordova-plugin-sdcard","cordova-plugin-server","cordova-plugin-sftp","cordova-clipboard","cordova-plugin-browser","cordova-plugin-system"]}

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
- [x] **Ace editor** | 937
77
- Updated Ace editor to version 1.32.7
88
- Fixes
9-
- [x] **UI** | 942
9+
- [x] **UI** | 944
1010
- Fixed status and navigation text color not visible in light theme.
11+
- [x] **Plugin** | 944
12+
- Fixed updates for plugin not showing up.
1113

1214
- Fixes
1315
- [x] **Text selection** | 937

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8' ?>
2-
<widget id="com.foxdebug.acode" android-versionCode="942" version="1.10.0"
2+
<widget id="com.foxdebug.acode" android-versionCode="944" version="1.10.0"
33
xmlns="http://www.w3.org/ns/widgets"
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:cdv="http://cordova.apache.org/ns/1.0">

package-lock.json

Lines changed: 57 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "com.foxdebug.acode",
33
"displayName": "Acode",
4-
"version": "1.8.5",
4+
"version": "1.10.0",
55
"description": "Acode is a code editor for android",
6-
"main": "index.js",
76
"scripts": {
87
"lang": "node ./utils/lang.js",
98
"build": "sh utils/scripts/build.sh",
@@ -75,7 +74,7 @@
7574
"prettier": "^3.2.5",
7675
"prettier-plugin-java": "^2.6.0",
7776
"raw-loader": "^4.0.2",
78-
"sass": "^1.71.1",
77+
"sass": "^1.72.0",
7978
"sass-loader": "^14.1.1",
8079
"style-loader": "^3.3.4",
8180
"webpack": "^5.90.3",
@@ -94,8 +93,7 @@
9493
"html-tag-js": "^1.4.3",
9594
"js-base64": "^3.7.7",
9695
"jszip": "^3.10.1",
97-
"marked": "5.0.5",
98-
"marked-mangle": "^1.1.7",
96+
"markdown-it": "^14.0.0",
9997
"mime-types": "^2.1.35",
10098
"minimatch": "^9.0.3",
10199
"mustache": "^4.2.0",

src/lib/run.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Url from 'utils/Url';
22
import mimeType from 'mime-types';
3-
import { marked } from 'marked';
3+
import markdownIt from 'markdown-it';
44
import mustache from 'mustache';
55
import $_console from 'views/console.hbs';
66
import $_markdown from 'views/markdown.hbs';
@@ -274,7 +274,7 @@ async function run(
274274

275275
case '.md':
276276
if (file) {
277-
const html = marked.parse(file.session.getValue());
277+
const html = markdownIt().render(file.session.getValue());
278278
const doc = mustache.render($_markdown, {
279279
html,
280280
filename,

src/pages/plugin/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import './plugin.scss';
22
import Url from 'utils/Url';
3-
import { marked } from 'marked';
3+
import markdownIt from 'markdown-it';
44
import ajax from '@deadlyjack/ajax';
55
import view from './plugin.view.js';
66
import Page from "components/page";
@@ -261,7 +261,7 @@ export default async function PluginInclude(id, installed, onInstall, onUninstal
261261
const pluginSettings = settings.uiSettings[`plugin-${plugin.id}`];
262262
$page.body = view({
263263
...plugin,
264-
body: marked(plugin.description),
264+
body: markdownIt().render(plugin.description),
265265
purchased,
266266
installed,
267267
update,

src/pages/plugins/plugins.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ export default function PluginsInclude(updates) {
8787
$page.get('.options').style.display = 'none';
8888
$page.settitle(strings.update);
8989
getInstalledPlugins(updates)
90-
.then(render);
90+
.then(() => {
91+
render('installed');
92+
});
9193
return;
9294
}
9395

0 commit comments

Comments
 (0)