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
(function() { | |
window.DS = Ember.Namespace.create({ | |
CURRENT_API_REVISION: 4 | |
}); | |
})(); | |
(function() { |
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
(function() { | |
/*global __fail__*/ | |
/** | |
Define an assertion that will throw an exception if the condition is not | |
met. Ember build tools will remove any calls to ember_assert() when | |
doing a production build. | |
## Examples | |
#js: |
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
(function(exports) { | |
window.DS = Ember.Namespace.create(); | |
})({}); | |
(function(exports) { | |
DS.Adapter = Ember.Object.extend({ | |
commit: function(store, commitDetails) { | |
commitDetails.updated.eachType(function(type, array) { |
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
/******************************************************************** | |
* Kalendae, a framework agnostic javascript date picker * | |
* Copyright(c) 2012 Jarvis Badgley (chipersoft@gmail.com) * | |
* http://github.com/ChiperSoft/Kalendae * | |
* Version 0.2 * | |
********************************************************************/ | |
(function (undefined) { | |
var today; |
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
/** Base container **/ | |
.kalendae { | |
display: inline-block;zoom:1;*display:inline; | |
background:#eee; | |
padding:10px; | |
margin:5px; | |
border-radius:5px; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
font-size:11px; |
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
// This implementation assumes a router that calls connectOutlet on the current parent view's controller along the lines of: | |
// newThingController.connectOutlet({ | |
// name: 'chosenSelect' | |
// }) | |
// | |
//...which in turn assumes you've got App.ChosenSelectController with the sorting mixin along the lines of: | |
// App.ChosenSelectController = Ember.ArrayController.extend({ | |
// content: App.store.findAll(App.Client), | |
// sortProperties: ['name'], | |
// sortAscending: true |
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": | |
{ | |
"client_id": | |
29, | |
"created_at": | |
"2012-08-03T19:26:40Z", | |
"deal_team_memberships": | |
[ | |
190, |
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
{ | |
"projects": | |
[ | |
{ | |
"client_id": | |
29, | |
"created_at": | |
"2012-08-03T02:38:18Z", | |
"deal_team_memberships": | |
[ |
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
+ (void)twitterReverseAuthResponseReceived:(NSData *)responseData | |
{ | |
if (responseData) { | |
NSString *responseStr = [[NSString alloc] | |
initWithData:responseData | |
encoding:NSUTF8StringEncoding]; | |
NSArray *parts = [responseStr componentsSeparatedByString:@"&"]; | |
if (parts.count == 4) { |
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
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost |
OlderNewer