File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ var STYLES; // filled in when SVG is loaded
116116function GetWindow ( ) {
117117 document = jsdom ( ) ;
118118 html = document . firstChild ;
119- window = document . parentWindow ;
119+ window = document . defaultView ;
120120 window . console = console ;
121121 window . onerror = function ( err , url , line ) { AddError ( "Error: " + err ) }
122122 content = document . body . appendChild ( document . createElement ( "div" ) ) ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ var delimiters = {
117117function GetWindow ( ) {
118118 document = jsdom ( ) ;
119119 html = document . firstChild ;
120- window = document . parentWindow ;
120+ window = document . defaultView ;
121121 window . console = console ;
122122 window . onerror = function ( err , url , line ) { AddError ( "Error: " + err ) }
123123 content = document . body . appendChild ( document . createElement ( "div" ) ) ;
Original file line number Diff line number Diff line change 1818 "url" : " git://github.com/mathjax/MathJax-node.git"
1919 },
2020 "dependencies" : {
21- "jsdom" : " 3.1.1 " ,
21+ "jsdom" : " * " ,
2222 "speech-rule-engine" : " *" ,
2323 "yargs" : " *" ,
2424 "MathJax" : " https://github.com/mathjax/MathJax/tarball/mathjax-node-2.5.1"
You can’t perform that action at this time.
0 commit comments