You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "DeanB (JIRA)" <ji...@apache.org> on 2015/10/24 15:02:27 UTC
[jira] [Updated] (CB-9838) es6 Shims in Window Phone Universal
[ https://issues.apache.org/jira/browse/CB-9838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DeanB updated CB-9838:
----------------------
Component/s: WP8
> es6 Shims in Window Phone Universal
> -----------------------------------
>
> Key: CB-9838
> URL: https://issues.apache.org/jira/browse/CB-9838
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows, WP8
> Affects Versions: 5.3.2
> Environment: Build = Windows 8.1 Visual Studio 2015 Community
> Cordova Project = Windows Phone Universal
> Reporter: DeanB
> Labels: build, windows
>
> I have a test project using es6-shim (v0.33.6), Cordova 5.3.3 and Windows Phone (Universal).
> I am getting errors when I add es6 shims to my project: Files testing es6-shim.js and core-js.
> I get the following error when I test on Windows Phone Universal:
> SCRIPT5007: Unhandled exception at line 221, column 7 in ms-appx-web://test/www/scripts/lib/es6-shim/es6-shim.js
> 0x800a138f - JavaScript runtime error: Unable to get property 'toString' of undefined or null reference
> es6-shim.js (221,7)
> Cordova Mobile(Android) and Web(Chrome, IE, Firefox) are working well.
> Here's the bare code I used to isolate es6-shim.
> <!DOCTYPE html>
> <html>
> <head>
> <script src="scripts/es6-shim/es6-shim.js"></script>
> </head>
> <body>
> <p>Hello, your application is ready!</p>
> </body>
> </html>
> I contacted the creator of es6-shim and he seems to think this is a Cordova issue:
> https://github.com/paulmillr/es6-shim/issues/364
--
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