Thanks for sharing, but in my app I really need five to be six. If you could address this one small issue I'm sure your lib would see much more use.
Show HN: A Javascript library to overcomplicate Five
11–20 of 31 posts
Re: Show HN: A Javascript library to overcomplicate Five
#12Re: Show HN: A Javascript library to overcomplicate Five
#13Re: Show HN: A Javascript library to overcomplicate Five
#14Re: Show HN: A Javascript library to overcomplicate Five
#15five.tooSlow = function() { var returnIn = new Date(new Date().valueOf() + 555); do {} while(new Date() Finally a way to escape callback hell. I think somebody should write a jQuery.ajax plugin that calls the function repeatedly until a request is finished.
You can make synchronous requests already though:
req = new XMLHttpRequest
req.open("some/url", "GET", false);
req.send()Re: Show HN: A Javascript library to overcomplicate Five
#16Re: Show HN: A Javascript library to overcomplicate Five
#17Really makes me wish you could invoke instance methods on numbers (ala 5.amIFive())
Number.prototype.amIFive = function(){ return this.valueOf() == 5; }
5..amIFive();
Re: Show HN: A Javascript library to overcomplicate Five
#18Thanks for sharing, but in my app I really need five to be six. If you could address this one small issue I'm sure your lib would see much more use.
var six = five() + five() / five();
Some people may rely on that functionality.
Re: Show HN: A Javascript library to overcomplicate Five
#19Really makes me wish you could invoke instance methods on numbers (ala 5.amIFive())