Permalink
Browse files

snapshot update.

  • Loading branch information...
jrburke committed Apr 28, 2012
1 parent f9ce067 commit 73825504105f619845f65962d588d44130f85cce
Showing with 764 additions and 433 deletions.
  1. +2 −2 build/tests/tools/override/override.js
  2. +1 −1 copydist.js
  3. +761 −430 dist/r.js
@@ -11,7 +11,7 @@
/*global require: false */
var uglify = require('uglify-js'),
- requirejs = require('../../../r.js');
+ requirejs = require('../../../../r.js');
//Register the replacement module. Note that for uglifyjs, r.js uses the
//"uglifyjs/index" module name for it. The list of replaceable modules
@@ -22,7 +22,7 @@ requirejs.define('uglifyjs/index', [], function () {
//Do the build.
requirejs.optimize({
- baseUrl: "../../../../requirejs/tests",
+ baseUrl: "../../../../../requirejs/tests",
name: "one",
include: "dimple",
out: "one-built.js",
View
@@ -16,7 +16,7 @@ exec('node dist.js',
fs.writeFileSync(distFileName, fs.readFileSync('r.js', 'utf8'), 'utf8');
contents = fs.readFileSync(distFileName, 'utf8')
- .replace(/\d\.\d\.\d(\+)?/g, function (match) {
+ .replace(/\d\.\d\.\d(\+|[a-z]+)?/g, function (match) {
//Only do date insertion twice at the top of the file.
count += 1;
if (count < 3) {
Oops, something went wrong.

0 comments on commit 7382550

Please sign in to comment.