- Start Date: (fill me in with today's date, YYYY-MM-DD)
- Relevant Team(s): (fill this in with the team(s) to which this RFC applies)
- RFC PR: (after opening the RFC PR, update this with a link to it and update the file name)
- Tracking: (leave this empty)
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'input', | |
attributeBindings: [ 'type', 'value', 'placeholder', 'data-stripe', 'name' ], | |
type: 'text', | |
_sanitizedValue: undefined, | |
input() { this._handleChangeEvent(); }, | |
change() { this._handleChangeEvent(); }, |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
phoneNumber: null, | |
didReceiveAttrs({newAttrs}) { | |
this._super(...arguments); | |
if (this.get('updatedValue') !== newAttrs.phoneNumber.value) { | |
this.set('value', newAttrs.phoneNumber.value); | |
} else { |
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
export default [ | |
{id:1, "age": 10, name: 'dog1', image: "http://i3.kym-cdn.com/photos/images/newsfeed/000/217/040/48ACD.png", likes_cats: 'false', plays_fetch: true}, | |
{id: 2,"age": 5, name: 'dog2', image: "http://www.ljplus.ru/img4/m/i/mister_trash/tumblr_lht7cvv39S1qamjl2o1_1280.jpg_AWSAccessKeyId_AKIAJ6IHWSU3BX3X7X3Q-Expires_1302934942-Signature_T1_2B9PPWHwEePu4hsLHTosJKnli4_3D", likes_cats: 'true', plays_fetch: false}, | |
{id: 3,"age": 3, name: 'dog3', image: "http://i.imgur.com/sCcYF.jpg", likes_cats: 'true', plays_fetch: true}, | |
{id: 4,"age": 8, name: 'dog4', image: "http://i.imgur.com/bRwvu16.jpg", likes_cats: 'true', plays_fetch: false} | |
]; |
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
export default [ | |
{"id":1,"age": 6,"name":"cat1","image":"http://24.media.tumblr.com/tumblr_m4j2e7Fd7M1qejbiro1_1280.jpg","owner_name":"Paul","relationships":{"cat_friends":[2,3],"best_friend":3}}, | |
{"id":2,"age": 3,"name":"cat2","image":"http://24.media.tumblr.com/tumblr_lxrexcSVCh1qbd47zo1_1280.jpg","owner_name":"Joachim","relationships":{"cat_friends":[1,5],"best_friend":null}}, | |
{"id":3,"age": 8,"name":"cat3","image":"http://24.media.tumblr.com/x3Rmp1Hjoou8ifx3UMrV8ILfo1_500.jpg","owner_name":"Stefan","relationships":{"cat_friends":[1],"best_friend":1}}, | |
{"id":4,"age": 5,"name":"cat4","image":"http://25.media.tumblr.com/tumblr_lvc0n6lEl41qe42cbo1_1280.png","owner_name":"Matt","relationships":{"cat_friends":[5],"best_friend":5}}, | |
{"id":5,"age": 2,"name":"cat5","image":"http://24.media.tumblr.com/tumblr_lx7vafr8cy1r7lwjko1_250.gif","owner_name":"Igor","relationships":{"cat_friends":[4,2],"best_friend":4}}, | |
{"id":6,"age": 1,"name":"cat6","image":"http://25.media.tumblr.com/tumblr_lp9ovcC5Id1qiatdho1 |
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
{{radio-button-group itmes=someItems name='name' value=selected}} | |
<p> selected radio button is: {{selected}}</p> |
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
App.MyRecord = DS.Model.extend({ | |
save: function(){ | |
setSomeFlag(); | |
this._super(); | |
} | |
}) |
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
App.Person = Ember.Object.extend({ | |
childAges: Ember.computed.mapBy('children', 'age') | |
}); |
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
/* Put your CSS here */ | |
html, body { | |
margin: 20px; | |
} |
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
Running: {"package":"container"} | |
Tests timed out | |
rake aborted! | |
Command failed with status (124): [phantomjs /home/igor/.rvm/gems/ruby-1.9.2-...] | |
/home/igor/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner' | |
/home/igor/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call' | |
/home/igor/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh' | |
/home/igor/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh' | |
/home/igor/.rvm/gems/ruby-1.9.2-p320/bundler/gems/ember-dev-31e82147b572/lib/tasks/test.rake:60:in `block (3 levels) in <top (required)>' |
NewerOlder