You should look into Dojo Toolkit source code, which now is almost entirely built on AMD.
Regarding "distinct JS downloads for each and every page": again, look at Dojo Toolkit source code and its build system.
79 karma · joined June 29, 2013
You should look into Dojo Toolkit source code, which now is almost entirely built on AMD.
Regarding "distinct JS downloads for each and every page": again, look at Dojo Toolkit source code and its build system.
- Pretty print
- Hot code replacePhantomJS also runs some ancient version of WebKit, which means it is not compatible with modern browsers.
ps. Why compare with top 3 american internet giants, what's the point?
if (obj1BoundingBox === this.RECTANGLE &&
obj2BoundingBox === this.RECTANGLE)
return Maths.rectanglesIntersecting(obj1, obj2);
which means it will not work for moving objectsI mean, if it is possible for "imbecile" and a "poser" to get this job, there must be something wrong with it, your employer and its recruitment process.
Why waste energy, time and your life for problems like this one?
Making single frame of JS code to run fast is cool and dandy, but eventually browser will have to make freeze and do reflow+repaint. Eventually it will make profiling harder, think about caching .offsetHeight etc. properties. It does decrease script execution time, but it does not make your app to work faster.
That's not big suprise tho, if you are required to have Adobe Flash player installed in order to use Youtube.
There is also entire advertisement ecosystem built by Google, which relies on flash player... and I don't mean ads here, but all the data about users which Google is harvesting through it thanks to Google Toolbar which is bundled with Flash player.
ps. I didn't mean pure javascript solution anyway:)
if(top!=self) doNotFetchSensitiveInfoFromServer(true);https://github.com/google/traceur-compiler
however its development kinda stopped in last months
Upload image of your poo, computer program will tell you if you have any health problems or you should change your diet.
Homakov go!