UNPKG
steal-qunit
Version:
beta (1.1.0-beta.1)
latest (2.0.0)
rc (1.0.0-rc.1)
2.0.0
1.1.0-beta.1
1.1.0-beta.0
1.0.2
1.0.1
1.0.0
1.0.0-rc.1
1.0.0-rc.0
0.1.4
0.1.3
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
QUnit and StealJS
github.com/bitovi/steal-qunit
bitovi/steal-qunit
steal-qunit
/
add-dom.js
8 lines
(6 loc)
•
187 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"format cjs"
;
if
(!
document
.
getElementById
(
"qunit"
)) {
var
qunit =
document
.
createElement
(
"div"
); qunit.
id
=
"qunit"
; (
document
.
body
||
document
.
documentElement
).
appendChild
(qunit); }