Is it possible to have these in a stand alone library/namespace without the need for bringing the whole of jQuery with it? Not everyone uses jQuery in their JS application and it certainly would aid those who perform server-side JS.
jQuery bit was originally intended to make it compatible with require.js loading; chetan51, Groxx - thanks for pointing it out. We removed that bit but we missed the dependancy, removed now thanks to chetan51
JS Humanize (Give data a human touch)
11–20 of 25 posts
Re: JS Humanize (Give data a human touch)
#12Nice idea, but seems to lack of any input escaping. => Humanize.truncatechars(" alert('yo'); ", 30) " alert('yo'); " => Humanize.linebreaks(" alert('yo'); ") " alert('yo'); " Bug filed.
Re: JS Humanize (Give data a human touch)
#13This might need some internationalization support...
Re: JS Humanize (Give data a human touch)
#14Re: JS Humanize (Give data a human touch)
#15Is it possible to have these in a stand alone library/namespace without the need for bringing the whole of jQuery with it? Not everyone uses jQuery in their JS application and it certainly would aid those who perform server-side JS.
jQuery bit was originally intended to make it compatible with require.js loading; chetan51, Groxx - thanks for pointing it out. We removed that bit but we missed the dependancy, removed now thanks to chetan51
Re: JS Humanize (Give data a human touch)
#16This might need some internationalization support...
pferreir, just a heads-up - you've been hellbanned. This means all of your comments are automatically marked as [dead], but you can't see this.
Re: JS Humanize (Give data a human touch)
#17 filesizeformat (1234567890 = 1.15 Gb)
This should be either 9.20 Gb or 1.15 GB.Re: JS Humanize (Give data a human touch)
#181) Gb should be GiB
2) it would be lovely to see some internationalisation support.
Re: JS Humanize (Give data a human touch)
#19Re: JS Humanize (Give data a human touch)
#20This might need some internationalization support...
pferreir, just a heads-up - you've been hellbanned. This means all of your comments are automatically marked as [dead], but you can't see this.
Don't know why this has happened to you...