Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
source "http://rubygems.org" | |
group :development do | |
gem 'rake' | |
gem 'guard' | |
gem 'coffee-script' | |
gem 'rb-fsevent' | |
gem 'rb-inotify' | |
gem 'compass', '0.11.5' | |
gem 'sass', '3.1.5' | |
gem 'guard-compass' |
// HELPER: #key_value | |
// | |
// Usage: {{#key_value obj}} Key: {{key}} // Value: {{value}} {{/key_value}} | |
// | |
// Iterate over an object, setting 'key' and 'value' for each property in | |
// the object. | |
Handlebars.registerHelper("key_value", function(obj, fn) { | |
var buffer = "", | |
key; |
# Original BrowserDetect.js: @Teevio (http://teev.io/blog/text/13423292) | |
# Original idea: @rogie (http://rog.ie/post/9089341529/html5boilerplatejs) | |
# CoffeeScript implementation: @EtienneLem | |
class BrowserDetect | |
@init: -> | |
browser = @searchString(@dataBrowser) || "An unknown browser" | |
version = @searchVersion(navigator.userAgent) || @searchVersion(navigator.appVersion) || "An unknown version" | |
os = @searchString(@dataOS) || "An unknown OS" |
This is a small collection of scripts showing how to use require.js. It's only one of several ways of setting up a require.js project, but it's enough to get started.
At its core, require.js is about three things:
The following files show how these are achieved.