You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Aaron Newcomer (JIRA)" <ji...@apache.org> on 2014/04/28 22:10:18 UTC

[jira] [Created] (CB-6539) WinJS versions needs update for Windows 8.1

Aaron Newcomer created CB-6539:
----------------------------------

             Summary: WinJS versions needs update for Windows 8.1
                 Key: CB-6539
                 URL: https://issues.apache.org/jira/browse/CB-6539
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows 8
    Affects Versions: 3.4.0, 3.3.0
         Environment: Visual Studio 2013 Ultimate
            Reporter: Aaron Newcomer
            Assignee: Jesse MacFadyen
            Priority: Critical


Cordova attempts to add WinJS if not already loaded:
https://github.com/apache/cordova-js/blob/master/src/windows8/platform.js

But for Windows 8.1 apps, the WinJS version has been updated from 1.0 to 2.0, and so the path to base.js becomes incorrect. It's easy enough to update the path, but then 8.0 compatibility is broken. I suppose one could attempt to load both 1.0 *and* 2.0, but this would introduce a (non-crippling) runtime error for the file that couldn't be found.

The Windows 8 template project would also need to be addressed for 8.1 compatibility:
https://github.com/apache/cordova-windows/tree/master/windows8/template



--
This message was sent by Atlassian JIRA
(v6.2#6252)