Add docs and fixed to pass through the Google Closure Compiler without warnings

This commit is contained in:
defrex
2011-03-30 12:14:21 -04:00
committed by Fil Maj
parent bdadbbc339
commit bde59adc04
14 changed files with 210 additions and 168 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
if (!PhoneGap.hasResource("accelerometer")) {
PhoneGap.addResource("accelerometer");
Acceleration = function(x, y, z) {
/** @constructor */
function Acceleration(x, y, z) {
this.x = x;
this.y = y;
this.z = z;