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 2013/06/28 16:15:36 UTC
[12/26] js commit: Change jake reference in code comments to say
"grunt"
Change jake reference in code comments to say "grunt"
Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/3a9b99a4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/3a9b99a4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/3a9b99a4
Branch: refs/heads/2.9.x
Commit: 3a9b99a4992b9c92a481006c29a58185cd50e056
Parents: 3d81324
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jun 21 15:25:27 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Jun 21 15:25:27 2013 -0400
----------------------------------------------------------------------
lib/common/argscheck.js | 2 +-
test/runner.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/3a9b99a4/lib/common/argscheck.js
----------------------------------------------------------------------
diff --git a/lib/common/argscheck.js b/lib/common/argscheck.js
index 524b435..5d0cbe7 100644
--- a/lib/common/argscheck.js
+++ b/lib/common/argscheck.js
@@ -63,7 +63,7 @@ function checkArgs(spec, functionName, args, opt_callee) {
if (errMsg) {
errMsg += ', but got ' + typeName + '.';
errMsg = 'Wrong type for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' + functionName + ': ' + errMsg;
- // Don't log when running jake test.
+ // Don't log when running unit tests.
if (typeof jasmine == 'undefined') {
console.error(errMsg);
}
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/3a9b99a4/test/runner.js
----------------------------------------------------------------------
diff --git a/test/runner.js b/test/runner.js
index 51846ba..97b713a 100644
--- a/test/runner.js
+++ b/test/runner.js
@@ -53,7 +53,7 @@ module.exports = {
window = document.createWindow();
} catch (e) {
//no jsDom (some people don't have compilers)
- throw new Error("can't run tests in node: run jake btest instead, or install jsdom via: npm install");
+ throw new Error("can't run tests in node: run grunt btest instead, or install jsdom via: npm install");
}
//Put jasmine in scope