scratch – Blame information for rev 63
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
58 | office | 1 | define( [ |
2 | "../var/document" |
||
3 | ], function( document ) { |
||
4 | "use strict"; |
||
5 | |||
6 | function DOMEval( code, doc ) { |
||
7 | doc = doc || document; |
||
8 | |||
9 | var script = doc.createElement( "script" ); |
||
10 | |||
11 | script.text = code; |
||
12 | doc.head.appendChild( script ).parentNode.removeChild( script ); |
||
13 | } |
||
14 | |||
15 | return DOMEval; |
||
16 | } ); |