From 5f34a9775dd8f5ecf79c32088060fcbc8baa7f63 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Thu, 21 May 2020 22:24:30 +0200 Subject: [PATCH] fix some package --- LuaPlayground/build/debug/main.js | 1 + LuaPlayground/build/debug/package.json | 2 +- LuaPlayground/build/release/LuaPlayground.zip | Bin 218265 -> 218315 bytes LuaPlayground/coffees/main.coffee | 1 + LuaPlayground/package.json | 2 +- TinyEditor/build/debug/main.js | 2 +- TinyEditor/build/debug/package.json | 2 +- TinyEditor/build/release/TinyEditor.zip | Bin 4819 -> 4824 bytes TinyEditor/coffees/main.coffee | 2 +- TinyEditor/package.json | 2 +- 10 files changed, 8 insertions(+), 6 deletions(-) diff --git a/LuaPlayground/build/debug/main.js b/LuaPlayground/build/debug/main.js index 5ce093f..4ca7214 100644 --- a/LuaPlayground/build/debug/main.js +++ b/LuaPlayground/build/debug/main.js @@ -207,6 +207,7 @@ main() { this.datarea = this.find("editorea"); this.output = this.find("output"); + ace.config.set('basePath', '/scripts/ace'); this.editor = ace.edit(this.datarea); this.editor.setOptions({ enableBasicAutocompletion: true, diff --git a/LuaPlayground/build/debug/package.json b/LuaPlayground/build/debug/package.json index b52c9f3..e2119ba 100644 --- a/LuaPlayground/build/debug/package.json +++ b/LuaPlayground/build/debug/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LEs", "email": "xsang.le@gmail.com" }, - "version":"0.0.1-a", + "version":"0.0.2-a", "category":"System", "iconclass":"fa fa-adn", "mimes":["none"] diff --git a/LuaPlayground/build/release/LuaPlayground.zip b/LuaPlayground/build/release/LuaPlayground.zip index 0087b1450a6fa08c8c19dd81b83c7303f13bc3c5..2fdb240f85632e7846a674c575e096a92ff333ae 100644 GIT binary patch delta 251 zcmbQalK1pVUY-DNW)?065csudBhNP`rr(PuvoPlasm-O#&CGni7i|sD4U=dx^k!x- z^xn+IE+(#-n4GGYoS&DLnXXryTB4zzlvtb^kXVwTuA`u?Uz}W&Sx{1}4^*VyEG*Y9 zEXN4MOxuO!m^n>2K*p)cp1wISYz@=LLAPvVr7Sflw5vdO?u|Q^MTIEX?^pYI7-bGc#Yp+^qqM-7~8GdoeTo z_u9LU+DO_zK5jj09i1`Pj;dK9C=2)O9)7J$v sn}g`*!OW&0S}ugy1kKdx2_ekt2m|^ @datarea = @find "editorea" @output = @find "output" + ace.config.set('basePath', '/scripts/ace') @.editor = ace.edit @datarea @.editor.setOptions { enableBasicAutocompletion: true, diff --git a/LuaPlayground/package.json b/LuaPlayground/package.json index b52c9f3..e2119ba 100644 --- a/LuaPlayground/package.json +++ b/LuaPlayground/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LEs", "email": "xsang.le@gmail.com" }, - "version":"0.0.1-a", + "version":"0.0.2-a", "category":"System", "iconclass":"fa fa-adn", "mimes":["none"] diff --git a/TinyEditor/build/debug/main.js b/TinyEditor/build/debug/main.js index f2179be..bac3af2 100644 --- a/TinyEditor/build/debug/main.js +++ b/TinyEditor/build/debug/main.js @@ -18,7 +18,7 @@ this.bindKey("CTRL-S", () => { return this.saveFile(); }); - this.filehandle = this.args && this.args.length > 0 ? this.args[0].asFileHandle() : null; + this.filehandle = this.args && this.args.length > 0 ? this.args[0].path.asFileHandle() : null; $(this.editor).on('input', (e) => { if (this.filehandle.dirty === true) { return; diff --git a/TinyEditor/build/debug/package.json b/TinyEditor/build/debug/package.json index 7889034..e49e5c6 100644 --- a/TinyEditor/build/debug/package.json +++ b/TinyEditor/build/debug/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.1-a", + "version":"0.0.2-a", "category":"Other", "iconclass":"fa fa-adn", "mimes":["text/.*"] diff --git a/TinyEditor/build/release/TinyEditor.zip b/TinyEditor/build/release/TinyEditor.zip index a08cf3247ed33b3d05f47b284d3f2f3c2ea8c6d5..f5e663398ec69a3b8ace917d32a86eead442da7a 100644 GIT binary patch delta 162 zcmcbtdP9{bz?+$civa|f7fb;;Th*A?WK{aD?x{!uEOs6Iz W0|N;2fUSoSQIppR$+N8$1n~iOmMeGw delta 184 zcmcbidRdhxz?+$civa{OW=`aJ$OI(cuK<#hXEM&<&6v40V2_FBCr&;F2F}fPOd3p^ zvsr#}bAZHsLS{^woFnj-(QtB @newFile() @bindKey "ALT-O", () => @openFile() @bindKey "CTRL-S", () => @saveFile() - @filehandle = if @args and @args.length > 0 then @args[0].asFileHandle() else null + @filehandle = if @args and @args.length > 0 then @args[0].path.asFileHandle() else null $(@editor).on 'input', (e) => return if @filehandle.dirty is true @filehandle.dirty = true diff --git a/TinyEditor/package.json b/TinyEditor/package.json index 7889034..e49e5c6 100644 --- a/TinyEditor/package.json +++ b/TinyEditor/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.1-a", + "version":"0.0.2-a", "category":"Other", "iconclass":"fa fa-adn", "mimes":["text/.*"]