Skip to content

Instantly share code, notes, and snippets.

View bradfol's full-sized avatar

Brad Fol bradfol

View GitHub Profile
@bradfol
bradfol / index.html
Created March 4, 2013 18:10
Local file control #2 of github issue #2184 https://github.com/emberjs/ember.js/issues/2184
<!DOCTYPE html>
<html>
<head>
<title>Application</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.1/ember.js"></script>
<script data-main="start.js" src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.4/require.js"></script>
<!--script src="app.js"></script-->
@bradfol
bradfol / index.html
Created March 4, 2013 17:56
Local file demonstration of github issue #2184 https://github.com/emberjs/ember.js/issues/2184
<!DOCTYPE html>
<html>
<head>
<title>Application</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"></script>
<script type="text/javascript" src="http://runtriz-cdn.s3.amazonaws.com/ember-1.0.0-rc.1-84-gb46ff48.js"></script>
<script data-main="start.js" src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.4/require.js"></script>
<!--script src="app.js"></script-->
@bradfol
bradfol / app.js
Created March 4, 2013 18:01
Local file control of github issue #2184 https://github.com/emberjs/ember.js/issues/2184
window.App = Ember.Application.create();
App.Router.map(function(){
this.resource("users");
});
@bradfol
bradfol / .gitignore
Last active December 22, 2015 10:09 — forked from adamgit/.gitignore
#########################
# .gitignore file for Xcode4 and Xcode5 Source projects
#
# Apple bugs, waiting for Apple to fix/respond:
#
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation?
#
# Version 2.3
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
import Foundation
class Debouncer {
/**
Create a new Debouncer instance with the provided time interval.
- parameter timeInterval: The time interval of the debounce window.
*/
init(timeInterval: TimeInterval) {