mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
updated cordovajs
This commit is contained in:
parent
3a55991480
commit
e30bc6b6e4
58
framework/assets/www/cordova.js
vendored
58
framework/assets/www/cordova.js
vendored
@ -1,5 +1,5 @@
|
||||
// Platform: android
|
||||
// 2.7.0rc1-101-gc6482ac
|
||||
// 2.7.0rc1-116-gf0108ae
|
||||
/*
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
@ -19,7 +19,7 @@
|
||||
under the License.
|
||||
*/
|
||||
;(function() {
|
||||
var CORDOVA_JS_BUILD_LABEL = '2.7.0rc1-101-gc6482ac';
|
||||
var CORDOVA_JS_BUILD_LABEL = '2.7.0rc1-116-gf0108ae';
|
||||
// file: lib/scripts/require.js
|
||||
|
||||
var require,
|
||||
@ -1273,60 +1273,6 @@ module.exports = {
|
||||
|
||||
});
|
||||
|
||||
// file: lib/common/plugin/Coordinates.js
|
||||
define("cordova/plugin/Coordinates", function(require, exports, module) {
|
||||
|
||||
/**
|
||||
* This class contains position information.
|
||||
* @param {Object} lat
|
||||
* @param {Object} lng
|
||||
* @param {Object} alt
|
||||
* @param {Object} acc
|
||||
* @param {Object} head
|
||||
* @param {Object} vel
|
||||
* @param {Object} altacc
|
||||
* @constructor
|
||||
*/
|
||||
var Coordinates = function(lat, lng, alt, acc, head, vel, altacc) {
|
||||
/**
|
||||
* The latitude of the position.
|
||||
*/
|
||||
this.latitude = lat;
|
||||
/**
|
||||
* The longitude of the position,
|
||||
*/
|
||||
this.longitude = lng;
|
||||
/**
|
||||
* The accuracy of the position.
|
||||
*/
|
||||
this.accuracy = acc;
|
||||
/**
|
||||
* The altitude of the position.
|
||||
*/
|
||||
this.altitude = (alt !== undefined ? alt : null);
|
||||
/**
|
||||
* The direction the device is moving at the position.
|
||||
*/
|
||||
this.heading = (head !== undefined ? head : null);
|
||||
/**
|
||||
* The velocity with which the device is moving at the position.
|
||||
*/
|
||||
this.speed = (vel !== undefined ? vel : null);
|
||||
|
||||
if (this.speed === 0 || this.speed === null) {
|
||||
this.heading = NaN;
|
||||
}
|
||||
|
||||
/**
|
||||
* The altitude accuracy of the position.
|
||||
*/
|
||||
this.altitudeAccuracy = (altacc !== undefined) ? altacc : null;
|
||||
};
|
||||
|
||||
module.exports = Coordinates;
|
||||
|
||||
});
|
||||
|
||||
// file: lib/common/plugin/DirectoryEntry.js
|
||||
define("cordova/plugin/DirectoryEntry", function(require, exports, module) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user