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

Function _css

lib/FileAPI.Flash.js:641–652  ·  view source on GitHub ↗
(el, css)

Source from the content-addressed store, hash-verified

639
640
641 function _css(el, css){
642 if( el && el.style ){
643 var key, val;
644 for( key in css ){
645 val = css[key];
646 if( typeof val == 'number' ){
647 val += 'px';
648 }
649 try { el.style[key] = val; } catch (e) {}
650 }
651 }
652 }
653
654
655 function _inherit(obj, methods){

Callers 2

FileAPI.Flash.jsFile · 0.85
_makeFlashImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected