Skip to content

Instantly share code, notes, and snippets.

Brad Fol bradfol

Block or report user

Report or block bradfol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Debouncer.swift
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) {
View .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
#
View index.html
<!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-->
View app.js
window.App = Ember.Application.create();
App.Router.map(function(){
this.resource("users");
});
@bradfol
bradfol / index.html
Created Mar 4, 2013
Local file demonstration of github issue #2184 https://github.com/emberjs/ember.js/issues/2184
View index.html
<!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-->
You can’t perform that action at this time.