Home | History | Annotate | Download | only in webapp

Lines Matching refs:fn

345     * Add a listener |fn| to listen to |type| event.
347 * @param {function(?=):void} fn
349 addEventListener: function(type, fn) {
350 base.debug.assert(typeof fn == 'function');
354 listeners.push(fn);
358 * Remove the listener |fn| from the event source.
360 * @param {function(?=):void} fn
362 removeEventListener: function(type, fn) {
363 base.debug.assert(typeof fn == 'function');
370 if (listener == fn) {