first pass at extracting version code from the minified javascript

still needs some work, but will get something working in the test builds for now...
This commit is contained in:
Jon Atkins
2014-08-14 23:54:36 +01:00
parent aa01bcf66f
commit 9ab6bea90d
6 changed files with 29 additions and 37 deletions

10
main.js
View File

@ -122,15 +122,7 @@ function wrapper(info) {
// (not the full GM_info - it contains the ENTIRE script source!)
window.script_info = info;
// disabling of some cruft left behind by the stock site
try {
goog.events.removeAll();
goog.Timer.clear();
} catch(e) {
console.warn('Exception from trying to clear stock site stuff');
console.warn(e);
debugger; // debugger break
}
// LEAFLET PREFER CANVAS ///////////////////////////////////////////////