Update 6/14/13
- see https://gist.github.com/machty/5723945 for the latest API (unlikely to change from now on)
- latest Ember build: https://machty.s3.amazonaws.com/ember/ember-async-routing-10.js
// Toggle this boolean to compare against stdlib: | |
#if true // Stdlib version | |
// Quick hack to avoid changing the AnyEquatable implementation below. | |
extension Equatable { typealias EqualSelf = Self } | |
#else // Modified version | |
protocol Equatable { |
/** | |
Ember Data: Dependent Relationships | |
This package extends Ember Data to support creating relationships | |
where a model's dirty state depends not only on its own attributes | |
but on the dirty state of models in dependent relationships as well. | |
```javascript | |
App.Thing = DS.Model.extend({ | |
name : DS.attr('string'), |
var Hapi = require('hapi'); | |
var server = new Hapi.Server('0.0.0.0', 3000); | |
server.route({ | |
method: '*', | |
path: '/{path*}', | |
handler: { | |
proxy: { | |
host: 'amazon.com', |
rm -rf ~/Library/Application\ Support/TextMate/Cache/* |
transitionTo
method.routeTo
event, with the same semantics
as transitionTo
, only that it's an event that routes can respond
to.routeTo
handler which
passes its args to an internal transitionTo
.routeTo
event event.Ember.EditController = Ember.Mixin.create( | |
saveError: false | |
saveInvalid: false | |
isEditing: false | |
# Set associations to be associations of the content. These will then be checked for validity on save | |
# and all of the flags, such as isDirty and isLoaded, will take these associations into consideration. | |
# | |
# Eg: A user may have an address model which is edited within the same transaction. | |
# In this case you would put: |
/* | |
File: KeychainItemWrapper.h | |
Abstract: | |
Objective-C wrapper for accessing a single keychain item. | |
Version: 1.2 - ARCified | |
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple | |
Inc. ("Apple") in consideration of your agreement to the following | |
terms, and your use, installation, modification or redistribution of |