package
This commit is contained in:
parent
483a7126e0
commit
0c258e615a
315 changed files with 411 additions and 3095 deletions
|
|
@ -1 +1 @@
|
|||
ace.define("pilot/index",["require","exports","module","pilot/browser_focus","pilot/dom","pilot/event","pilot/event_emitter","pilot/fixoldbrowsers","pilot/keys","pilot/lang","pilot/oop","pilot/useragent","pilot/canon"],function(a,b,c){a("pilot/browser_focus"),a("pilot/dom"),a("pilot/event"),a("pilot/event_emitter"),a("pilot/fixoldbrowsers"),a("pilot/keys"),a("pilot/lang"),a("pilot/oop"),a("pilot/useragent"),a("pilot/canon")}),ace.define("pilot/browser_focus",["require","exports","module","ace/lib/browser_focus"],function(a,b,c){console.warn("DEPRECATED: 'pilot/browser_focus' is deprecated. Use 'ace/lib/browser_focus' instead"),c.exports=a("ace/lib/browser_focus")}),ace.define("pilot/dom",["require","exports","module","ace/lib/dom"],function(a,b,c){console.warn("DEPRECATED: 'pilot/dom' is deprecated. Use 'ace/lib/dom' instead"),c.exports=a("ace/lib/dom")}),ace.define("pilot/event",["require","exports","module","ace/lib/event"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event' is deprecated. Use 'ace/lib/event' instead"),c.exports=a("ace/lib/event")}),ace.define("pilot/event_emitter",["require","exports","module","ace/lib/event_emitter"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event_emitter' is deprecated. Use 'ace/lib/event_emitter' instead"),c.exports=a("ace/lib/event_emitter")}),ace.define("pilot/fixoldbrowsers",["require","exports","module","ace/lib/fixoldbrowsers"],function(a,b,c){console.warn("DEPRECATED: 'pilot/fixoldbrowsers' is deprecated. Use 'ace/lib/fixoldbrowsers' instead"),c.exports=a("ace/lib/fixoldbrowsers")}),ace.define("pilot/keys",["require","exports","module","ace/lib/keys"],function(a,b,c){console.warn("DEPRECATED: 'pilot/keys' is deprecated. Use 'ace/lib/keys' instead"),c.exports=a("ace/lib/keys")}),ace.define("pilot/lang",["require","exports","module","ace/lib/lang"],function(a,b,c){console.warn("DEPRECATED: 'pilot/lang' is deprecated. Use 'ace/lib/lang' instead"),c.exports=a("ace/lib/lang")}),ace.define("pilot/oop",["require","exports","module","ace/lib/oop"],function(a,b,c){console.warn("DEPRECATED: 'pilot/oop' is deprecated. Use 'ace/lib/oop' instead"),c.exports=a("ace/lib/oop")}),ace.define("pilot/useragent",["require","exports","module","ace/lib/useragent"],function(a,b,c){console.warn("DEPRECATED: 'pilot/useragent' is deprecated. Use 'ace/lib/useragent' instead"),c.exports=a("ace/lib/useragent")}),ace.define("pilot/canon",["require","exports","module"],function(a,b,c){console.warn("DEPRECATED: 'pilot/canon' is deprecated."),b.addCommand=function(){console.warn("DEPRECATED: 'canon.addCommand()' is deprecated. Use 'editor.commands.addCommand(command)' instead."),console.trace()},b.removeCommand=function(){console.warn("DEPRECATED: 'canon.removeCommand()' is deprecated. Use 'editor.commands.removeCommand(command)' instead."),console.trace()}}),function(){ace.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
ace.define("pilot/index",["require","exports","module","pilot/browser_focus","pilot/dom","pilot/event","pilot/event_emitter","pilot/fixoldbrowsers","pilot/keys","pilot/lang","pilot/oop","pilot/useragent","pilot/canon"],function(a,b,c){a("pilot/browser_focus"),a("pilot/dom"),a("pilot/event"),a("pilot/event_emitter"),a("pilot/fixoldbrowsers"),a("pilot/keys"),a("pilot/lang"),a("pilot/oop"),a("pilot/useragent"),a("pilot/canon")}),ace.define("pilot/browser_focus",["require","exports","module","ace/lib/browser_focus"],function(a,b,c){console.warn("DEPRECATED: 'pilot/browser_focus' is deprecated. Use 'ace/lib/browser_focus' instead"),c.exports=a("ace/lib/browser_focus")}),ace.define("pilot/dom",["require","exports","module","ace/lib/dom"],function(a,b,c){console.warn("DEPRECATED: 'pilot/dom' is deprecated. Use 'ace/lib/dom' instead"),c.exports=a("ace/lib/dom")}),ace.define("pilot/event",["require","exports","module","ace/lib/event"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event' is deprecated. Use 'ace/lib/event' instead"),c.exports=a("ace/lib/event")}),ace.define("pilot/event_emitter",["require","exports","module","ace/lib/event_emitter"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event_emitter' is deprecated. Use 'ace/lib/event_emitter' instead"),c.exports=a("ace/lib/event_emitter")}),ace.define("pilot/fixoldbrowsers",["require","exports","module","ace/lib/fixoldbrowsers"],function(a,b,c){console.warn("DEPRECATED: 'pilot/fixoldbrowsers' is deprecated. Use 'ace/lib/fixoldbrowsers' instead"),c.exports=a("ace/lib/fixoldbrowsers")}),ace.define("pilot/keys",["require","exports","module","ace/lib/keys"],function(a,b,c){console.warn("DEPRECATED: 'pilot/keys' is deprecated. Use 'ace/lib/keys' instead"),c.exports=a("ace/lib/keys")}),ace.define("pilot/lang",["require","exports","module","ace/lib/lang"],function(a,b,c){console.warn("DEPRECATED: 'pilot/lang' is deprecated. Use 'ace/lib/lang' instead"),c.exports=a("ace/lib/lang")}),ace.define("pilot/oop",["require","exports","module","ace/lib/oop"],function(a,b,c){console.warn("DEPRECATED: 'pilot/oop' is deprecated. Use 'ace/lib/oop' instead"),c.exports=a("ace/lib/oop")}),ace.define("pilot/useragent",["require","exports","module","ace/lib/useragent"],function(a,b,c){console.warn("DEPRECATED: 'pilot/useragent' is deprecated. Use 'ace/lib/useragent' instead"),c.exports=a("ace/lib/useragent")}),ace.define("pilot/canon",["require","exports","module"],function(a,b,c){console.warn("DEPRECATED: 'pilot/canon' is deprecated."),b.addCommand=function(){console.warn("DEPRECATED: 'canon.addCommand()' is deprecated. Use 'editor.commands.addCommand(command)' instead."),console.trace()},b.removeCommand=function(){console.warn("DEPRECATED: 'canon.removeCommand()' is deprecated. Use 'editor.commands.removeCommand(command)' instead."),console.trace()}})
|
||||
|
|
@ -478,13 +478,3 @@ ace.define('pilot/canon', ['require', 'exports', 'module' ], function(require, e
|
|||
console.trace();
|
||||
}
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -478,13 +478,3 @@ define('pilot/canon', ['require', 'exports', 'module' ], function(require, expor
|
|||
console.trace();
|
||||
}
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
define("pilot/index",["require","exports","module","pilot/browser_focus","pilot/dom","pilot/event","pilot/event_emitter","pilot/fixoldbrowsers","pilot/keys","pilot/lang","pilot/oop","pilot/useragent","pilot/canon"],function(a,b,c){a("pilot/browser_focus"),a("pilot/dom"),a("pilot/event"),a("pilot/event_emitter"),a("pilot/fixoldbrowsers"),a("pilot/keys"),a("pilot/lang"),a("pilot/oop"),a("pilot/useragent"),a("pilot/canon")}),define("pilot/browser_focus",["require","exports","module","ace/lib/browser_focus"],function(a,b,c){console.warn("DEPRECATED: 'pilot/browser_focus' is deprecated. Use 'ace/lib/browser_focus' instead"),c.exports=a("ace/lib/browser_focus")}),define("pilot/dom",["require","exports","module","ace/lib/dom"],function(a,b,c){console.warn("DEPRECATED: 'pilot/dom' is deprecated. Use 'ace/lib/dom' instead"),c.exports=a("ace/lib/dom")}),define("pilot/event",["require","exports","module","ace/lib/event"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event' is deprecated. Use 'ace/lib/event' instead"),c.exports=a("ace/lib/event")}),define("pilot/event_emitter",["require","exports","module","ace/lib/event_emitter"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event_emitter' is deprecated. Use 'ace/lib/event_emitter' instead"),c.exports=a("ace/lib/event_emitter")}),define("pilot/fixoldbrowsers",["require","exports","module","ace/lib/fixoldbrowsers"],function(a,b,c){console.warn("DEPRECATED: 'pilot/fixoldbrowsers' is deprecated. Use 'ace/lib/fixoldbrowsers' instead"),c.exports=a("ace/lib/fixoldbrowsers")}),define("pilot/keys",["require","exports","module","ace/lib/keys"],function(a,b,c){console.warn("DEPRECATED: 'pilot/keys' is deprecated. Use 'ace/lib/keys' instead"),c.exports=a("ace/lib/keys")}),define("pilot/lang",["require","exports","module","ace/lib/lang"],function(a,b,c){console.warn("DEPRECATED: 'pilot/lang' is deprecated. Use 'ace/lib/lang' instead"),c.exports=a("ace/lib/lang")}),define("pilot/oop",["require","exports","module","ace/lib/oop"],function(a,b,c){console.warn("DEPRECATED: 'pilot/oop' is deprecated. Use 'ace/lib/oop' instead"),c.exports=a("ace/lib/oop")}),define("pilot/useragent",["require","exports","module","ace/lib/useragent"],function(a,b,c){console.warn("DEPRECATED: 'pilot/useragent' is deprecated. Use 'ace/lib/useragent' instead"),c.exports=a("ace/lib/useragent")}),define("pilot/canon",["require","exports","module"],function(a,b,c){console.warn("DEPRECATED: 'pilot/canon' is deprecated."),b.addCommand=function(){console.warn("DEPRECATED: 'canon.addCommand()' is deprecated. Use 'editor.commands.addCommand(command)' instead."),console.trace()},b.removeCommand=function(){console.warn("DEPRECATED: 'canon.removeCommand()' is deprecated. Use 'editor.commands.removeCommand(command)' instead."),console.trace()}}),function(){window.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
define("pilot/index",["require","exports","module","pilot/browser_focus","pilot/dom","pilot/event","pilot/event_emitter","pilot/fixoldbrowsers","pilot/keys","pilot/lang","pilot/oop","pilot/useragent","pilot/canon"],function(a,b,c){a("pilot/browser_focus"),a("pilot/dom"),a("pilot/event"),a("pilot/event_emitter"),a("pilot/fixoldbrowsers"),a("pilot/keys"),a("pilot/lang"),a("pilot/oop"),a("pilot/useragent"),a("pilot/canon")}),define("pilot/browser_focus",["require","exports","module","ace/lib/browser_focus"],function(a,b,c){console.warn("DEPRECATED: 'pilot/browser_focus' is deprecated. Use 'ace/lib/browser_focus' instead"),c.exports=a("ace/lib/browser_focus")}),define("pilot/dom",["require","exports","module","ace/lib/dom"],function(a,b,c){console.warn("DEPRECATED: 'pilot/dom' is deprecated. Use 'ace/lib/dom' instead"),c.exports=a("ace/lib/dom")}),define("pilot/event",["require","exports","module","ace/lib/event"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event' is deprecated. Use 'ace/lib/event' instead"),c.exports=a("ace/lib/event")}),define("pilot/event_emitter",["require","exports","module","ace/lib/event_emitter"],function(a,b,c){console.warn("DEPRECATED: 'pilot/event_emitter' is deprecated. Use 'ace/lib/event_emitter' instead"),c.exports=a("ace/lib/event_emitter")}),define("pilot/fixoldbrowsers",["require","exports","module","ace/lib/fixoldbrowsers"],function(a,b,c){console.warn("DEPRECATED: 'pilot/fixoldbrowsers' is deprecated. Use 'ace/lib/fixoldbrowsers' instead"),c.exports=a("ace/lib/fixoldbrowsers")}),define("pilot/keys",["require","exports","module","ace/lib/keys"],function(a,b,c){console.warn("DEPRECATED: 'pilot/keys' is deprecated. Use 'ace/lib/keys' instead"),c.exports=a("ace/lib/keys")}),define("pilot/lang",["require","exports","module","ace/lib/lang"],function(a,b,c){console.warn("DEPRECATED: 'pilot/lang' is deprecated. Use 'ace/lib/lang' instead"),c.exports=a("ace/lib/lang")}),define("pilot/oop",["require","exports","module","ace/lib/oop"],function(a,b,c){console.warn("DEPRECATED: 'pilot/oop' is deprecated. Use 'ace/lib/oop' instead"),c.exports=a("ace/lib/oop")}),define("pilot/useragent",["require","exports","module","ace/lib/useragent"],function(a,b,c){console.warn("DEPRECATED: 'pilot/useragent' is deprecated. Use 'ace/lib/useragent' instead"),c.exports=a("ace/lib/useragent")}),define("pilot/canon",["require","exports","module"],function(a,b,c){console.warn("DEPRECATED: 'pilot/canon' is deprecated."),b.addCommand=function(){console.warn("DEPRECATED: 'canon.addCommand()' is deprecated. Use 'editor.commands.addCommand(command)' instead."),console.trace()},b.removeCommand=function(){console.warn("DEPRECATED: 'canon.removeCommand()' is deprecated. Use 'editor.commands.removeCommand(command)' instead."),console.trace()}})
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -40,7 +40,7 @@
|
|||
* @param module a name for the payload
|
||||
* @param payload a function to call with (require, exports, module) params
|
||||
*/
|
||||
|
||||
|
||||
(function() {
|
||||
|
||||
var ACE_NAMESPACE = "ace";
|
||||
|
|
@ -49,9 +49,6 @@ var global = (function() {
|
|||
return this;
|
||||
})();
|
||||
|
||||
if (typeof requirejs !== "undefined")
|
||||
return;
|
||||
|
||||
var _define = function(module, deps, payload) {
|
||||
if (typeof module !== 'string') {
|
||||
if (_define.original)
|
||||
|
|
@ -68,7 +65,7 @@ var _define = function(module, deps, payload) {
|
|||
|
||||
if (!_define.modules)
|
||||
_define.modules = {};
|
||||
|
||||
|
||||
_define.modules[module] = payload;
|
||||
};
|
||||
|
||||
|
|
@ -92,11 +89,11 @@ var _require = function(parentId, module, callback) {
|
|||
var payload = lookup(parentId, module);
|
||||
if (!payload && _require.original)
|
||||
return _require.original.apply(window, arguments);
|
||||
|
||||
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
|
||||
|
||||
return payload;
|
||||
}
|
||||
else {
|
||||
|
|
@ -115,13 +112,13 @@ var normalizeModule = function(parentId, moduleName) {
|
|||
if (moduleName.charAt(0) == ".") {
|
||||
var base = parentId.split("/").slice(0, -1).join("/");
|
||||
moduleName = base + "/" + moduleName;
|
||||
|
||||
|
||||
while(moduleName.indexOf(".") !== -1 && previous != moduleName) {
|
||||
var previous = moduleName;
|
||||
moduleName = moduleName.replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return moduleName;
|
||||
};
|
||||
|
||||
|
|
@ -141,19 +138,19 @@ var lookup = function(parentId, moduleName) {
|
|||
if (typeof module === 'function') {
|
||||
var exports = {};
|
||||
var mod = {
|
||||
id: moduleName,
|
||||
id: moduleName,
|
||||
uri: '',
|
||||
exports: exports,
|
||||
packaged: true
|
||||
};
|
||||
|
||||
|
||||
var req = function(module, callback) {
|
||||
return _require(moduleName, module, callback);
|
||||
};
|
||||
|
||||
|
||||
var returnValue = module(req, exports, mod);
|
||||
exports = returnValue || mod.exports;
|
||||
|
||||
|
||||
// cache the resulting module object for next time
|
||||
_define.modules[moduleName] = exports;
|
||||
return exports;
|
||||
|
|
@ -163,26 +160,44 @@ var lookup = function(parentId, moduleName) {
|
|||
};
|
||||
|
||||
function exportAce(ns) {
|
||||
|
||||
if (typeof requirejs !== "undefined") {
|
||||
|
||||
var define = global.define;
|
||||
global.define = function(id, deps, callback) {
|
||||
if (typeof callback !== "function")
|
||||
return define.apply(this, arguments);
|
||||
|
||||
return ace.define(id, deps, function(require, exports, module) {
|
||||
if (deps[2] == "module")
|
||||
module.packaged = true;
|
||||
return callback.apply(this, arguments);
|
||||
});
|
||||
};
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
var require = function(module, callback) {
|
||||
return _require("", module, callback);
|
||||
};
|
||||
require.packaged = true;
|
||||
|
||||
|
||||
var root = global;
|
||||
if (ns) {
|
||||
if (!global[ns])
|
||||
global[ns] = {};
|
||||
root = global[ns];
|
||||
}
|
||||
|
||||
|
||||
if (root.define)
|
||||
_define.original = root.define;
|
||||
|
||||
|
||||
root.define = _define;
|
||||
|
||||
if (root.require)
|
||||
_require.original = root.require;
|
||||
|
||||
|
||||
root.require = require;
|
||||
}
|
||||
|
||||
|
|
@ -1917,20 +1932,9 @@ else {
|
|||
}
|
||||
|
||||
exports.addMouseWheelListener = function(el, callback) {
|
||||
var max = 0;
|
||||
var factor = 8;
|
||||
var listener = function(e) {
|
||||
if (e.wheelDelta !== undefined) {
|
||||
|
||||
// some versions of Safari (e.g. 5.0.5) report insanely high
|
||||
// scroll values. These browsers require a higher factor
|
||||
if (Math.abs(e.wheelDeltaY) > max)
|
||||
max = Math.abs(e.wheelDeltaY);
|
||||
|
||||
if (max > 5000)
|
||||
var factor = 400;
|
||||
else
|
||||
var factor = 8;
|
||||
|
||||
if (e.wheelDeltaX !== undefined) {
|
||||
e.wheelX = -e.wheelDeltaX / factor;
|
||||
e.wheelY = -e.wheelDeltaY / factor;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
* @param module a name for the payload
|
||||
* @param payload a function to call with (require, exports, module) params
|
||||
*/
|
||||
|
||||
|
||||
(function() {
|
||||
|
||||
var ACE_NAMESPACE = "";
|
||||
|
|
@ -49,9 +49,6 @@ var global = (function() {
|
|||
return this;
|
||||
})();
|
||||
|
||||
if (typeof requirejs !== "undefined")
|
||||
return;
|
||||
|
||||
var _define = function(module, deps, payload) {
|
||||
if (typeof module !== 'string') {
|
||||
if (_define.original)
|
||||
|
|
@ -68,7 +65,7 @@ var _define = function(module, deps, payload) {
|
|||
|
||||
if (!_define.modules)
|
||||
_define.modules = {};
|
||||
|
||||
|
||||
_define.modules[module] = payload;
|
||||
};
|
||||
|
||||
|
|
@ -92,11 +89,11 @@ var _require = function(parentId, module, callback) {
|
|||
var payload = lookup(parentId, module);
|
||||
if (!payload && _require.original)
|
||||
return _require.original.apply(window, arguments);
|
||||
|
||||
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
|
||||
|
||||
return payload;
|
||||
}
|
||||
else {
|
||||
|
|
@ -115,13 +112,13 @@ var normalizeModule = function(parentId, moduleName) {
|
|||
if (moduleName.charAt(0) == ".") {
|
||||
var base = parentId.split("/").slice(0, -1).join("/");
|
||||
moduleName = base + "/" + moduleName;
|
||||
|
||||
|
||||
while(moduleName.indexOf(".") !== -1 && previous != moduleName) {
|
||||
var previous = moduleName;
|
||||
moduleName = moduleName.replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return moduleName;
|
||||
};
|
||||
|
||||
|
|
@ -141,19 +138,19 @@ var lookup = function(parentId, moduleName) {
|
|||
if (typeof module === 'function') {
|
||||
var exports = {};
|
||||
var mod = {
|
||||
id: moduleName,
|
||||
id: moduleName,
|
||||
uri: '',
|
||||
exports: exports,
|
||||
packaged: true
|
||||
};
|
||||
|
||||
|
||||
var req = function(module, callback) {
|
||||
return _require(moduleName, module, callback);
|
||||
};
|
||||
|
||||
|
||||
var returnValue = module(req, exports, mod);
|
||||
exports = returnValue || mod.exports;
|
||||
|
||||
|
||||
// cache the resulting module object for next time
|
||||
_define.modules[moduleName] = exports;
|
||||
return exports;
|
||||
|
|
@ -163,26 +160,44 @@ var lookup = function(parentId, moduleName) {
|
|||
};
|
||||
|
||||
function exportAce(ns) {
|
||||
|
||||
if (typeof requirejs !== "undefined") {
|
||||
|
||||
var define = global.define;
|
||||
global.define = function(id, deps, callback) {
|
||||
if (typeof callback !== "function")
|
||||
return define.apply(this, arguments);
|
||||
|
||||
return define(id, deps, function(require, exports, module) {
|
||||
if (deps[2] == "module")
|
||||
module.packaged = true;
|
||||
return callback.apply(this, arguments);
|
||||
});
|
||||
};
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
var require = function(module, callback) {
|
||||
return _require("", module, callback);
|
||||
};
|
||||
require.packaged = true;
|
||||
|
||||
|
||||
var root = global;
|
||||
if (ns) {
|
||||
if (!global[ns])
|
||||
global[ns] = {};
|
||||
root = global[ns];
|
||||
}
|
||||
|
||||
|
||||
if (root.define)
|
||||
_define.original = root.define;
|
||||
|
||||
|
||||
root.define = _define;
|
||||
|
||||
if (root.require)
|
||||
_require.original = root.require;
|
||||
|
||||
|
||||
root.require = require;
|
||||
}
|
||||
|
||||
|
|
@ -1917,20 +1932,9 @@ else {
|
|||
}
|
||||
|
||||
exports.addMouseWheelListener = function(el, callback) {
|
||||
var max = 0;
|
||||
var factor = 8;
|
||||
var listener = function(e) {
|
||||
if (e.wheelDelta !== undefined) {
|
||||
|
||||
// some versions of Safari (e.g. 5.0.5) report insanely high
|
||||
// scroll values. These browsers require a higher factor
|
||||
if (Math.abs(e.wheelDeltaY) > max)
|
||||
max = Math.abs(e.wheelDeltaY);
|
||||
|
||||
if (max > 5000)
|
||||
var factor = 400;
|
||||
else
|
||||
var factor = 8;
|
||||
|
||||
if (e.wheelDeltaX !== undefined) {
|
||||
e.wheelX = -e.wheelDeltaX / factor;
|
||||
e.wheelY = -e.wheelDeltaY / factor;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
ace.define("ace/keyboard/keybinding/emacs",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f={start:[{key:"ctrl-x",then:"c-x"},{regex:["(?:command-([0-9]*))*","(down|ctrl-n)"],exec:"golinedown",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(right|ctrl-f)"],exec:"gotoright",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(up|ctrl-p)"],exec:"golineup",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(left|ctrl-b)"],exec:"gotoleft",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{comment:"This binding matches all printable characters except numbers as long as they are no numbers and print them n times.",regex:["(?:command-([0-9]*))","([^0-9]+)*"],match:e,exec:"inserttext",params:[{name:"times",match:1,type:"number",defaultValue:"1"},{name:"text",match:2}]},{comment:"This binding matches numbers as long as there is no meta_number in the buffer.",regex:["(command-[0-9]*)*","([0-9]+)"],match:e,disallowMatches:[1],exec:"inserttext",params:[{name:"text",match:2,type:"text"}]},{regex:["command-([0-9]*)","(command-[0-9]|[0-9])"],comment:"Stops execution if the regex /meta_[0-9]+/ matches to avoid resetting the buffer."}],"c-x":[{key:"ctrl-g",then:"start"},{key:"ctrl-s",exec:"save",then:"start"}]};b.Emacs=new d(f)}),ace.define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e}),function(){ace.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
ace.define("ace/keyboard/keybinding/emacs",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f={start:[{key:"ctrl-x",then:"c-x"},{regex:["(?:command-([0-9]*))*","(down|ctrl-n)"],exec:"golinedown",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(right|ctrl-f)"],exec:"gotoright",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(up|ctrl-p)"],exec:"golineup",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(left|ctrl-b)"],exec:"gotoleft",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{comment:"This binding matches all printable characters except numbers as long as they are no numbers and print them n times.",regex:["(?:command-([0-9]*))","([^0-9]+)*"],match:e,exec:"inserttext",params:[{name:"times",match:1,type:"number",defaultValue:"1"},{name:"text",match:2}]},{comment:"This binding matches numbers as long as there is no meta_number in the buffer.",regex:["(command-[0-9]*)*","([0-9]+)"],match:e,disallowMatches:[1],exec:"inserttext",params:[{name:"text",match:2,type:"text"}]},{regex:["command-([0-9]*)","(command-[0-9]|[0-9])"],comment:"Stops execution if the regex /meta_[0-9]+/ matches to avoid resetting the buffer."}],"c-x":[{key:"ctrl-g",then:"start"},{key:"ctrl-s",exec:"save",then:"start"}]};b.Emacs=new d(f)}),ace.define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e})
|
||||
|
|
@ -403,13 +403,3 @@ exports.matchCharacterOnly = function(buffer, hashId, key, symbolicName) {
|
|||
|
||||
exports.StateHandler = StateHandler;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -403,13 +403,3 @@ exports.matchCharacterOnly = function(buffer, hashId, key, symbolicName) {
|
|||
|
||||
exports.StateHandler = StateHandler;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
define("ace/keyboard/keybinding/emacs",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f={start:[{key:"ctrl-x",then:"c-x"},{regex:["(?:command-([0-9]*))*","(down|ctrl-n)"],exec:"golinedown",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(right|ctrl-f)"],exec:"gotoright",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(up|ctrl-p)"],exec:"golineup",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(left|ctrl-b)"],exec:"gotoleft",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{comment:"This binding matches all printable characters except numbers as long as they are no numbers and print them n times.",regex:["(?:command-([0-9]*))","([^0-9]+)*"],match:e,exec:"inserttext",params:[{name:"times",match:1,type:"number",defaultValue:"1"},{name:"text",match:2}]},{comment:"This binding matches numbers as long as there is no meta_number in the buffer.",regex:["(command-[0-9]*)*","([0-9]+)"],match:e,disallowMatches:[1],exec:"inserttext",params:[{name:"text",match:2,type:"text"}]},{regex:["command-([0-9]*)","(command-[0-9]|[0-9])"],comment:"Stops execution if the regex /meta_[0-9]+/ matches to avoid resetting the buffer."}],"c-x":[{key:"ctrl-g",then:"start"},{key:"ctrl-s",exec:"save",then:"start"}]};b.Emacs=new d(f)}),define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e}),function(){window.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
define("ace/keyboard/keybinding/emacs",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f={start:[{key:"ctrl-x",then:"c-x"},{regex:["(?:command-([0-9]*))*","(down|ctrl-n)"],exec:"golinedown",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(right|ctrl-f)"],exec:"gotoright",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(up|ctrl-p)"],exec:"golineup",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(left|ctrl-b)"],exec:"gotoleft",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{comment:"This binding matches all printable characters except numbers as long as they are no numbers and print them n times.",regex:["(?:command-([0-9]*))","([^0-9]+)*"],match:e,exec:"inserttext",params:[{name:"times",match:1,type:"number",defaultValue:"1"},{name:"text",match:2}]},{comment:"This binding matches numbers as long as there is no meta_number in the buffer.",regex:["(command-[0-9]*)*","([0-9]+)"],match:e,disallowMatches:[1],exec:"inserttext",params:[{name:"text",match:2,type:"text"}]},{regex:["command-([0-9]*)","(command-[0-9]|[0-9])"],comment:"Stops execution if the regex /meta_[0-9]+/ matches to avoid resetting the buffer."}],"c-x":[{key:"ctrl-g",then:"start"},{key:"ctrl-s",exec:"save",then:"start"}]};b.Emacs=new d(f)}),define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e})
|
||||
|
|
@ -1 +1 @@
|
|||
ace.define("ace/keyboard/keybinding/vim",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f=function(a,b,c){return{regex:["([0-9]*)",a],exec:b,params:[{name:"times",match:1,type:"number",defaultValue:1}],then:c}},g={start:[{key:"i",then:"insertMode"},{key:"d",then:"deleteMode"},{key:"a",exec:"gotoright",then:"insertMode"},{key:"shift-i",exec:"gotolinestart",then:"insertMode"},{key:"shift-a",exec:"gotolineend",then:"insertMode"},{key:"shift-c",exec:"removetolineend",then:"insertMode"},{key:"shift-r",exec:"overwrite",then:"replaceMode"},f("(k|up)","golineup"),f("(j|down)","golinedown"),f("(l|right)","gotoright"),f("(h|left)","gotoleft"),{key:"shift-g",exec:"gotoend"},f("b","gotowordleft"),f("e","gotowordright"),f("x","del"),f("shift-x","backspace"),f("shift-d","removetolineend"),f("u","undo"),{comment:"Catch some keyboard input to stop it here",match:e}],insertMode:[{key:"esc",then:"start"}],replaceMode:[{key:"esc",exec:"overwrite",then:"start"}],deleteMode:[{key:"d",exec:"removeline",then:"start"}]};b.Vim=new d(g)}),ace.define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e}),function(){ace.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
ace.define("ace/keyboard/keybinding/vim",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f=function(a,b,c){return{regex:["([0-9]*)",a],exec:b,params:[{name:"times",match:1,type:"number",defaultValue:1}],then:c}},g={start:[{key:"i",then:"insertMode"},{key:"d",then:"deleteMode"},{key:"a",exec:"gotoright",then:"insertMode"},{key:"shift-i",exec:"gotolinestart",then:"insertMode"},{key:"shift-a",exec:"gotolineend",then:"insertMode"},{key:"shift-c",exec:"removetolineend",then:"insertMode"},{key:"shift-r",exec:"overwrite",then:"replaceMode"},f("(k|up)","golineup"),f("(j|down)","golinedown"),f("(l|right)","gotoright"),f("(h|left)","gotoleft"),{key:"shift-g",exec:"gotoend"},f("b","gotowordleft"),f("e","gotowordright"),f("x","del"),f("shift-x","backspace"),f("shift-d","removetolineend"),f("u","undo"),{comment:"Catch some keyboard input to stop it here",match:e}],insertMode:[{key:"esc",then:"start"}],replaceMode:[{key:"esc",exec:"overwrite",then:"start"}],deleteMode:[{key:"d",exec:"removeline",then:"start"}]};b.Vim=new d(g)}),ace.define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e})
|
||||
|
|
@ -391,13 +391,3 @@ exports.matchCharacterOnly = function(buffer, hashId, key, symbolicName) {
|
|||
|
||||
exports.StateHandler = StateHandler;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -391,13 +391,3 @@ exports.matchCharacterOnly = function(buffer, hashId, key, symbolicName) {
|
|||
|
||||
exports.StateHandler = StateHandler;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
define("ace/keyboard/keybinding/vim",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f=function(a,b,c){return{regex:["([0-9]*)",a],exec:b,params:[{name:"times",match:1,type:"number",defaultValue:1}],then:c}},g={start:[{key:"i",then:"insertMode"},{key:"d",then:"deleteMode"},{key:"a",exec:"gotoright",then:"insertMode"},{key:"shift-i",exec:"gotolinestart",then:"insertMode"},{key:"shift-a",exec:"gotolineend",then:"insertMode"},{key:"shift-c",exec:"removetolineend",then:"insertMode"},{key:"shift-r",exec:"overwrite",then:"replaceMode"},f("(k|up)","golineup"),f("(j|down)","golinedown"),f("(l|right)","gotoright"),f("(h|left)","gotoleft"),{key:"shift-g",exec:"gotoend"},f("b","gotowordleft"),f("e","gotowordright"),f("x","del"),f("shift-x","backspace"),f("shift-d","removetolineend"),f("u","undo"),{comment:"Catch some keyboard input to stop it here",match:e}],insertMode:[{key:"esc",then:"start"}],replaceMode:[{key:"esc",exec:"overwrite",then:"start"}],deleteMode:[{key:"d",exec:"removeline",then:"start"}]};b.Vim=new d(g)}),define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e}),function(){window.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
define("ace/keyboard/keybinding/vim",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){"use strict";var d=a("../state_handler").StateHandler,e=a("../state_handler").matchCharacterOnly,f=function(a,b,c){return{regex:["([0-9]*)",a],exec:b,params:[{name:"times",match:1,type:"number",defaultValue:1}],then:c}},g={start:[{key:"i",then:"insertMode"},{key:"d",then:"deleteMode"},{key:"a",exec:"gotoright",then:"insertMode"},{key:"shift-i",exec:"gotolinestart",then:"insertMode"},{key:"shift-a",exec:"gotolineend",then:"insertMode"},{key:"shift-c",exec:"removetolineend",then:"insertMode"},{key:"shift-r",exec:"overwrite",then:"replaceMode"},f("(k|up)","golineup"),f("(j|down)","golinedown"),f("(l|right)","gotoright"),f("(h|left)","gotoleft"),{key:"shift-g",exec:"gotoend"},f("b","gotowordleft"),f("e","gotowordright"),f("x","del"),f("shift-x","backspace"),f("shift-d","removetolineend"),f("u","undo"),{comment:"Catch some keyboard input to stop it here",match:e}],insertMode:[{key:"esc",then:"start"}],replaceMode:[{key:"esc",exec:"overwrite",then:"start"}],deleteMode:[{key:"d",exec:"removeline",then:"start"}]};b.Vim=new d(g)}),define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}"use strict";var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a[b]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var e=[];b&1&&e.push("ctrl"),b&8&&e.push("command"),b&2&&e.push("option"),b&4&&e.push("shift"),c&&e.push(c);var f=e.join("-"),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping[a.state].some(function(i){var j;if(i.key&&!i.key.test(c))return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k<i.disallowMatches.length;k++)if(!!j[i.disallowMatches[k]])return!1;if(i.exec){h.command=i.exec;if(i.params){var l;h.args={},i.params.forEach(function(a){a.match!=null&&j!=null?l=j[a.match]||a.defaultValue:l=a.defaultValue,a.type==="number"&&(l=parseInt(l)),h.args[a.name]=l})}a.buffer=""}return i.then&&(a.state=i.then,a.buffer=""),h.command==null&&(h.command="null"),d&&console.log("KeyboardStateMapper#find",i),!0}),h.command?h:(a.buffer="",!1)},handleKeyboard:function(a,b,c,e,f){if(b==0||c!=""&&c!=String.fromCharCode(0)){var g=this.$composeBuffer(a,b,c,f),h=g.bufferToUse,i=g.symbolicName,j=g.keyIdentifier;return g=this.$find(a,h,i,b,c,j),d&&console.log("KeyboardStateMapper#match",h,i,g),g}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e})
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -916,13 +916,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -916,13 +916,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -420,13 +420,3 @@ var MatchingParensOutdent = function() {};
|
|||
|
||||
exports.MatchingParensOutdent = MatchingParensOutdent;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -420,13 +420,3 @@ var MatchingParensOutdent = function() {};
|
|||
|
||||
exports.MatchingParensOutdent = MatchingParensOutdent;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -792,13 +792,3 @@ var WorkerClient = function(topLevelNamespaces, packagedJs, mod, classname) {
|
|||
exports.WorkerClient = WorkerClient;
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -792,13 +792,3 @@ var WorkerClient = function(topLevelNamespaces, packagedJs, mod, classname) {
|
|||
exports.WorkerClient = WorkerClient;
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2531,13 +2531,3 @@ oop.inherits(ColdfusionHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.ColdfusionHighlightRules = ColdfusionHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -2531,13 +2531,3 @@ oop.inherits(ColdfusionHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.ColdfusionHighlightRules = ColdfusionHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -766,13 +766,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -766,13 +766,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -851,13 +851,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -851,13 +851,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1450,13 +1450,3 @@ oop.inherits(GroovyHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.GroovyHighlightRules = GroovyHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1450,13 +1450,3 @@ oop.inherits(GroovyHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.GroovyHighlightRules = GroovyHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -766,13 +766,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -766,13 +766,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2546,13 +2546,4 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|||
|
||||
}).call(FoldMode.prototype);
|
||||
|
||||
});;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
});
|
||||
|
|
@ -2546,13 +2546,4 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|||
|
||||
}).call(FoldMode.prototype);
|
||||
|
||||
});;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
});
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1452,13 +1452,3 @@ oop.inherits(JavaHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.JavaHighlightRules = JavaHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1452,13 +1452,3 @@ oop.inherits(JavaHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.JavaHighlightRules = JavaHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1283,13 +1283,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1283,13 +1283,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -677,13 +677,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -677,13 +677,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
ace.define("ace/mode/latex",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/latex_highlight_rules","ace/range"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text").Mode,f=a("../tokenizer").Tokenizer,g=a("./latex_highlight_rules").LatexHighlightRules,h=a("../range").Range,i=function(){this.$tokenizer=new f((new g).getRules())};d.inherits(i,e),function(){this.toggleCommentLines=function(a,b,c,d){var e=!0,f=/^(\s*)\%/;for(var g=c;g<=d;g++)if(!f.test(b.getLine(g))){e=!1;break}if(e){var i=new h(0,0,0,0);for(var g=c;g<=d;g++){var j=b.getLine(g),k=j.match(f);i.start.row=g,i.end.row=g,i.end.column=k[0].length,b.replace(i,k[1])}}else b.indentRows(c,d,"%")},this.getNextLineIndent=function(a,b,c){return this.$getIndent(b)}}.call(i.prototype),b.Mode=i}),ace.define("ace/mode/latex_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text_highlight_rules").TextHighlightRules,f=function(){this.$rules={start:[{token:"keyword",regex:"\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"string",regex:"\\$(?:(?:\\\\.)|(?:[^\\$\\\\]))*?\\$"},{token:"comment",regex:"%.*$"}]}};d.inherits(f,e),b.LatexHighlightRules=f}),function(){ace.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
ace.define("ace/mode/latex",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/latex_highlight_rules","ace/range"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text").Mode,f=a("../tokenizer").Tokenizer,g=a("./latex_highlight_rules").LatexHighlightRules,h=a("../range").Range,i=function(){this.$tokenizer=new f((new g).getRules())};d.inherits(i,e),function(){this.toggleCommentLines=function(a,b,c,d){var e=!0,f=/^(\s*)\%/;for(var g=c;g<=d;g++)if(!f.test(b.getLine(g))){e=!1;break}if(e){var i=new h(0,0,0,0);for(var g=c;g<=d;g++){var j=b.getLine(g),k=j.match(f);i.start.row=g,i.end.row=g,i.end.column=k[0].length,b.replace(i,k[1])}}else b.indentRows(c,d,"%")},this.getNextLineIndent=function(a,b,c){return this.$getIndent(b)}}.call(i.prototype),b.Mode=i}),ace.define("ace/mode/latex_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text_highlight_rules").TextHighlightRules,f=function(){this.$rules={start:[{token:"keyword",regex:"\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"string",regex:"\\$(?:(?:\\\\.)|(?:[^\\$\\\\]))*?\\$"},{token:"comment",regex:"%.*$"}]}};d.inherits(f,e),b.LatexHighlightRules=f})
|
||||
|
|
@ -93,13 +93,3 @@ oop.inherits(LatexHighlightRules, TextHighlightRules);
|
|||
exports.LatexHighlightRules = LatexHighlightRules;
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -93,13 +93,3 @@ oop.inherits(LatexHighlightRules, TextHighlightRules);
|
|||
exports.LatexHighlightRules = LatexHighlightRules;
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
define("ace/mode/latex",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/latex_highlight_rules","ace/range"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text").Mode,f=a("../tokenizer").Tokenizer,g=a("./latex_highlight_rules").LatexHighlightRules,h=a("../range").Range,i=function(){this.$tokenizer=new f((new g).getRules())};d.inherits(i,e),function(){this.toggleCommentLines=function(a,b,c,d){var e=!0,f=/^(\s*)\%/;for(var g=c;g<=d;g++)if(!f.test(b.getLine(g))){e=!1;break}if(e){var i=new h(0,0,0,0);for(var g=c;g<=d;g++){var j=b.getLine(g),k=j.match(f);i.start.row=g,i.end.row=g,i.end.column=k[0].length,b.replace(i,k[1])}}else b.indentRows(c,d,"%")},this.getNextLineIndent=function(a,b,c){return this.$getIndent(b)}}.call(i.prototype),b.Mode=i}),define("ace/mode/latex_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text_highlight_rules").TextHighlightRules,f=function(){this.$rules={start:[{token:"keyword",regex:"\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"string",regex:"\\$(?:(?:\\\\.)|(?:[^\\$\\\\]))*?\\$"},{token:"comment",regex:"%.*$"}]}};d.inherits(f,e),b.LatexHighlightRules=f}),function(){window.require(["ace/ace"],function(a){window.ace||(window.ace={});for(var b in a)a.hasOwnProperty(b)&&(ace[b]=a[b])})}()
|
||||
define("ace/mode/latex",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/latex_highlight_rules","ace/range"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text").Mode,f=a("../tokenizer").Tokenizer,g=a("./latex_highlight_rules").LatexHighlightRules,h=a("../range").Range,i=function(){this.$tokenizer=new f((new g).getRules())};d.inherits(i,e),function(){this.toggleCommentLines=function(a,b,c,d){var e=!0,f=/^(\s*)\%/;for(var g=c;g<=d;g++)if(!f.test(b.getLine(g))){e=!1;break}if(e){var i=new h(0,0,0,0);for(var g=c;g<=d;g++){var j=b.getLine(g),k=j.match(f);i.start.row=g,i.end.row=g,i.end.column=k[0].length,b.replace(i,k[1])}}else b.indentRows(c,d,"%")},this.getNextLineIndent=function(a,b,c){return this.$getIndent(b)}}.call(i.prototype),b.Mode=i}),define("ace/mode/latex_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text_highlight_rules").TextHighlightRules,f=function(){this.$rules={start:[{token:"keyword",regex:"\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"string",regex:"\\$(?:(?:\\\\.)|(?:[^\\$\\\\]))*?\\$"},{token:"comment",regex:"%.*$"}]}};d.inherits(f,e),b.LatexHighlightRules=f})
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -521,13 +521,3 @@ oop.inherits(LuaHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.LuaHighlightRules = LuaHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -521,13 +521,3 @@ oop.inherits(LuaHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.LuaHighlightRules = LuaHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2988,13 +2988,4 @@ var MarkdownHighlightRules = function() {
|
|||
oop.inherits(MarkdownHighlightRules, TextHighlightRules);
|
||||
|
||||
exports.MarkdownHighlightRules = MarkdownHighlightRules;
|
||||
});;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
});
|
||||
|
|
@ -2988,13 +2988,4 @@ var MarkdownHighlightRules = function() {
|
|||
oop.inherits(MarkdownHighlightRules, TextHighlightRules);
|
||||
|
||||
exports.MarkdownHighlightRules = MarkdownHighlightRules;
|
||||
});;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
});
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -537,13 +537,3 @@ var MatchingBraceOutdent = function() {};
|
|||
|
||||
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -537,13 +537,3 @@ var MatchingBraceOutdent = function() {};
|
|||
|
||||
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -571,13 +571,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -571,13 +571,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1105,13 +1105,3 @@ oop.inherits(PythonHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.PythonHighlightRules = PythonHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1105,13 +1105,3 @@ oop.inherits(PythonHighlightRules, TextHighlightRules);
|
|||
|
||||
exports.PythonHighlightRules = PythonHighlightRules;
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1882,13 +1882,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -1882,13 +1882,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -704,13 +704,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -704,13 +704,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -504,13 +504,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
ace.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
@ -504,13 +504,3 @@ var FoldMode = exports.FoldMode = function() {};
|
|||
}).call(FoldMode.prototype);
|
||||
|
||||
});
|
||||
;
|
||||
(function() {
|
||||
window.require(["ace/ace"], function(a) {
|
||||
if (!window.ace)
|
||||
window.ace = {};
|
||||
for (var key in a) if (a.hasOwnProperty(key))
|
||||
ace[key] = a[key];
|
||||
});
|
||||
})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue