background preloader

JavaScript

Facebook Twitter

JavaScript Override Patterns. Once we have understood JavaScript Overload Patterns, a good start point to write efficient base classes, it comes natural to wonder about How To Override.First of all, please let me quote one of my favorite sentences from Mr D.

JavaScript Override Patterns

I have been writing JavaScript for 8 years now, and I have never once found need to use an uber function. The super idea is fairly important in the classical pattern, but it appears to be unnecessary in the prototypal and functional patterns. Include JavaScript. It is possible for one JavaScript file to cause another JavaScript file to be included.

Include JavaScript

Whilst the logic for including one JavaScript file from anther is simple and straight forward there is an important "gotcha" with this technique, so be sure to read all the notes on this page before you use the technique. Why would you want to include one JavaScript file from another? Safe web fonts. A very nice discussion of the history of typefaces is taken from and archived here.

Safe web fonts

Another font comparison page is here, archived here. The same site has more excellent information about fonts here, archived here. Another document cross-linking fonts is here.