You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2016/12/08 12:18:59 UTC

[jira] [Created] (CB-12227) Battery Status plugin cannot be built for windows using browserify

Alexander Sorokin created CB-12227:
--------------------------------------

             Summary: Battery Status plugin cannot be built for windows using browserify
                 Key: CB-12227
                 URL: https://issues.apache.org/jira/browse/CB-12227
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Battery Status
            Reporter: Alexander Sorokin
            Assignee: Alexander Sorokin


Repro:
{noformat}
cordova create foo
cd foo
cordova platform add windows
cordova plugin add https://github.com/apache/cordova-plugin-battery-status
{noformat}

The error:
{noformat}
Error: 'return' outside of function (60:4) (while aliasify was processing C:\Cordova\foo\plugins\cordova-plugin-battery-status\src\windows\BatteryProxy.js) while parsing file: C:\Cordova\foo\plugins\cordova-plugin-battery-status\src\windows\BatteryProxy.js
{noformat}



--
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