Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
5.3.2
-
None
-
Build = Windows 8.1 Visual Studio 2015 Community
Cordova Project = Windows Phone Universal
-
Important
Description
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