fix(geolocation): call correct clearFunction

This commit is contained in:
Tim Lancina
2016-02-08 13:06:22 -06:00
parent 8f27fc9e51
commit 9e86a40034
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ var plugin_1 = require('./plugin');
* })
*
* let watch = Geolocation.watchPosition();
* watch.source.subscribe((data) => {
* watch.subscribe((data) => {
* //data.coords.latitude
* //data.coords.longitude
* })
@@ -36,7 +36,7 @@ var Geolocation = (function () {
plugin_1.Cordova({
callbackOrder: 'reverse',
observable: true,
clearFunction: 'clearWatch()'
clearFunction: 'clearWatch'
})
], Geolocation, "watchPosition", null);
Geolocation = __decorate([