[
https://issues.apache.org/jira/browse/CB-10428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Buijs updated CB-10428:
----------------------------
Affects Version/s: 1.2.0
Component/s: Plugin InAppBrowser
> Syntax error when browserifying the plugins javascript file
> -----------------------------------------------------------
>
> Key: CB-10428
> URL: https://issues.apache.org/jira/browse/CB-10428
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin InAppBrowser
> Affects Versions: 1.2.0
> Reporter: Alex Buijs
>
> When building a Cordova project that includes this plugin with the
> --browserify option, a syntax error is raised:
> {code}
> events.js:141
> throw er; // Unhandled 'error' event
> ^
> SyntaxError: 'return' outside of function (25:4) (while aliasify was
> processing plugins/cordova-plugin-inappbrowser/www/inappbrowser.js) while
> parsing file: plugins/cordova-plugin-inappbrowser/www/inappbrowser.js
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]