…quirrel Using a limited subset reduces the size of the fonts to download.
I have been satisfied with the default width of inputs until using the page in Firefox on Ubuntu 12.04, where inputs are too large by default and the text of the form had too many line breaks. I added styles for the width of inputs to get a more consistent experience across operating systems and browsers.
The intent of this change is to make the declaration of modules more consistent and stable through time. Previously, most modules declared all their code in the global scope, and one used define() from Asynchronous Module Definition format for which a stub had to be provided specifically for this module.
The script utils.js defines several small modules, which are grouped in a single file to limit the number of HTTP requests. This is the exception in this project, where I have kept scripts separate to preserve their traceability, and voluntarily avoided obfuscation to let users check that nothing dubious is happening: no third party tracking, no submission to a server.
The names of parameters have proven to be unstable with the evolution of jslint. The intent of the use of scope() is to write code in a more stable way, that will not need to be rewritten for reuse in the future. In the same vein, the jlint instruction is too anchored in the present; jslint options should be selected in the tool itself instead.
I only exported the most useful methods. More methods, currently private, may be added to the public API as needed. I also added "md5" as a dependency in main module.
It is best to leave the font style off the font name: http://www.metaltoad.com/blog /how-use-font-face-avoid-faux-italic-and-bold-browser-styles
Otherwise, values containing & or < resulted in parse errors and parts of the value where missing in the display as a result.