aurelia / framework

The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.
MIT License
11.75k stars 625 forks source link

Windows 8 app store application #207

Closed dpinart closed 9 years ago

dpinart commented 9 years ago

Hi,

I have to develop an application with worklight than targets at first instance windows 8 app store applications.

I've done some tests and I got several errors related to "Unable to add dynamic content". Wrapping some methods in MSApp.execUnsafeLocalFunction seems to fix the issue. However, I'm getting a blank page when running app. Is there any issue about using aurelia in Windows 8 app store? Any suggest or workaround?

thanks

dpinart commented 9 years ago

Hi,

It seems this issue is pretty similar to https://github.com/aurelia/framework/issues/208

adding HTMLImports.js script as suggested in https://github.com/aurelia/skeleton-navigation causes a funky error that looks like:

Potentially unhandled rejection [2] TypeError: Cannot define property 'st793256929486408539': object is not extensible at WeakMap.prototype.set (ms-appx://791f11f5-f8d3-4d54-8e1d-d6a82ffca4bd/www/default/jspm_packages/github/webcomponents/webcomponentsjs@0.5.2/HTMLImports.js:23:63) at Anonymous function (Unknown script code:46351:3) at linkDynamicModule (ms-appx://791f11f5-f8d3-4d54-8e1d-d6a82ffca4bd/www/default/jspm_packages/system.src.js:2032:5) at getModule (ms-appx://791f11f5-f8d3-4d54-8e1d-d6a82ffca4bd/www/default/jspm_packages/system.src.js:2000:9) at Anonymous function (ms-appx://791f11f5-f8d3-4d54-8e1d-d6a82ffca4bd/www/default/jspm_packages/system.src.js:2036:9) at Anonymous function (Unknown script code:43868:3) at linkDynamicModule (ms-appx://791f11f5-f8d3-4d54-8e1d-d6a82ffca4bd/www/default/jspm_packages/system.src.js:2032:5) at getModule (ms-appx://791f11f5-f8d3-4d54-8e1d-d6a82ffca4bd/www/default/jspm_packages/system.src.js:2000:9) at Anonymous function (ms-appx://791

dpinart commented 9 years ago

I'm closing this issue because it seems to be the same as #208