Created
April 21, 2011 16:33
-
-
Save mpj/934938 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// 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