export var YAHOO = { } ; YAHOO . lang = { method static param { Function } subc param { Function } superc param { Object } overrides extend : function ( subc , superc , overrides ) { if ( ! superc || ! subc ) { throw new Error ( "YAHOO.lang.extend failed, please check that " + "all dependencies are included." ) ; } var F = function ( ) { } ; F . prototype = superc . prototype ; subc . prototype = new F ( ) ; subc . prototype . constructor = subc ; subc . superclass = superc . prototype ; if ( superc . prototype . constructor == Object . prototype . constructor ) { superc . prototype . constructor = superc ; } if ( overrides ) { var i ; for ( i in overrides ) { subc . prototype [ i ] = overrides [ i ] ; } var _IEEnumFix = function ( ) { } , ADD = [ "toString" , "valueOf" ] ; try { if ( /MSIE/ . test ( navigator . userAgent ) ) { _IEEnumFix = function ( r , s ) { for ( i = 0 ; i < ADD . length ; i = i + 1 ) { var fname = ADD [ i ] , f = s [ fname ] ; if ( typeof f === 'function' && f != Object . prototype [ fname ] ) { r [ fname ] = f ; } } } ; } } catch ( ex ) { } ; _IEEnumFix ( subc . prototype , overrides ) ; } } } ;