Skip to content

Commit

Permalink
v1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajit Kumar committed Mar 15, 2024
1 parent 7a189f2 commit 6aa3919
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .vscode/plugins.json
Original file line number Diff line number Diff line change
@@ -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"]}
{"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"]}
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
- [x] **Ace editor** | 937
- Updated Ace editor to version 1.32.7
- Fixes
- [x] **UI** | 942
- [x] **UI** | 944
- Fixed status and navigation text color not visible in light theme.
- [x] **Plugin** | 944
- Fixed updates for plugin not showing up.

- Fixes
- [x] **Text selection** | 937
Expand Down
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8' ?>
<widget id="com.foxdebug.acode" android-versionCode="942" version="1.10.0"
<widget id="com.foxdebug.acode" android-versionCode="944" version="1.10.0"
xmlns="http://www.w3.org/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
Expand Down
80 changes: 57 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "com.foxdebug.acode",
"displayName": "Acode",
"version": "1.8.5",
"version": "1.10.0",
"description": "Acode is a code editor for android",
"main": "index.js",
"scripts": {
"lang": "node ./utils/lang.js",
"build": "sh utils/scripts/build.sh",
Expand Down Expand Up @@ -75,7 +74,7 @@
"prettier": "^3.2.5",
"prettier-plugin-java": "^2.6.0",
"raw-loader": "^4.0.2",
"sass": "^1.71.1",
"sass": "^1.72.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"webpack": "^5.90.3",
Expand All @@ -94,8 +93,7 @@
"html-tag-js": "^1.4.3",
"js-base64": "^3.7.7",
"jszip": "^3.10.1",
"marked": "5.0.5",
"marked-mangle": "^1.1.7",
"markdown-it": "^14.0.0",
"mime-types": "^2.1.35",
"minimatch": "^9.0.3",
"mustache": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/run.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Url from 'utils/Url';
import mimeType from 'mime-types';
import { marked } from 'marked';
import markdownIt from 'markdown-it';
import mustache from 'mustache';
import $_console from 'views/console.hbs';
import $_markdown from 'views/markdown.hbs';
Expand Down Expand Up @@ -274,7 +274,7 @@ async function run(

case '.md':
if (file) {
const html = marked.parse(file.session.getValue());
const html = markdownIt().render(file.session.getValue());
const doc = mustache.render($_markdown, {
html,
filename,
Expand Down
4 changes: 2 additions & 2 deletions src/pages/plugin/plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './plugin.scss';
import Url from 'utils/Url';
import { marked } from 'marked';
import markdownIt from 'markdown-it';
import ajax from '@deadlyjack/ajax';
import view from './plugin.view.js';
import Page from "components/page";
Expand Down Expand Up @@ -261,7 +261,7 @@ export default async function PluginInclude(id, installed, onInstall, onUninstal
const pluginSettings = settings.uiSettings[`plugin-${plugin.id}`];
$page.body = view({
...plugin,
body: marked(plugin.description),
body: markdownIt().render(plugin.description),
purchased,
installed,
update,
Expand Down
4 changes: 3 additions & 1 deletion src/pages/plugins/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export default function PluginsInclude(updates) {
$page.get('.options').style.display = 'none';
$page.settitle(strings.update);
getInstalledPlugins(updates)
.then(render);
.then(() => {
render('installed');
});
return;
}

Expand Down

0 comments on commit 6aa3919

Please sign in to comment.