Linting the JS code

This commit is contained in:
macdonst
2011-11-08 06:54:15 +08:00
parent 29c7e12505
commit 5406d6c98f
11 changed files with 44 additions and 42 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
if (!PhoneGap.hasResource("compass")) {
PhoneGap.addResource("compass");
CompassError = function(){
var CompassError = function(){
this.code = null;
};
@@ -28,7 +28,7 @@ CompassError = function(){
CompassError.COMPASS_INTERNAL_ERR = 0;
CompassError.COMPASS_NOT_SUPPORTED = 20;
CompassHeading = function() {
var CompassHeading = function() {
this.magneticHeading = null;
this.trueHeading = null;
this.headingAccuracy = null;