This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set ruler | |
set cursorline | |
call pathogen#infect() | |
syntax on | |
syntax enable | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set ruler | |
set cursorline | |
call pathogen#infect() | |
syntax on | |
syntax enable | |
set backspace=2 | |
set autoindent | |
set number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;define([ | |
"jquery" | |
, "/path/to/module1" | |
, "/path/to/module2" | |
] | |
, function( $, mod1, mod2 ) { | |
var Singleton = (function() { | |
// internal reference to the singleton | |
var instance; | |
// internal mod refs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;define([ | |
"jquery" | |
] | |
, function( $ ) { | |
var Singleton = (function() { | |
// internal reference to the singleton | |
var instance; | |
function init() { | |
function publicMeth() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config( | |
{ | |
paths: { | |
'jquery' : 'libs/jquery-1.11.1.min' | |
, 'jqueryUI' : 'libs/jquery-ui-1.11.2.min' | |
} | |
, shim: { | |
'jqueryUI' : [ 'jquery' ] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// basic example here | |
(function( ) { // protect the lemmings! | |
var _myPlugin = { | |
_create: function() { | |
// this function will get called everytime | |
// your widget is run | |
var self = this; | |
self._callSomePrivateMethod(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config( | |
{ | |
paths: { | |
'jquery' : 'libs/jquery-1.11.1.min' | |
, 'jqueryUI' : 'libs/jquery-ui-1.11.2.min' | |
} | |
, shim: { | |
'jqueryUI' : [ 'jquery' ] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* set the body to be full height of window */ | |
html, body { | |
height: 100%; | |
} | |
body { | |
min-height: 100%; | |
} | |
/* set box sizing on content-wrapper (because there's a padding bottom) */ | |
.content_wrapper { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="loader--wrapper"> | |
<div class="loader--loading"> | |
<div class="loader--bottom-layer"> | |
<img src="assets/ga_full.png"> | |
<div class="loader--mask"></div> | |
</div> | |
<div class="loader--top-layer"> | |
<img src="assets/ga_meat.png"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
NewerOlder