JavaScript cleanup to pass jsHint

I did my best to clean up the JavaScript so it would pass through jsHint more cleanly.  There still are issues but there are a lot fewer now.  This helped to make the JS code more consistent.
This commit is contained in:
macdonst
2011-05-21 01:50:20 +08:00
parent 6c3eefe6f9
commit 1d79b6617b
17 changed files with 477 additions and 477 deletions
+3 -3
View File
@@ -33,7 +33,7 @@ if (typeof PhoneGap === "undefined") {
*/
if (typeof(DeviceInfo) !== 'object') {
DeviceInfo = {};
var DeviceInfo = {};
}
/**
@@ -440,7 +440,7 @@ PhoneGap.stringify = function(args) {
var s = "[";
var i, type, start, name, nameType, a;
for (i = 0; i < args.length; i++) {
if (args[i] != null) {
if (args[i] !== null) {
if (i > 0) {
s = s + ",";
}
@@ -939,4 +939,4 @@ var PluginManager = {
}
};
};
}