polymer on Windows

129 views
Skip to first unread message

Mike Jones (DEVUE)

unread,
Aug 15, 2014, 4:28:41 PM8/15/14
to polym...@googlegroups.com

Hi,

 

Will polymer work with Windows as the target platform in a PhoneGap/Cordova app? I run into this error in platform.js:

 

0x800a138a - JavaScript runtime error: Invalid operand to 'instanceof': Function expected

 

Happens here:

 

;else{if(!(e instanceof A))

 

cid:image001.png@01CFB884.00D0EE00

 

Thanks,

Mike

 

Rob Dodson

unread,
Aug 15, 2014, 5:10:17 PM8/15/14
to Mike Jones (DEVUE), polym...@googlegroups.com
That's a good question... unfortunately I'm not a PhoneGap/Cordova expert so I don't have a definitive answer. One options is to include Crosswalk to see if that fixes things for you. Crosswalk basically bundles up a Chrome WebView and provides a bit of backwards compatibility support for Polymer in Cordova apps


Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/e24cbb42d9ba4863a62e5936c6a38f0f%40BN1PR0301MB0642.namprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Marco Scannadinari

unread,
Aug 16, 2014, 8:59:10 AM8/16/14
to polym...@googlegroups.com, mik...@microsoft.com
BTW Crosswalk (by Intel) is great and very simple to work with, though it adds a lot of size to your app since the webview is bundled (though it can be linked separately) and it only runs on Android and Tizen ATM.
Reply all
Reply to author
Forward
0 new messages