Fixing returning from source to visual editor after edit
[fnpeditor.git] / tests / main.js
index 8a093d9..9614d72 100644 (file)
@@ -9,7 +9,22 @@
     require({\r
       baseUrl: '/base/',\r
       deps: tests,\r
     require({\r
       baseUrl: '/base/',\r
       deps: tests,\r
-      callback: window.__karma__.start\r
+      callback: window.__karma__.start,\r
+        shim: {\r
+            'libs/jquery-1.9.1.min': {\r
+                exports: '$',\r
+            },\r
+            'libs/underscore-min': {\r
+                exports: '_'\r
+            },\r
+            'libs/bootstrap/js/bootstrap.min': {\r
+                deps: ['libs/jquery-1.9.1.min']\r
+            },\r
+            'libs/backbone-min': {\r
+                exports: 'Backbone',\r
+                deps: ['libs/jquery-1.9.1.min', 'libs/underscore-min']\r
+            }\r
+        }\r
     });\r
 \r
 })();
\ No newline at end of file
     });\r
 \r
 })();
\ No newline at end of file