Skip to content

Commit

Permalink
fix(inappbrowser): fix insertCSS method name
Browse files Browse the repository at this point in the history
closes #921
  • Loading branch information
ihadeed committed Jan 7, 2017
1 parent 54d1a98 commit de07df6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/inappbrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@ export class InAppBrowser {

/**
* Injects JavaScript code into the InAppBrowser window.
* @param script Details of the script to run, specifying either a file or code key.
* @param script {Object} Details of the script to run, specifying either a file or code key.
* @returns {Promise<any>}
*/
@CordovaInstance()
executeScript(script: {file?: string, code?: string}): Promise<any> {return; }

/**
* Injects CSS into the InAppBrowser window.
* @param {Object} Details of the script to run, specifying either a file or code key.
* @param css {Object} Details of the script to run, specifying either a file or code key.
* @returns {Promise<any>}
*/
@CordovaInstance()
insertCss(css: {file?: string, code?: string}): Promise<any> {return; }
insertCSS(css: {file?: string, code?: string}): Promise<any> {return; }

/**
* A method that allows you to listen to events happening in the browser.
Expand Down

0 comments on commit de07df6

Please sign in to comment.