Read intern CONTRIBUTING.md.
Use dojo2-core .jshintrc for jshint.
On Windows, instead of:
Read intern CONTRIBUTING.md.
Use dojo2-core .jshintrc for jshint.
On Windows, instead of:
'Decrypt': | |
openssl enc -d -base64 -in amd-define-map.base64.txt -out amd-define-map.zip |
Assumes sts.bat
is in the same folder as sts.exe
. Also assumes that _JAVA_OPTIONS
is recognised by the JRE that will be used (e.g. works for Oracle JDK 1.7.0_55, not sure about other versions/vendors).
setlocal
set _java_options=-Duser.home=%USERPROFILE%
%~dp0sts.exe
endlocal
dojo/util version used is 1.10.4. Custom branches are forked off 1.10.4.
Running a build on this project:
Why are Node and Java results not side-by-side? Because it's hard to isolate the comparison to just the file copy as there are so many other performance differences between the Node and Java builds. So safer to just compare Node to Node and Java to Java.
OS
: W7 (Windows 7), U1404 (Ubuntu 14.04)function intStream(from, to) { | |
var i = from; | |
var unbounded = ("number" !== typeof to); | |
return { | |
hasNext: function() { return unbounded ? true : (i < to); }, | |
next: function() { if (!this.hasNext()) throw "Stream Finished"; return i++; }, | |
toString: function() { | |
return "Int Stream: from " + from + ", " + (unbounded ? "unbounded" : "to " + to); | |
} | |
}; |
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
<html> | |
</html> |
require.config({ | |
paths: { | |
'jquery': '//code.jquery.com/jquery-1.9.1', | |
'angular': '//ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min', | |
'bootstrap': '//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min', | |
'my-library': '//gist.github.com/gitgrimbo/5689953/raw/9b44d7e5f504b2245331be3ed3fcbb7bf8635da6/gistfile1' | |
}, | |
shim: { | |
'bootstrap' : {deps:['jquery']}, | |
'angular' : {exports:'angular'} |
define(["angular", "my-library", "bootstrap"], function (angular, myLibrary, bootstrap) { | |
console.log(angular.version); | |
console.log(myLibrary); | |
console.log(undefined === bootstrap, "bootstrap augments jQuery and has no module return value"); | |
console.log("1.9.1" === $.fn.jquery, "boostrap should have caused jQuery to load"); | |
console.log("function" === typeof $.fn.alert.Constructor, "boostrap adds alert"); | |
}); |
/*! | |
* imagesLoaded PACKAGED v3.0.4 | |
* JavaScript is all like "You images are done yet or what?" | |
*/ | |
/*! | |
* EventEmitter v4.2.0 - git.io/ee | |
* Oliver Caldwell | |
* MIT license | |
* @preserve |