synthetic.js revision b83f2c24dbea46614ab539e32fbbbba55776be04
toArray = Y.Array,
noop = function () {};
this.emitFacade = emitFacade;
}
// first arg to delegate notifier should be an object with currentTarget
event = e || {};
if (this.emitFacade) {
if (!e || !e.preventDefault) {
if (isObject(e) && !e.preventDefault) {
} else {
}
}
if (this.delegate) {
}
} else if (this.delegate) {
}
};
function SyntheticEvent() {
}
Y.mix(SyntheticEvent, {
type : '_synth_',
capture : false,
notifiers : [],
detachAll : function () {
while (--i >= 0) {
}
}
};
}
},
_deleteSub: function (sub) {
this.subscribers = {};
this.subCount = 0;
}
},
prototype: {
_init: function () {
// The notification mechanism handles facade creation
true;
config.emitFacade = false;
},
/**
* <p>Implement this function if the event supports a different
* subscription signature. This function is used by both on() and
* delegate(). The second parameter indicates that the event is being
* subscribed via delegate().</p>
*
* <p>Implementations must remove extra arguments from the args list
* before returning. The required args list order for on()
* subscriptions is</p> <pre><code>(type, callback, target, thisObj,
* argN...)</code></pre>
*
* <p>The required args list order for delegate() subscriptions is</p>
*
* <pre><code>(type, callback, target, filter, thisObj,
* argN...)</code></pre>
*
* <p>The return value from this function will be stored on the
* subscription in the '_extra' property for reference elsewhere.</p>
*
* @method processArgs
* @param args {Array} parmeters passed to Y.on(..) or Y.delegate(..)
* @param delegate {Boolean} true if the subscription is from Y.delegate
* @return {any}
*/
//allowDups : false,
var handles = [],
}, selector);
return handle;
}
if (delegate) {
}
// (type, fn, el, thisObj, ...) => (fn, thisObj, ...)
}
}, this);
handles[0] :
new Y.EventHandle(handles);
},
Y.mix(dispatcher, {
eventDef : this,
}, true);
return handle;
},
_unregisterSub: function (sub) {
i;
if (notifiers) {
break;
}
}
}
},
// (type, fn, el, context, filter?) => (type, fn, context, filter?)
if (handles) {
}
}
}, this);
},
handles = [],
if (notifiers) {
if (!filter) {
}
if (first) {
return handle;
} else {
}
}
}
}
},
// Default detach cares only about the callback matching
}
}
}, true);
if (!config) {
config = {};
}
type :
Impl = function () {
};
on: function () {
},
delegate: function () {
},
detach: function () {
}
};
}
};