Skip to content

Instantly share code, notes, and snippets.

@chandlerkent
chandlerkent / controllers.application.js
Created May 13, 2016 20:49
ember-parent-child-select-promise
import Ember from 'ember';
const ObjectPromiseProxy = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);
export default Ember.Controller.extend({
storeInventoryItems: Ember.inject.service(),
appName: 'Ember Twiddle',
stores: [
{id: 1, displayName: 'rob'},
{id: 2, displayName:'chandler'}
/*
* CPNavigationBar.j
* AppKit
*
* Created by Nicholas Small.
* Copyright 2009, 280 North, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
/*
* CPUserDefaults.j
* AppKit
*
* Created by Nicholas Small.
* Copyright 2009, 280 North, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
@import <Foundation/CPObject.j>
@import <AppKit/CPOutlineView.j>
@implementation SourceListController : CPObject
{
CPOutlineView outlineView;
CPView owner;
CPDictionary items;
AOURLConnection dataConnection;
/*
* CPPropertyAnimation.j
* AppKit
*
* Created by Nicholas Small. (Extended by David Cann).
* Copyright 2009, Nicholas Small.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either