node-new.js revision b45cf0c43257bd3781496320d9602fac76d997f2
/**
* The Node Utility provides a DOM-like interface for interacting with DOM nodes.
* @module node
* @submodule node-base
*/
/**
* The NodeList class provides a wrapper for manipulating DOM NodeLists.
* Use Y.get() to retrieve NodeList instances.
*
* <strong>NOTE:</strong> NodeList properties are accessed using
* the <code>set</code> and <code>get</code> methods.
*
* @class NodeList
* @constructor
*/
var g_nodes = [],
NODE_NAME = 'nodeName',
Node = function() {
};
Node.DOM_EVENTS = {
click: true
};
Node._instances = [];
});
// null node returns null instance
};
style: {
value: {}
}
};
// call with instance context
};
// call with instance context
};
initializer: function(config) {
uid;
if (typeof node === 'string') {
}
if (node) {
try {
} catch(e) {
// IE: expandos only allowed on HTMLElements
}
} else {
}
},
// TODO: move to Attribute
},
toString: function() {
var str = '',
if (node) {
}
}
// TODO: add yuid?
}
},
_addDOMAttr: function(attr) {
getter: function() {
},
}
});
} else {
}
},
ret;
}
},
this._addDOMAttr(attr);
}
},
this._addDOMAttr(attr);
}
},
destructor: function() {
}
}, true);