Skip to content

Commit

Permalink
fix(deviceorientation): cancelFunction renamed to clearFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Jun 9, 2016
1 parent c93cbed commit 8dee02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/deviceorientation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class DeviceOrientation {
@Cordova({
callbackOrder: 'reverse',
observable: true,
cancelFunction: 'clearWatch'
clearFunction: 'clearWatch'
})
static watchHeading(options?: CompassOptions): Observable<CompassHeading> { return; }

Expand Down

0 comments on commit 8dee02e

Please sign in to comment.