Enable noVNC to become Browserifiable
This commit restructures noVNC, splitting it into the core directory and the app directory, with the former containing core noVNC parts, and the latter containing parts specific to the application. Additionally, it introduces a new utility for transforming the noVNC javascript files into a browserifiable application. Module names and requirements are listed at the top of each file, and the script `use_require.js` may be used to convert them into a form that uses `module.exports` and `require`. If you pass the '-b' flag to the script, it will aslo run browserify, and copy over sufficient resources to use 'vnc.html'.
Showing
This diff is collapsed.
include/jsunzip.js
→
core/jsunzip.js
100755 → 100644
This diff is collapsed.
core/keysym.js
0 → 100644
This diff is collapsed.
include/keysym.js
deleted
100644 → 0
This diff is collapsed.
File deleted
This diff is collapsed.
This diff is collapsed.
... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
"ansi": "^0.3.0", | "ansi": "^0.3.0", | ||
"casperjs": "^1.1.0-beta3", | "casperjs": "^1.1.0-beta3", | ||
"chai": "^2.1.0", | "chai": "^2.1.0", | ||
"commander": "^2.6.0", | "commander": "^2.8.1", | ||
"karma": "^0.12.31", | "karma": "^0.12.31", | ||
"karma-chai": "^0.1.0", | "karma-chai": "^0.1.0", | ||
"karma-mocha": "^0.1.10", | "karma-mocha": "^0.1.10", | ||
... | ... |
This diff is collapsed.
This diff is collapsed.
use_require.js
0 → 100755
Please
register
or
sign in
to comment