(el, css)
| 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){ |
no outgoing calls
no test coverage detected