You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/02 12:38:40 UTC

[jira] [Commented] (CB-10428) Fix syntax error when browserifying inAppBrowser plugin

    [ https://issues.apache.org/jira/browse/CB-10428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128112#comment-15128112 ] 

ASF subversion and git services commented on CB-10428:
------------------------------------------------------

Commit 2e0dc26eaa023e9d553a78c4acf25af751cc8021 in cordova-plugin-inappbrowser's branch refs/heads/1.2.x from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=2e0dc26 ]

CB-10428 Fix syntax error when browserifying inAppBrowser plugin

github close #141


> Fix syntax error when browserifying inAppBrowser plugin
> -------------------------------------------------------
>
>                 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
>              Labels: Triaged, regression, reproduced
>
> 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}
> Steps to reproduce:
> {code}
> cordova create hello com.example.hello HelloWorld
> cd hello
> cordova platform add android
> cordova plugin add cordova-plugin-inappbrowser
> cordova prepare --browserify
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org