internet explorer 9 - Angular RC2 and IE 9 -
when testing angular 2 app in browserstack ie 9 (rc 2 currently) noticed app throws "access denied" error. on local working fine , why: if change internet options - local intranet medium-low or low teh app loads fine. if change medium or higher , error. need support ie 9. ideas appreciated . here index file :
<!doctype html> <html class="no-feature.html"> <noscript> <meta http-equiv="refresh" content="0;url=no-feature.html"> </noscript> <head> <base href="/"> <title>poc</title> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="description" content="angular 2 starter"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href='//fonts.googleapis.com/css?family=open+sans:300,400,600' rel='stylesheet' type='text/css'> <link href="lib/bootstrap.css" rel="stylesheet" /> <link href="lib/bootstrap-theme.css" rel="stylesheet" media="screen"/> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link href="lib/toastr.min.css" rel="stylesheet" type="text/css"></link> <link href="styles/styles.css" rel="stylesheet" /> <link href="styles/main.css" rel="stylesheet" /> <!-- not change order of these dependencies!! --> <script src="lib/modernizr.js"></script> <script src="customizr.js"></script> <script> if(missingfeatures.count !== 0){ window.location.href = 'no-feature.html' } </script> <script src="lib/shim.min.js"></script> <script src="lib/system-polyfills.js"></script> <script src="lib/shims_for_ie.js"></script> <script src="lib/reflect.js"></script> <script src="lib/zone.js"></script> <script src="lib/system.src.js"></script> <script src="systemjs.config.js"></script> <script src="lib/ng2-translate.js"></script> <script src="lib/jquery.js"></script> <script src="lib/bootstrap.js"></script> <script src="lib/toastr.min.js"></script> <script src="lib/hammer.js"></script> <head> <body> <main> <app-container> loading... </app-container> </main> </body> <script> system.import('app').catch(function(err){ console.error(err); }); </script> <script> if (window.location.search.indexof('?customer=deutz') === 0) document.write('<link href="styles/deutz/customer.css" rel="stylesheet" />'); else if (window.location.search.indexof('?customer=sunbelt') === 0) document.write('<link href="styles/sunbelt/customer.css" rel="stylesheet" />'); else document.write('<link href="styles/default/customer.css" rel="stylesheet" />'); </script> <script src="ga.js"></script> </html>
Comments
Post a Comment