Merge branch 'master' of github.com:driftyco/ionic-native

This commit is contained in:
Ibby 2017-03-22 19:04:19 -04:00
commit 602f14771c
3 changed files with 7 additions and 6 deletions

View File

@ -32,9 +32,9 @@ export interface DeeplinkMatch {
* ```typescript
* import { Deeplinks } from '@ionic-native/deeplinks';
*
* constructor(private deepLinks: DeepLinks) { }
* constructor(private deeplinks: Deeplinks) { }
*
* this.deepLinks.route({
* this.deeplinks.route({
* '/about-us': AboutPage,
* '/universal-links-test': AboutPage,
* '/products/:productId': ProductPage
@ -53,7 +53,7 @@ export interface DeeplinkMatch {
* the actual navigation for you:
*
* ```typescript
* this.deepLinks.routeWithNavController(this.navController, {
* this.deeplinks.routeWithNavController(this.navController, {
* '/about-us': AboutPage,
* '/products/:productId': ProductPage
* }).subscribe((match) => {

View File

@ -14,7 +14,7 @@ export class MediaObject {
* @param src {string} A URI containing the audio content.
* @param onStatusUpdate {Function} A callback function to be invoked when the status of the file changes
*/
constructor(private _objectInstnace: any) {}
constructor(private _objectInstance: any) {}
/**
* Get the current amplitude of the current recording.
@ -256,7 +256,8 @@ export class MediaPlugin {
// Creates a new media object
// Resolves with the media object
// or rejects with the error
const instance = new Media(src, () => resolve(new Media(instance)), reject, onStatusUpdate);
const instance = new Media(src, resolve, reject, onStatusUpdate);
return resolve(new MediaObject(instance));
});
}

View File

@ -51,7 +51,7 @@ export interface ToastOptions {
*
* ...
*
* thisoast.show("I'm a toast", '5000', 'center').subscribe(
* this.toast.show("I'm a toast", '5000', 'center').subscribe(
* toast => {
* console.log(toast);
* }