You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/01/09 21:23:47 UTC

git commit: CB-4871 lodash->underscore since underscore is smaller in node_modules

Updated Branches:
  refs/heads/master c6a3872ab -> 477c08261


CB-4871 lodash->underscore since underscore is smaller in node_modules


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/477c0826
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/477c0826
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/477c0826

Branch: refs/heads/master
Commit: 477c08261923a5ac79f4bfca92aa04917176a57e
Parents: c6a3872
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Jan 9 15:23:19 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Jan 9 15:23:19 2014 -0500

----------------------------------------------------------------------
 package.json  | 2 +-
 src/cli.js    | 2 +-
 src/hooker.js | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/477c0826/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 78d5c6b..fc08fcb 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
     "q": "~0.9",
     "optimist": "0.6.0",
     "mime": "~1.2.11",
-    "lodash": "~2.4.0"
+    "underscore":"1.4.4"
   },
   "devDependencies": {
     "jasmine-node": "1.8.x"

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/477c0826/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 93d3bd6..2375337 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -24,7 +24,7 @@ var path = require('path'),
 module.exports = function CLI(inputArgs) {
     try {
         optimist = require('optimist');
-        _ = require('lodash');
+        _ = require('underscore');
     } catch (e) {
         console.error("Please run npm install from this directory:\n\t" +
                       path.dirname(__dirname));

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/477c0826/src/hooker.js
----------------------------------------------------------------------
diff --git a/src/hooker.js b/src/hooker.js
index 4d9ac1e..ddfdeda 100644
--- a/src/hooker.js
+++ b/src/hooker.js
@@ -23,7 +23,7 @@ var util  = require('./util'),
     child_process = require('child_process'),
     Q     = require('q'),
     path  = require('path'),
-    _ = require('lodash');
+    _ = require('underscore');
 
 module.exports = function hooker(root) {
     var r = util.isCordova(root);