MCPcopy Index your code
hub / github.com/mailru/FileAPI / _one

Function _one

lib/FileAPI.core.js:169–174  ·  view source on GitHub ↗
(el, type, fn)

Source from the content-addressed store, hash-verified

167
168
169 _one = function(el, type, fn){
170 _on(el, type, function _(evt){
171 _off(el, type, _);
172 fn(evt);
173 });
174 },
175
176
177 _fixEvent = function (evt){

Callers 2

FileAPI.core.jsFile · 0.85
_isRegularFileFunction · 0.85

Calls 3

_onFunction · 0.85
_offFunction · 0.85
fnFunction · 0.85

Tested by

no test coverage detected