Lines Matching refs:host
52 var host = this, // help compression
55 if (host.attrAdded(name)) {
57 if (host._isLazyAttr(name)) {
58 host._addLazyAttr(name);
61 state = host._state;
74 if (!host.attrAdded(name)) {Y.log('Attribute modifyAttr:' + name + ' has not been added. Use addAttr to add the attribute', 'warn', 'attribute');}
78 * Removes an attribute from the host object
93 * @return {Object} A reference to the host object.
97 var host = this; // help compression
100 if (host._isLazyAttr(name)) {
101 host._addLazyAttr(name);
103 host.set(name, host._state.get(name, INIT_VALUE));
105 Y.each(host._state.data, function(v, n) {
106 host.reset(n);
109 return host;