1) Use the new Google Universal Analytics snippet: * http://mathiasbynens.be/notes/async-analytics-snippet#universal-analytics * https://developers.google.com/analytics/devguides/collection/analyticsjs/ 2) Ensure that outbound links are registered by Google Analytics: * Handle outbound links manually to ensure that they are registered with Google Analytics, as the previous method failed to do that. * Remove the unused Google Analytics related code. * Remove `js/main.js` and move its content into `index.html` (one less HTTP request). * Use `htmlcompressor` to minify and obfuscate the inline script, as `htmlmin` doesn't have that feature. Close #4.
* Remove unused CSS rules. * Make consistency changes.
The `index.html` file only uses 3 of the new HTML5 semantic elements. These elements don't really bring much benefit, and because older browsers require extra code in order to display them correctly, they also add to the overall page weight. This commit replaces these elements with `div`s and removes the `html5shiv.js` file (that has a filesize of 9504 bytes or 1245 bytes minimized and gzipped), reducing the overall page weight and elimineting 1 extra component that needs to be maintained.
We currently use Apache v2.2.22-14, so the `<IfModule mod_filter.c>` check isn't necessary. In addition to this, because `mod_filter` isn't enabled on the server, the check also prevents Apache for compressing the files.
In order to use the Google Universal Analytics snippet, `src/js/main.js` also needs to be updated.
Remove link to the `node build script` repository as the project is no longer maintained.
Also, update files to reflect recent changes in H5BP.
zepto -> jquery splash page text update
Replace 'v2.0.x' with 'v2', since it's now at v2.1.0