Skip to content

Instantly share code, notes, and snippets.

@mpj
Created April 21, 2011 16:33
Show Gist options
  • Save mpj/934938 to your computer and use it in GitHub Desktop.
Save mpj/934938 to your computer and use it in GitHub Desktop.
// ==========================================================================
// Project: Jaysprout
// Copyright: ©2011 My Company, Inc.
// ==========================================================================
/*globals Jaysprout */
var Jaysprout = SC.Application.create();
Jaysprout.Clip = SC.Object.extend({
title: null,
thumbnailUrl: null
});
Jaysprout.store = SC.Store.create().from('Jaysprout.RESTDataSource');
Jaysprout.QUERY_ALL_CLIPS = SC.Query.local(Jaysprout.Clip)
SC.ready(function() {
Jaysprout.mainPane = SC.TemplatePane.append({
layerId: 'jaysprout',
templateName: 'jaysprout'
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment