|
@@ -1,14 +1,11 @@
|
|
|
-//>>excludeStart("imports", pragmas.excludeImports);
|
|
|
-require(["codemirror/lib/codemirror", "amber_core/Platform-Services", "codemirror/addon/hint/show-hint", "codemirror/mode/smalltalk/smalltalk", "css!amber/legacy/resources/amber", "css!codemirror/addon/hint/show-hint", "css!codemirror/lib/codemirror", "css!codemirror/theme/ambiance", "jquery-ui"]);
|
|
|
-//>>excludeEnd("imports");
|
|
|
-define(["amber/boot", "amber/web/Web", "amber_core/Kernel-Objects"], function($boot){"use strict";
|
|
|
+define(["amber/boot", "require", "amber/web/Web", "amber_core/Kernel-Objects"], function($boot,$require){"use strict";
|
|
|
var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
|
|
|
var $pkg = $core.addPackage("IDE");
|
|
|
$pkg.innerEval = function (expr) { return eval(expr); };
|
|
|
$pkg.imports = ["codeMirrorLib=codemirror/lib/codemirror", "amber_core/Platform-Services", "codemirror/addon/hint/show-hint", "codemirror/mode/smalltalk/smalltalk", "css!amber/legacy/resources/amber", "css!codemirror/addon/hint/show-hint", "css!codemirror/lib/codemirror", "css!codemirror/theme/ambiance", "jquery-ui"];
|
|
|
//>>excludeStart("imports", pragmas.excludeImports);
|
|
|
var codeMirrorLib;
|
|
|
-$pkg.isReady = new Promise(function (resolve, reject) { require(["codemirror/lib/codemirror", "amber_core/Platform-Services", "codemirror/addon/hint/show-hint", "codemirror/mode/smalltalk/smalltalk", "css!amber/legacy/resources/amber", "css!codemirror/addon/hint/show-hint", "css!codemirror/lib/codemirror", "css!codemirror/theme/ambiance", "jquery-ui"], function ($1) {codeMirrorLib=$1; resolve();}, reject); });
|
|
|
+$pkg.isReady = new Promise(function (resolve, reject) { $require(["codemirror/lib/codemirror", "amber_core/Platform-Services", "codemirror/addon/hint/show-hint", "codemirror/mode/smalltalk/smalltalk", "css!amber/legacy/resources/amber", "css!codemirror/addon/hint/show-hint", "css!codemirror/lib/codemirror", "css!codemirror/theme/ambiance", "jquery-ui"], function ($1) {codeMirrorLib=$1; resolve();}, reject); });
|
|
|
//>>excludeEnd("imports");
|
|
|
$pkg.transport = {"type":"amd","amdNamespace":"amber/legacy"};
|
|
|
|