docs(developer): remove stale observation about methods being static (#3033)

This commit is contained in:
Robert Coie 2019-05-26 22:19:10 -07:00 committed by Daniel Sogl
parent 18e4a9cda6
commit c5a9d0d258

View File

@ -88,8 +88,6 @@ It's just a stub. The `return` is only there to keep the TypeScript type-checker
By default, the `@Cordova` decorator wraps the plugin callbacks in a Promise that resolves when the success callback is called and rejects when the error callback is called. It also ensures that Cordova and the underlying plugin are available, and prints helpful diagnostics if they aren't.
You'll also notice that `getCurrentPosition` is a static method. That's because the plugin class is just a utility class to call the underlying Cordova plugin methods, it's not an instance and has no state.
Next, let's look at the `watchPosition` method.
```