fix(deviceorientation): cancelFunction renamed to clearFunction

This commit is contained in:
Max Lynch 2016-06-09 15:50:54 -05:00
parent c93cbed9d2
commit 8dee02e234

View File

@ -89,7 +89,7 @@ export class DeviceOrientation {
@Cordova({
callbackOrder: 'reverse',
observable: true,
cancelFunction: 'clearWatch'
clearFunction: 'clearWatch'
})
static watchHeading(options?: CompassOptions): Observable<CompassHeading> { return; }