includes/clientside/static/misc.js
changeset 537 547b7ba6d535
parent 520 4c16e87cfeae
child 550 685e839d934e
equal deleted inserted replaced
536:218a627eb53e 537:547b7ba6d535
   628     el.style.padding = null;
   628     el.style.padding = null;
   629   }
   629   }
   630   el.setAttribute('enano:expand', 'open');
   630   el.setAttribute('enano:expand', 'open');
   631 }
   631 }
   632 
   632 
       
   633 /**
       
   634  * Equivalent to PHP's explode function.
       
   635  */
       
   636 
       
   637 function explode(needle, haystack)
       
   638 {
       
   639   return haystack.split(needle);
       
   640 }
       
   641 
   633 addOnloadHook(expander_onload);
   642 addOnloadHook(expander_onload);