Skip to content

Instantly share code, notes, and snippets.

@frontage
frontage / requirejs-template
Created January 31, 2013 23:13
Simple starting point for requirejs
(function(){
//put this in your index, this should be the only script file you load
//data-main points to the config file
//<script data-main="app/config" src="app/libs/require.js"></script>
require.config({
//deps is used if you abstract your require([])
//deps: ['main'],
paths: {
@frontage
frontage / gist:4680804
Created January 31, 2013 06:38
HTML5: html5-boilerplate
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
dfgdfgdfg
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->