resin 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/amber/css/amber-normalize.css +468 -0
- data/amber/css/amber-normalize.less +501 -0
- data/amber/css/amber.css +9 -6
- data/amber/js/IDE.deploy.js +443 -440
- data/amber/js/IDE.js +704 -701
- data/amber/js/Kernel-Collections.deploy.js +399 -363
- data/amber/js/Kernel-Collections.js +466 -415
- data/amber/js/Kernel-Objects.deploy.js +55 -10
- data/amber/js/Kernel-Objects.js +80 -15
- data/amber/js/Kernel-Tests.deploy.js +216 -166
- data/amber/js/Kernel-Tests.js +266 -196
- data/amber/js/amber.js +7 -2
- data/amber/js/init.js +2 -1
- data/amber/st/IDE.st +362 -360
- data/amber/st/Kernel-Collections.st +85 -62
- data/amber/st/Kernel-Objects.st +29 -2
- data/amber/st/Kernel-Tests.st +63 -38
- metadata +20 -18
data/amber/js/amber.js
CHANGED
@@ -12,7 +12,6 @@ amber = (function() {
|
|
12
12
|
var scripts = document.getElementsByTagName("script");
|
13
13
|
var src = scripts[ scripts.length - 1 ].src;
|
14
14
|
var home = src.split("/").slice(0, -2).join("/") + "/";
|
15
|
-
var nocache = '?' + (new Date()).getTime();
|
16
15
|
|
17
16
|
var debug;
|
18
17
|
var deploy;
|
@@ -20,6 +19,7 @@ amber = (function() {
|
|
20
19
|
var spec;
|
21
20
|
var jsToLoad = [];
|
22
21
|
var loadJS;
|
22
|
+
var nocache = '';
|
23
23
|
|
24
24
|
that.toggleIDE = function() {
|
25
25
|
if ($('#jtalk').length == 0) {
|
@@ -205,7 +205,12 @@ amber = (function() {
|
|
205
205
|
};
|
206
206
|
|
207
207
|
function loadJSViaJQuery(url, callback) {
|
208
|
-
$.
|
208
|
+
$.ajax({
|
209
|
+
dataType: "script",
|
210
|
+
url: jsToLoad[0],
|
211
|
+
cache: deploy,
|
212
|
+
success: callback
|
213
|
+
});
|
209
214
|
};
|
210
215
|
|
211
216
|
function writeScriptTag(src) {
|