cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From riknoll <>
Subject [GitHub] cordova-docs pull request: CB-10353: Make Hooks guide a reference
Date Fri, 05 Feb 2016 22:16:03 GMT
Github user riknoll commented on a diff in the pull request:
    --- Diff: www/docs/en/dev/guide/appdev/hooks/ ---
    @@ -115,41 +247,38 @@ As a plugin developer you can define hook scripts using `<hook>`
elements in a `
         <hook type="before_plugin_install" src="scripts/beforeInstall.js" />
         <hook type="after_build" src="scripts/afterBuild.js" />
    -    <platform name="wp8">
    -        <hook type="before_plugin_install" src="scripts/wp8BeforeInstall.js" />
    -        <hook type="before_build" src="scripts/wp8BeforeBuild.js" />
    +    <platform name="android">
    +        <hook type="before_plugin_install" src="scripts/androidBeforeInstall.js" />
    +        <hook type="before_build" src="scripts/androidBeforeBuild.js" />
    -`before_plugin_install`, `after_plugin_install`, `before_plugin_uninstall` plugin hooks
will be fired exclusively for the plugin being installed/uninstalled.
    +`before_plugin_install`, `after_plugin_install`, `before_plugin_uninstall` plugin hooks
will be fired 
    +exclusively for the plugin being installed/uninstalled.
    -## Script Interface
    +### Order of Hooks execution
    +Hook scripts could be defined by adding them to the special predefined folder 
    --- End diff --
    Hook scripts *can*...

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message