Skip to content

Commit

Permalink
fixed jshint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed May 8, 2015
1 parent 427e163 commit 867fcac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = function(grunt) {
// defaults
grunt.registerTask('default', ['build', 'test']);
grunt.registerTask('build', ['compile', 'jshint', 'whitespace-check']);
grunt.registerTask('test', ['compile', '_test']);
grunt.registerTask('test', ['compile', 'jshint', '_test']);
grunt.registerTask('btest', ['compile', '_btest']);
grunt.registerTask('cover', ['compile', '_cover']);
};
2 changes: 1 addition & 1 deletion src/cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

if(window.cordova){
throw new Error("cordova already defined");
};
}


var channel = require('cordova/channel');
Expand Down
2 changes: 1 addition & 1 deletion src/cordova_b.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

if(window.cordova){
throw new Error("cordova already defined");
};
}

/*global symbolList*/

Expand Down
4 changes: 2 additions & 2 deletions src/windows/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = function (success, fail, service, action, args) {
onSuccess = function (result, callbackOptions) {
callbackOptions = callbackOptions || {};
var callbackStatus;
if (callbackOptions.status != null) {
if (callbackOptions.status !== null) {
callbackStatus = callbackOptions.status;
}
else {
Expand All @@ -77,7 +77,7 @@ module.exports = function (success, fail, service, action, args) {
onError = function (err, callbackOptions) {
callbackOptions = callbackOptions || {};
var callbackStatus;
if (callbackOptions.status != null) {
if (callbackOptions.status !== null) {
callbackStatus = callbackOptions.status;
}
else {
Expand Down

0 comments on commit 867fcac

Please sign in to comment.