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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to