This file contains hidden or 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
function throttle(callback, throttleTimeout, throttleTicks) { | |
throttleTimeout = throttleTimeout || 50; | |
throttleTicks = throttleTicks || 20; | |
var tick = 0, | |
timeout; | |
return function() { | |
var args = arguments; |
This file contains hidden or 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
/** | |
* @license AngularJS v1.1.5-65e54de | |
* (c) 2010-2012 Google, Inc. http://angularjs.org | |
* License: MIT | |
*/ | |
(function(window, document, undefined) { | |
'use strict'; | |
//////////////////////////////////// |
This file contains hidden or 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
module.exports = function( grunt ) { | |
'use strict'; | |
grunt.initConfig({ | |
// usemin config | |
// use the original index.html, as this the task which collect the files to compile | |
// relative to the index.html | |
useminPrepare: { | |
html: 'app/index.html' | |
}, |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>reveal.js - The HTML Presentation Framework</title> | |
<meta name="description" content="A framework for easily creating beautiful presentations using HTML"> |
This file contains hidden or 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
{ | |
"show_minimap": false, | |
"auto_complete": false, | |
"close_windows_when_empty": false, | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 14.0, | |
"bold_folder_labels": true, | |
"highlight_modified_tabs": true, | |
"spell_check": true, | |
"draw_white_space": "all", |
This file contains hidden or 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
# JavaScript undefined | |
> The cause of headaches. | |
> The bringer of tears. | |
> The destroyer of functions. | |
> The slayer of equations. |
This file contains hidden or 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
call pathogen#infect() | |
"" Remap leader | |
let mapleader = "," | |
"" Remat jj to esc | |
inoremap jj <ESC> | |
"" Use Vim settings, rather then Vi settings (much better!). | |
"" This must be first, because it changes other options as a side effect. |