Blame view

node_modules/min-document/test/index.js 422 Bytes
2a09d1a4   liuqimichale   添加宜春 天水 宣化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  var testDocument = require("./test-document")
  var testDomElement = require("./test-dom-element")
  var testDomComment = require("./test-dom-comment")
  var document = require("../index")
  
  testDocument(document)
  testDomElement(document)
  testDomComment(document)
  
  if (typeof window !== "undefined" && window.document) {
      testDocument(window.document)
      testDomElement(window.document)
      testDomComment(window.document)
  }