[ 
https://issues.apache.org/jira/browse/CB-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662826#comment-13662826
 ] 

Jan Mikula commented on CB-3352:
--------------------------------

Do you find something out? Thanks.
                
> Phonegap + AngularJS + Windows Phone
> ------------------------------------
>
>                 Key: CB-3352
>                 URL: https://issues.apache.org/jira/browse/CB-3352
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 2.6.0
>            Reporter: Jan Mikula
>            Assignee: Jesse MacFadyen
>              Labels: AngularJS
>         Attachments: example.zip
>
>
> We build application based on Phonegap (2.6.0) and AngularJS (1.1.3). On iOS 
> and Android works great. On Windows Phone 7 and 8 we gets error: "Unable to 
> get property '1' of undefined or null reference 
> file:x-wmapp0:www/js/libs/angular.js Line:5034"
> Problem is in function matchUrl:
> var match = URL_MATCH.exec(url);
>   match = {
>       protocol: match[1],
>       host: match[3],
>       port: int(match[5]) || DEFAULT_PORTS[match[1]] || null,
>       path: match[6] || '/',
>       search: match[8],
>       hash: match[10]
>     };
> Problem is that variable url contains this: "x-wmapp0:/www/index.html" and 
> URL_MATCH.exec can't parse that url correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to