This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var spawn = require('child_process').spawn; | |
var child = spawn('npm', ['show', 'yui']); | |
child.stdout.on('data', function(d) { | |
console.log(d + ''); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_results_order: function () { | |
var stack = new Y.Parallel(), | |
test = this; | |
setTimeout(stack.add(function () { | |
return 1; | |
}), 100); | |
setTimeout(stack.add(function () { | |
return 2; | |
}), 10); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node -v v0.8.7 | |
npm -v 1.1.49 | |
$ npm -g install shifter | |
npm http GET https://registry.npmjs.org/shifter | |
npm http 304 https://registry.npmjs.org/shifter | |
npm ERR! Error: EPERM, mkdir 'c:\Program Files (x86)\nodejs\node_modules\shifter | |
' | |
npm ERR! { [Error: EPERM, mkdir 'c:\Program Files (x86)\nodejs\node_modules\shi | |
fter'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ <-- npm i yui | |
mod/ | |
moduleA/ | |
moduleA.js | |
lang/ | |
moduleA_en.js | |
test.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var username = process.argv[2], | |
https = require('https'); | |
if (!username) { | |
console.error('Please pass a username'); | |
process.exit(1); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defscrollback 1000 | |
caption always "%{+b wk}%H | %C:%s %a %m.%d.%Y | %90=Load: %l %{wk}" | |
termcapinfo xterm-256color|xterm-color|xterm|xterms|xs|rxvt ti@:te@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var editor = new Y.EditorBase({}); | |
editor.on('nodeChange', function(e) { | |
if (Y.UA.chrome && e.commands && (e.commands.indent || e.commands.outdent)) { | |
var bq = inst.all('.webkit-indent-blockquote, blockquote'); | |
if (bq.size()) { | |
bq.setStyle('margin', ''); | |
} | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILURE DETAILS: | |
================ | |
mojito-store-server-tests :: Store tests :: server mojit instance yui | |
Value found in array [ModelFlickr,test_applevelModel,mojito-analytics-addon,mojito-assets-addon,mojito-carrier-addon,mojito-composite-addon,mojito-config-addon,mojito-cookie-addon,mojito-deploy-addon,mojito-device-addon,mojito-http-addon,mojito-i13n-addon,mojito-intl-addon,mojito-meta-addon,mojito-output-adapter-addon,mojito-params-addon,mojito-partial-addon,mojito-url-addon,mojito-action-context,mojito-controller-context,mojito-dispatcher,mojito-loader,mojito-logger,mojito-test,mojito,mojito-perf,mojito-resource-store-adapter,mojito-rest-lib,mojito-route-maker,mojito-util,mojito-view-renderer,test_mojit_2,lang/test_mojit_2_de,lang/test_mojit_2_en-US,mojito-mu]. | |
mojito-store-server-tests :: Store tests :: server mojit instance yui - precomputed | |
Value mojito (string) not found in array [PagedFlickr,mojito-mu,lang/PagedFlickr_de,event-custom,datatype-date,ModelFlickr,yql,jsonp-url,querystring]. | |
mojito-store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'this is a test function': function() { | |
var test = this; | |
doSomethingAsync(function() { | |
Assert.isTrue(false, 'This throws'); | |
test.resume(function() { | |
Assert.isTrue(false, 'This is caught'); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'this is a test function': function() { | |
var test = this; | |
doSomethingAsync(function() { | |
Assert.isTrue(false, 'This throws'); | |
test.resume(function() { | |
Assert.isTrue(false, 'This is caught'); | |
}); | |
}); |