@ambers/contrib-legacy
Advanced tools
Comparing version
{ | ||
"paths": { | ||
"codemirror": "." | ||
}, | ||
"shim": { | ||
"codemirror/lib/codemirror": { | ||
"deps": [ "css!codemirror/lib/codemirror" ] | ||
} | ||
"paths": { | ||
"codemirror": "." | ||
}, | ||
"shim": { | ||
"codemirror/lib/codemirror": { | ||
"deps": [ | ||
"css!codemirror/lib/codemirror" | ||
] | ||
} | ||
} | ||
} |
@@ -77,3 +77,3 @@ 'use strict'; | ||
"app": '(' + polyfillThenPromiseApp + '());', | ||
"__app__": 'define(["deploy", "amber_core/Platform-Browser"],function(x){return x});' | ||
"__app__": 'define(["deploy", "amber/core/Platform-Browser"],function(x){return x});' | ||
}, | ||
@@ -84,3 +84,4 @@ pragmas: { | ||
}, | ||
include: ['config', 'node_modules/requirejs/require', 'app', 'amber/lazypack', '__app__'], | ||
include: ['config', 'node_modules/requirejs/require', 'app'], | ||
findNestedDependencies: true, | ||
optimize: "uglify2", | ||
@@ -95,6 +96,6 @@ out: "the.js" | ||
"app": '(' + polyfillThenPromiseApp + '());', | ||
"__app__": 'define(["devel", "amber_core/Platform-Browser"],function(x){return x});' | ||
"__app__": 'define(["devel", "amber/core/Platform-Browser"],function(x){return x});' | ||
}, | ||
include: ['config', 'node_modules/requirejs/require', 'app', '__app__'], | ||
exclude: ['devel'], | ||
exclude: ['devel', 'amber/core/Platform-Browser'], | ||
out: "the.js" | ||
@@ -109,3 +110,3 @@ } | ||
"__app__": "(" + function () { | ||
define(["testing", "amber_core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) { | ||
define(["testing", "amber/core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) { | ||
amber.initialize().then(function () { | ||
@@ -122,3 +123,4 @@ amber.globals.NodeTestRunner._main(); | ||
}, | ||
include: ['app', 'amber/lazypack', '__app__'], | ||
include: ['app'], | ||
findNestedDependencies: true, | ||
insertRequire: ['app'], | ||
@@ -125,0 +127,0 @@ optimize: "none", |
{ | ||
"paths": { | ||
"jquery-ui": ["jquery-ui", "ui/jquery-ui"] | ||
}, | ||
"shim": { | ||
"jquery-ui": { | ||
"deps": [ "jquery" ] | ||
} | ||
"paths": { | ||
"jquery-ui": [ | ||
"jquery-ui", | ||
"ui/jquery-ui" | ||
] | ||
}, | ||
"shim": { | ||
"jquery-ui": { | ||
"deps": [ | ||
"jquery" | ||
] | ||
} | ||
} | ||
} |
@@ -5,11 +5,3 @@ { | ||
"amber/legacy/resources": "resources" | ||
}, | ||
"map": { | ||
"*": { | ||
"00comment": "These are backward compatibility pointers.", | ||
"amber-attic/Benchfib": "amber/legacy/Benchfib", | ||
"amber-attic/Examples": "amber/legacy/Examples", | ||
"amber-attic/IDE": "amber/legacy/IDE" | ||
} | ||
} | ||
} |
@@ -5,3 +5,3 @@ { | ||
"description": "Legacy IDE and a few other old non-core packages", | ||
"version": "0.7.3", | ||
"version": "0.8.0", | ||
"homepage": "https://lolg.it/amber/amber-contrib-legacy", | ||
@@ -32,4 +32,4 @@ "repository": { | ||
"@ambers/contrib-web": ">=0.6.0", | ||
"@ambers/lang": ">=0.22.2", | ||
"codemirror": "^5.39.2", | ||
"@ambers/lang": ">0.22.6", | ||
"codemirror": ">=5.39.2 <5.43.0", | ||
"jquery-ui-dist": ">=1.9.2", | ||
@@ -41,3 +41,3 @@ "require-css": "^0.1.10" | ||
"@ambers/ide-starter-modal": "^0.2.0", | ||
"@ambers/sdk": "^0.10.7", | ||
"@ambers/sdk": "^0.12.0", | ||
"es6-promise": "^4.2.4", | ||
@@ -44,0 +44,0 @@ "grunt": "^1.0.3", |
{ | ||
"paths": { | ||
"require-css": "." | ||
}, | ||
"map": { | ||
"*": { | ||
"css": "require-css/css" | ||
} | ||
"paths": { | ||
"require-css": "." | ||
}, | ||
"map": { | ||
"*": { | ||
"css": "require-css/css" | ||
} | ||
} | ||
} |
@@ -1,3 +0,2 @@ | ||
define(["amber/boot", "amber_core/Kernel-Objects"], function($boot){"use strict"; | ||
if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver; | ||
define(["amber/boot", "require", "amber/core/Kernel-Objects"], function($boot,requirejs){"use strict"; | ||
var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals; | ||
@@ -4,0 +3,0 @@ var $pkg = $core.addPackage("Benchfib"); |
@@ -1,3 +0,2 @@ | ||
define(["amber/boot", "amber/web/Web"], function($boot){"use strict"; | ||
if(!("nilAsValue" in $boot))$boot.nilAsValue=$boot.nilAsReceiver; | ||
define(["amber/boot", "require", "amber/web/Web"], function($boot,requirejs){"use strict"; | ||
var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals; | ||
@@ -21,8 +20,8 @@ var $pkg = $core.addPackage("Examples"); | ||
//>>excludeEnd("ctx"); | ||
$self["@count"]=$recv($self["@count"]).__minus((1)); | ||
$recv($self["@header"])._contents_((function(html){ | ||
$self.count=$recv($self.count).__minus((1)); | ||
$recv($self.header)._contents_((function(html){ | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
return $core.withContext(function($ctx2) { | ||
//>>excludeEnd("ctx"); | ||
return $recv(html)._with_($recv($self["@count"])._asString()); | ||
return $recv(html)._with_($recv($self.count)._asString()); | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
@@ -55,8 +54,8 @@ }, function($ctx2) {$ctx2.fillBlock({html:html},$ctx1,1)}); | ||
//>>excludeEnd("ctx"); | ||
$self["@count"]=$recv($self["@count"]).__plus((1)); | ||
$recv($self["@header"])._contents_((function(html){ | ||
$self.count=$recv($self.count).__plus((1)); | ||
$recv($self.header)._contents_((function(html){ | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
return $core.withContext(function($ctx2) { | ||
//>>excludeEnd("ctx"); | ||
return $recv(html)._with_($recv($self["@count"])._asString()); | ||
return $recv(html)._with_($recv($self.count)._asString()); | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
@@ -97,3 +96,3 @@ }, function($ctx2) {$ctx2.fillBlock({html:html},$ctx1,1)}); | ||
//>>excludeEnd("ctx");; | ||
$self["@count"]=(0); | ||
$self.count=(0); | ||
return self; | ||
@@ -124,7 +123,7 @@ //>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
$1=$recv(html)._h1(); | ||
$recv($1)._with_($recv($self["@count"])._asString()); | ||
$recv($1)._with_($recv($self.count)._asString()); | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
$ctx1.sendIdx["with:"]=1; | ||
//>>excludeEnd("ctx"); | ||
$self["@header"]=$recv($1)._yourself(); | ||
$self.header=$recv($1)._yourself(); | ||
$2=$recv(html)._button(); | ||
@@ -131,0 +130,0 @@ //>>excludeStart("ctx", pragmas.excludeDebugContexts); |
define([ | ||
'./deploy', | ||
'amber_core/SUnit', | ||
'amber/core/SUnit', | ||
// --- packages used only during automated testing begin here --- | ||
@@ -5,0 +5,0 @@ // --- packages used only during automated testing end here --- |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
470658
-0.39%11502
-0.12%+ Added
- Removed
Updated
Updated