Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BBA04176CF for ; Tue, 26 Jan 2016 13:20:40 +0000 (UTC) Received: (qmail 49885 invoked by uid 500); 26 Jan 2016 13:20:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 49848 invoked by uid 500); 26 Jan 2016 13:20:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 49506 invoked by uid 99); 26 Jan 2016 13:20:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 13:20:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 11D892C1F57 for ; Tue, 26 Jan 2016 13:20:40 +0000 (UTC) Date: Tue, 26 Jan 2016 13:20:40 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10428) Fix syntax error when browserifying inAppBrowser plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117173#comment-15117173 ] ASF subversion and git services commented on CB-10428: ------------------------------------------------------ Commit 2e0dc26eaa023e9d553a78c4acf25af751cc8021 in cordova-plugin-inappbrowser's branch refs/heads/master 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 > 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