module.js
function Search(document, tree) {
    this.document = document;
    this.tree = tree;

    this.onlyFlag = false;
    this.onlySearch = false;

    this.searchFilled = false;
    this.searchList = {
      'id': null,
      'tag': null,
      'attr': []
    };
    this.nodeList = [];
  }
function Search(document, tree) {
    this.document = document;
    this.tree = tree;

    this.onlyFlag = false;
    this.onlySearch = false;

    this.searchFilled = false;
    this.searchList = {
      'id': null,
      'tag': null,
      'attr': []
    };
    this.nodeList = [];
  }
function Search ( document , tree ) { this . document = document ; this . tree = tree ; this . onlyFlag = false ; this . onlySearch = false ; this . searchFilled = false ; this . searchList = { 'id' : null , 'tag' : null , 'attr' : [ ] } ; this . nodeList = [ ] ; }
Search constructor
Search constructor