/** * Ajax.org Code Editor (ACE) * * @copyright 2010, Ajax.org Services B.V. * @license LGPLv3 * @author Fabian Jakobs */ if (!require.def) require.def = require("requireJS-node")(module); require.def("ace/lib/oop", function() { var oop = {}; oop.inherits = function(ctor, superCtor) { var tempCtor = function() {}; tempCtor.prototype = superCtor.prototype; ctor.super_ = superCtor.prototype; ctor.prototype = new tempCtor(); ctor.prototype.constructor = ctor; }; oop.mixin = function(obj, mixin) { for (var key in mixin) { obj[key] = mixin[key]; } }; oop.implement = function(proto, mixin) { oop.mixin(proto, mixin); }; return oop; });