Browse Source

IDEs use Web-JQuery.

Herby Vojčík 5 years ago
parent
commit
cb43cf056e
3 changed files with 4 additions and 4 deletions
  1. 1 1
      package.json
  2. 2 2
      src/IDE.js
  3. 1 1
      src/IDE.st

+ 1 - 1
package.json

@@ -27,7 +27,7 @@
     "test": "grunt test"
     "test": "grunt test"
   },
   },
   "dependencies": {
   "dependencies": {
-    "@ambers/contrib-web": ">=0.7.1",
+    "@ambers/contrib-web": ">=0.7.3",
     "@ambers/lang": ">0.23.0",
     "@ambers/lang": ">0.23.0",
     "codemirror": ">=5.44.0",
     "codemirror": ">=5.44.0",
     "jquery-ui-dist": ">=1.9.2",
     "jquery-ui-dist": ">=1.9.2",

+ 2 - 2
src/IDE.js

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

+ 1 - 1
src/IDE.st

@@ -1,5 +1,5 @@
 Smalltalk createPackage: 'IDE'!
 Smalltalk createPackage: 'IDE'!
-(Smalltalk packageAt: 'IDE' ifAbsent: [ self error: 'Package not created: IDE' ]) imports: {'codeMirrorLib' -> 'codemirror/lib/codemirror'. 'amber/core/Platform-Services'. 'codemirror/addon/hint/show-hint'. 'codemirror/mode/smalltalk/smalltalk'. 'css!!./resources/amber'. 'css!!codemirror/addon/hint/show-hint'. 'css!!codemirror/lib/codemirror'. 'css!!codemirror/theme/ambiance'. 'jquery-ui'}!
+(Smalltalk packageAt: 'IDE' ifAbsent: [ self error: 'Package not created: IDE' ]) imports: {'codeMirrorLib' -> 'codemirror/lib/codemirror'. 'amber/core/Platform-Services'. 'amber/web/Web-JQuery'. 'codemirror/addon/hint/show-hint'. 'codemirror/mode/smalltalk/smalltalk'. 'css!!./resources/amber'. 'css!!codemirror/addon/hint/show-hint'. 'css!!codemirror/lib/codemirror'. 'css!!codemirror/theme/ambiance'. 'jquery-ui'}!
 Widget subclass: #ClassesList
 Widget subclass: #ClassesList
 	slots: {#browser. #ul. #nodes}
 	slots: {#browser. #ul. #nodes}
 	package: 'IDE'!
 	package: 'IDE'!