Steps to execute:
- Chdir into a prepared
download.jqueryui.com
. - Copy
foo.js
into it. - Run
node foo.js
#!/bin/sh | |
IFS=' ' | |
z40=0000000000000000000000000000000000000000 | |
while read local_ref local_sha remote_ref remote_sha | |
do | |
remote_abbrev_ref=$(echo $remote_ref | cut -d/ -f3) | |
if [ :$remote_abbrev_ref != :master ]; then | |
exit 0 |
grunt.registerTask( "compile-globalize", function() { | |
var formatters, | |
Globalize = require( "globalize" ), | |
globalizeCompiler = require( "globalize-compiler" ), | |
languages = [ "en", "de" ]; | |
globalize.load( require( "cldr-data" ).entireSupplemental() ); | |
globalize.load( require( "cldr-data" ).entireMainFor.apply( this, languages ) ); | |
formatters = languages.reduce( function( ret, language ) { |
Steps to execute:
download.jqueryui.com
.foo.js
into it.node foo.js
$ ./node_modules/.bin/nodeunit test/package-1-12.0.js | |
package-1-12.0.js | |
✔ 1.12.0-pre - test: select all components - with the default theme | |
✔ 1.12.0-pre - test: select all components - with a different theme | |
✔ 1.12.0-pre - test: select all widgets | |
✔ 1.12.0-pre - test: select all effects | |
✔ 1.12.0-pre - test: select some widgets (1) | |
✔ 1.12.0-pre - test: select some widgets (2) | |
✔ 1.12.0-pre - test: scope widget CSS |
xavier@xavier ~/jquery/download.jqueryui.com $ git diff test/ | |
diff --git a/test/package-1-12.0.js b/test/package-1-12.0.js | |
index 0ad8c6f..19d9851 100644 | |
--- a/test/package-1-12.0.js | |
+++ b/test/package-1-12.0.js | |
@@ -101,8 +101,8 @@ tests = { | |
"test: select all effects": function( test ) { | |
var pkg = new Packager( this.files, Package, { | |
components: this.allEffects, | |
- themeVars: defaultTheme |
Result of npm ls
:
globalize-express-example@1.0.0 /tmp/globalize-express/example
├─┬ cldr-data@28.0.2
│ ├─┬ cldr-data-downloader@0.2.3
│ │ ├── adm-zip@0.4.4
│ │ ├─┬ mkdirp@0.5.0
│ │ │ └── minimist@0.0.8
│ │ ├─┬ nopt@3.0.4
│ │ │ └── abbrev@1.0.7
C
Videos for https://github.com/jquery/globalize/issues/511#issuecomment-140371783 |
See comments.