This repository was archived by the owner on Sep 20, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ var importParser = {
3535 'link[rel=stylesheet]' ,
3636 'style' ,
3737 'script:not([type])' ,
38+ 'script[type="application/javascript"]' ,
3839 'script[type="text/javascript"]'
3940 ] . join ( ',' ) ,
4041
Original file line number Diff line number Diff line change 88 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
99-->
1010< script src ="external-script.js "> </ script >
11+ < script type ="text/javascript ">
12+ window . textJavascriptParsed = new Date ( ) . getTime ( ) ;
13+ </ script >
14+ < script type ="application/javascript ">
15+ window . applicationJavascriptParsed = new Date ( ) . getTime ( ) ;
16+ </ script >
Original file line number Diff line number Diff line change 2222 chai . assert . ok ( window . inlineScriptParsed , 'inlineScriptParsed' ) ;
2323 chai . assert . ok ( window . externalScriptParsed , 'externalScriptParsed' ) ;
2424 chai . assert . equal ( window . uc , '\u2661 \u34A8' , 'unicode matches' ) ;
25+ chai . assert . ok ( window . textJavascriptParsed , 'text/javascript' ) ;
26+ chai . assert . ok ( window . applicationJavascriptParsed , 'application/javascript' ) ;
2527 done ( ) ;
2628 } ) ;
2729 </ script >
You can’t perform that action at this time.
0 commit comments