From 5b975adc8ea51f212ec8da11742d52baddfb7564 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 13 May 2012 17:52:44 -0400 Subject: [PATCH] Cleanup build files. Former-commit-id: eac9437648d2bb7260dba5eacfc7076867975134 --- build.js | 5 +---- build/post-compile.js | 2 +- build/pre-compile.js | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/build.js b/build.js index c35ffb46c..c25df0346 100755 --- a/build.js +++ b/build.js @@ -6,11 +6,8 @@ var fs = require('fs'), path = require('path'); - /** The build directory containing the build scripts */ - var buildPath = path.join(__dirname, 'build'); - /** The minify module */ - var Minify = require(path.join(buildPath, 'minify')); + var Minify = require(path.join(__dirname, 'build', 'minify')); /** The lodash.js source */ var source = fs.readFileSync(path.join(__dirname, 'lodash.js'), 'utf8'); diff --git a/build/post-compile.js b/build/post-compile.js index 93bff4be8..f7a4f6a9e 100644 --- a/build/post-compile.js +++ b/build/post-compile.js @@ -8,7 +8,7 @@ /** The minimal license/copyright template */ var licenseTemplate = '/*!\n' + - ' Lo-Dash @VERSION github.com/bestiejs/lodash/blob/master/LICENSE.txt\n' + + ' Lo-Dash @VERSION lodash.com/license\n' + ' Underscore.js 1.3.3 github.com/documentcloud/underscore/blob/master/LICENSE\n' + '*/'; diff --git a/build/pre-compile.js b/build/pre-compile.js index 755919f08..597153f70 100644 --- a/build/pre-compile.js +++ b/build/pre-compile.js @@ -7,7 +7,6 @@ /** Used to minify string values used by `compileIterator` and its options */ var compiledValues = [ - 'arrays', 'objects' ]; @@ -66,7 +65,6 @@ 'hasDontEnumBug', 'inLoop', 'init', - 'iterate', 'iteratedObject', 'loopExp', 'object',