General Library
Full of useful functions!
Just put this at the top of your code to start using them.
import('lib-general')
Just put this at the top of your code to start using them.
import('lib-general')
timeHover(new Date((new Date()).getTime() - 1000*60*60*2))
2 hours ago
paramGen({id: '77', lang: 'en'})
?id=77&lang=en
extend(
{value: '5', color: 'blue'},
{bool: true, value: 7}
)
{value:7, color:"blue", bool:true}
// n.th()
(function(){
el = UL({style: '-moz-column-count: 3'})
for(n=0;n<30;++n)
el.push(LI( n.th() ))
return el
})()