cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10428) Fix syntax error when browserifying inAppBrowser plugin
Date Tue, 26 Jan 2016 09:12:39 GMT

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

ASF GitHub Bot commented on CB-10428:
-------------------------------------

Github user sgrebnov commented on the pull request:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/141#issuecomment-174916119
  
    Use  `?w=1` param to ignore space changes:
    https://github.com/apache/cordova-plugin-inappbrowser/pull/141/files?w=1


> 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
>            Assignee: Sergey Grebnov
>              Labels: Triaged, 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


Mime
View raw message