Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
When building a Cordova project that includes this plugin with the --browserify option, a syntax error is raised:
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
Steps to reproduce:
cordova create hello com.example.hello HelloWorld cd hello cordova platform add android cordova plugin add cordova-plugin-inappbrowser cordova prepare --browserify