Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
add web portal framework for TestAPI
[releng.git]
/
utils
/
test
/
testapi
/
3rd_party
/
static
/
testapi-ui
/
assets
/
lib
/
jquery
/
src
/
core
/
DOMEval.js
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
} );