1
1
/**
2
- * @license r.js 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
2
+ * @license r.js 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
3
3
* Available via the MIT or new BSD license.
4
4
* see: http://github.com/jrburke/requirejs for details
5
5
*/
@@ -20,7 +20,7 @@ var requirejs, require, define;
20
20
21
21
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
22
22
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode,
23
- version = '2.0.3 ',
23
+ version = '2.0.4 ',
24
24
jsSuffixRegExp = /\.js$/,
25
25
commandOption = '',
26
26
useLibLoaded = {},
@@ -105,7 +105,7 @@ var requirejs, require, define;
105
105
}
106
106
107
107
/** vim: et:ts=4:sw=4:sts=4
108
- * @license RequireJS 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
108
+ * @license RequireJS 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
109
109
* Available via the MIT or new BSD license.
110
110
* see: http://github.com/jrburke/requirejs for details
111
111
*/
@@ -116,7 +116,7 @@ var requirejs, require, define;
116
116
(function (global) {
117
117
'use strict';
118
118
119
- var version = '2.0.3 ',
119
+ var version = '2.0.4 ',
120
120
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
121
121
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
122
122
jsSuffixRegExp = /\.js$/,
@@ -3191,14 +3191,12 @@ if(env === 'node') {
3191
3191
* see: http://github.com/jrburke/requirejs for details
3192
3192
*/
3193
3193
3194
- /*jslint */
3195
- /*global define, process */
3194
+ /*jslint strict: false */
3195
+ /*global define: false, console: false */
3196
3196
3197
- define('node/print', ['fs'], function (fs) {
3198
- 'use strict';
3197
+ define('node/print', function () {
3199
3198
function print(msg) {
3200
- fs.writeSync(process.stdout.fd, msg + '\n');
3201
- fs.fsyncSync(process.stdout.fd);
3199
+ console.log(msg);
3202
3200
}
3203
3201
3204
3202
return print;
0 commit comments