Skip to content

Instantly share code, notes, and snippets.

View jschilli's full-sized avatar

Jeff Schilling jschilli

View GitHub Profile
@jschilli
jschilli / model.js
Created September 22, 2011 20:20 — forked from wagenet/model.js
SC Rails DataSource
MyApp.MyModel.mixin({
resourcePathFor: function(action, storeKey, item) {
var id, path;
id = storeKey ? MyApp.store.idFor(storeKey) : null;
switch(action) {
case 'fetch':
case 'create':
path = 'items';
@jschilli
jschilli / assetfile.rb
Created March 13, 2012 17:33 — forked from ppcano/assetfile.rb
Attempting concat multiple match to contact to the same output file
input "assets/vendor" do
match "*.js" do
filter Rake::Pipeline::OrderingConcatFilter,
["minispade.js", "qrcode.js", "jquery.js", "jquery.transit.js"], "app.js"
end
end