Skip to content

Instantly share code, notes, and snippets.

{
"common": {
"term_24bit_colors": true,
"dividers": {
"left": {
"hard": "",
"soft": ""
},
"right": {
"hard": "",

You're Invited!

Have you been thinking about proposing a talk for jQuery Portland 2013? You should be! We're looking to put together a roster of speakers that can bring a diverse set of experiences together to create a program that goes above and beyond just what's new in jQuery.

A lot of folks convince themselves not to submit a talk because they're worried their idea "isn't on topic" or that "someone else 'better' will surely do that." That's why Rebecca Murphey (@rmurphey) and I (@ajpiano) are hosti

You're Invited!

Have you been thinking about proposing a talk for jQuery Portland 2013? You should be! We're looking to put together a roster of speakers that can bring a diverse set of experiences together to create a program that goes above and beyond just what's new in jQuery.

A lot of folks convince themselves not to submit a talk because they're worried their idea "isn't on topic" or that "someone else 'better' will surely do that." That's why Rebecca Murphey (@rmurphey and I (@ajpiano are hosting a live Q&A for people who are thinking about speaking but

App.Router.map({
'/': 'home',
'/foo/:bar': 'fooBar',
'/route/with/nested/routes': {
handler: 'handler',
routes: {
'/moar/routes/plz': 'boom'
}
}
define([
'jquery',
'util',
'underscore',
'rsvp'
], function( $, util, _, RSVP ) {
var SearchResults = function( el ) {
if ( !(this instanceof SearchResults)) {
return new SearchResults( el );
}
define([
'fixtures/searchData',
'jquery',
'searchResults'
], function( data, $, SearchResults ) {
suite('SearchResults', function() {
var ul;
setup(function() {
define([
'jquery',
'underscore',
'util',
'searchForm',
'searchResults',
'data'
], function( $, _, util, SearchForm, SearchResults, SearchData ) {
$(function() {
define([
'squire',
'jquery',
'fixtures/searchData',
'fixtures/templates'
], function( Squire, $, data, templates ) {
var injector = new Squire();
injector
.mock( 'util', {
define([ 'jquery' ], function($) {
var MyPlugin = function(domNode) {
$(domNode).html('foo');
};
$.fn.myPlugin = function() {
new MyPlugin( this );
};
return MyPlugin;
@rmurphey
rmurphey / filter_subdir.sh
Created October 21, 2012 17:58 — forked from cowboy/filter_subdir.sh
Make a new repo from a subdirectory of an original repo
# Please don't just RUN this. Do it step-by-step.
user=bocoup
orig_repo=training
new_repo=training-jquery
subdir=jquery-conference
# Pull down the original repo.
git clone git@github.com:$user/$orig_repo.git $new_repo
# Repo, I'm in you.