Permalink
Browse files

Rev for 2.0.4

  • Loading branch information...
1 parent 8fd189c commit 76c64f75acc78d9c43dc996e44847a340e5844a8 @jrburke jrburke committed Jul 10, 2012
Showing with 12 additions and 14 deletions.
  1. +2 −2 build/jslib/x.js
  2. +8 −10 dist/r.js
  3. +2 −2 require.js
View
4 build/jslib/x.js
@@ -1,5 +1,5 @@
/**
- * @license r.js 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
+ * @license r.js 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
@@ -20,7 +20,7 @@ var requirejs, require, define;
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode,
- version = '2.0.3',
+ version = '2.0.4',
jsSuffixRegExp = /\.js$/,
commandOption = '',
useLibLoaded = {},
View
18 dist/r.js
@@ -1,5 +1,5 @@
/**
- * @license r.js 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
+ * @license r.js 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
@@ -20,7 +20,7 @@ var requirejs, require, define;
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode,
- version = '2.0.3',
+ version = '2.0.4',
jsSuffixRegExp = /\.js$/,
commandOption = '',
useLibLoaded = {},
@@ -105,7 +105,7 @@ var requirejs, require, define;
}
/** vim: et:ts=4:sw=4:sts=4
- * @license RequireJS 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
+ * @license RequireJS 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
@@ -116,7 +116,7 @@ var requirejs, require, define;
(function (global) {
'use strict';
- var version = '2.0.3',
+ var version = '2.0.4',
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
jsSuffixRegExp = /\.js$/,
@@ -3191,14 +3191,12 @@ if(env === 'node') {
* see: http://github.com/jrburke/requirejs for details
*/
-/*jslint */
-/*global define, process */
+/*jslint strict: false */
+/*global define: false, console: false */
-define('node/print', ['fs'], function (fs) {
- 'use strict';
+define('node/print', function () {
function print(msg) {
- fs.writeSync(process.stdout.fd, msg + '\n');
- fs.fsyncSync(process.stdout.fd);
+ console.log(msg);
}
return print;
View
4 require.js
@@ -1,5 +1,5 @@
/** vim: et:ts=4:sw=4:sts=4
- * @license RequireJS 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
+ * @license RequireJS 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
@@ -10,7 +10,7 @@ var requirejs, require, define;
(function (global) {
'use strict';
- var version = '2.0.3',
+ var version = '2.0.4',
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
jsSuffixRegExp = /\.js$/,

0 comments on commit 76c64f7

Please sign in to comment.