Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
PROPHESSOR committed Nov 22, 2017
0 parents commit 0979966
Show file tree
Hide file tree
Showing 573 changed files with 109,462 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
output
4 changes: 4 additions & 0 deletions Autorun.bas
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// ==================JsMobileBasic Script================= *


function Main(){}
41 changes: 41 additions & 0 deletions Config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
let $Config, editor;


{
editor = CodeMirror.fromTextArea(document.getElementById("code"), {
lineNumbers: true,
mode: "text/javascript",
matchBrackets: true,
autoCloseBrackets: true,
extraKeys: {
"Ctrl-Tab": "autocomplete",
"Ctrl-/": "toggleComment"
},
continueComments: "Enter",
});
editor.setOption("theme", "cobalt");//"erlang-dark");
editor.setSize("100%", "25vh");
editor.on("keyup", function (e, s) {
$rampage = s;
if (s.type == "keyup" && !e.state.completionActive && s.keyCode != 13 && s.keyCode !=
27 && s.keyCode != 32 && s.keyCode != 8 && /^[A-Zа-яА-Яa-z$_]*$/.test(s.key) && s.key
.length == 1 && !s.ctrlKey && !s.altKey) {
CodeMirror.showHint(e, null, {
completeSingle: false
});
// CodeMirror.commands.autocomplete(e, null, {completeSingle: false});
}
});
}


{
let canvas = document.getElementsByClassName("canvas")[0];
$Config = {
type: 'graphic', //graphic/console/api
canvas_size: [canvas.clientWidth, canvas.clientHeight + window.innerHeight / 5, false], //[x,y,вместить]
Debug_Mode: true,
name: "Интерпретатор JsMobileBasic",
fullscreen: false
}
}
9 changes: 9 additions & 0 deletions MobileBasic.dll

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ES5 => ES6
Object style
Console errors, warns and logs
8 changes: 8 additions & 0 deletions cm/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.txt text
*.js text
*.html text
*.md text
*.json text
*.yml text
*.css text
*.svg text
11 changes: 11 additions & 0 deletions cm/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/node_modules
/demo
/doc
/test
/test*.html
/index.html
/mode/*/*test.js
/mode/*/*.html
/mode/index.html
.*
bin
4 changes: 4 additions & 0 deletions cm/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- stable
sudo: false
Loading

0 comments on commit 0979966

Please sign in to comment.