andrewpaluba.blogspot.com
Andrew Paluba: anonymous function prototype
http://andrewpaluba.blogspot.com/2007/07/anonymous-function-prototype.html
Srijeda, 25. srpnja 2007. There are several scripts that use anonymous functions and we often use them as regulars. Is there a way to have different or dedicated prototypes for this kind of function? Step 1, what is anonymous function? The "original" anonymous function is returned from the global Function object. Return a b c;". MyFunc is a function with all Function prototypes or native methods and with the same constructor of a function. Anonymous(a, b, c) {. IsAnonymous); / undefined. ToArray() ; / t,...
andrewpaluba.blogspot.com
Andrew Paluba: bytefx less than 3Kb ? ... NO, less than TWO
http://andrewpaluba.blogspot.com/2007/07/bytefx-less-than-3kb-no-less-than-two.html
Srijeda, 25. srpnja 2007. Bytefx less than 3Kb? NO, less than TWO. What an incredible compressor . i didn't know it but seems really really a good compressor! I'm talking about memtronic javascript compressor that allows me to pass from about 2.7 Kb into 1.98 Kb (with comments)! Your compressor is fantastic! Pretplati se na: Objavi komentare (Atom). Anonymous function to add simple events. Are speed tests really usefull for developers. Running with a Number. Bytefx less than 3Kb? NO, less than TWO.
andrewpaluba.blogspot.com
Andrew Paluba: Are speed tests really usefull for developers
http://andrewpaluba.blogspot.com/2007/07/are-speed-tests-really-usefull-for.html
Srijeda, 25. srpnja 2007. Are speed tests really usefull for developers. Yesterday my favourite portal HTML.it has posted a speed test inside its blog. This JavaScript benchmark was posted on this site. I think that those kind of tests are only a "point of view" and aren't comparable with real javascript usage. As I've showed on my for and while loop test, every operation is a single case to analize and every single case has not everytime the same result. For example using a for and an. Every Ajax object...
andrewpaluba.blogspot.com
Andrew Paluba: srpnja 2007
http://andrewpaluba.blogspot.com/2007_07_01_archive.html
Srijeda, 25. srpnja 2007. There are several scripts that use anonymous functions and we often use them as regulars. Is there a way to have different or dedicated prototypes for this kind of function? Step 1, what is anonymous function? The "original" anonymous function is returned from the global Function object. Return a b c;". MyFunc is a function with all Function prototypes or native methods and with the same constructor of a function. Anonymous(a, b, c) {. IsAnonymous); / undefined. ToArray() ; / t,...
andrewpaluba.blogspot.com
Andrew Paluba: anonymous function to add simple events
http://andrewpaluba.blogspot.com/2007/07/anonymous-function-to-add-simple-events.html
Srijeda, 25. srpnja 2007. Anonymous function to add simple events. This post shows a simple anonymous function application example, a fake addEventListener. We often use directly the method with the document element, it's simple and fast, then often our preferred way to implement an event. I'm talking about this code. DOM and standars like this method to add an event. But IE doesn't implement addEventListener method (what a news .). This code, for example, doesn't work as expected:. Evt); / callback.
andrewpaluba.blogspot.com
Andrew Paluba: Running with a Number
http://andrewpaluba.blogspot.com/2007/07/running-with-number.html
Srijeda, 25. srpnja 2007. Running with a Number. I think this post is only for basic JS developers and shows how a simple function or a simple operation should be wrote in different ways. In this specific case, I would talk about logic used for a single function while I was optimizing. I've two numbers, x and y, I need to change x, adding or removing a "speed" value, while x is not equal to y. This simple problem has a lot of solutions. This is probably the simplest one:. XRun2y(x, y, speed) {. Well, in ...