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

Function _inherit

lib/FileAPI.Flash.js:655–663  ·  view source on GitHub ↗
(obj, methods)

Source from the content-addressed store, hash-verified

653
654
655 function _inherit(obj, methods){
656 _each(methods, function (fn, name){
657 var prev = obj[name];
658 obj[name] = function (){
659 this.parent = prev;
660 return fn.apply(this, arguments);
661 };
662 });
663 }
664
665 function _isHtmlFile(file){
666 return file && !file.flashId;

Callers 1

FileAPI.Flash.jsFile · 0.85

Calls 1

_eachFunction · 0.85

Tested by

no test coverage detected