Herbert Vojčík 9 年 前
コミット
48c1179a97
3 ファイル変更15 行追加4 行削除
  1. 4 3
      bower.json
  2. 10 1
      src/Silk-Tests.js
  3. 1 0
      src/Silk-Tests.st

+ 4 - 3
bower.json

@@ -27,12 +27,13 @@
   ],
   "private": false,
   "dependencies": {
-    "amber": ">=0.14.13",
+    "amber": ">=0.14.15",
     "amber-contrib-domite": "^0.3.1"
   },
   "devDependencies": {
     "amber-ide-starter-dialog": "^0.1.0",
-    "amber-contrib-legacy": "^0.2.0",
-    "helios": "^0.4.3"
+    "amber-contrib-jquery": ">=0.1.0",
+    "amber-contrib-legacy": "^0.2.1",
+    "helios": ">=0.5.0"
   }
 }

+ 10 - 1
src/Silk-Tests.js

@@ -1,7 +1,16 @@
-define("silk/Silk-Tests", ["amber/boot", "amber/domite/DOMite-Tests", "amber_core/SUnit"], function($boot){
+define("silk/Silk-Tests", ["amber/boot"
+//>>excludeStart("imports", pragmas.excludeImports);
+, "amber/jquery/Wrappers-JQuery"
+//>>excludeEnd("imports");
+, "amber/domite/DOMite-Tests", "amber_core/SUnit"], function($boot
+//>>excludeStart("imports", pragmas.excludeImports);
+
+//>>excludeEnd("imports");
+){
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('Silk-Tests');
 $core.packages["Silk-Tests"].innerEval = function (expr) { return eval(expr); };
+$core.packages["Silk-Tests"].imports = ["amber/jquery/Wrappers-JQuery"];
 $core.packages["Silk-Tests"].transport = {"type":"amd","amdNamespace":"silk"};
 
 $core.addClass('SilkInheritedTest', $globals.DOMiteTest, [], 'Silk-Tests');

+ 1 - 0
src/Silk-Tests.st

@@ -1,4 +1,5 @@
 Smalltalk createPackage: 'Silk-Tests'!
+(Smalltalk packageAt: 'Silk-Tests') imports: {'amber/jquery/Wrappers-JQuery'}!
 DOMiteTest subclass: #SilkInheritedTest
 	instanceVariableNames: ''
 	package: 'Silk-Tests'!