Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ember.js
Search
xamenrax
April 04, 2013
Programming
2
260
Ember.js
test presentation
xamenrax
April 04, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
Outline View in SwiftUI
1024jp
1
340
Jakarta EE meets AI
ivargrimstad
0
310
Vapor Revolution
kazupon
1
210
flutterkaigi_2024.pdf
kyoheig3
0
160
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
650
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
1.1k
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
210
初めてDefinitelyTypedにPRを出した話
syumai
0
430
Realtime API 入門
riofujimon
0
150
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
CSC509 Lecture 13
javiergs
PRO
0
110
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Featured
See All Featured
Music & Morning Musume
bryan
46
6.2k
Why Our Code Smells
bkeepers
PRO
334
57k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Visualization
eitanlees
145
15k
Designing Experiences People Love
moore
138
23k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
YesSQL, Process and Tooling at Scale
rocio
169
14k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
The Invisible Side of Design
smashingmag
298
50k
Transcript
None
• ◦ ◦ ◦ ◦ • ◦ ◦ ◦ ◦
• • • • •
App.Cat = Ember.Object.extend({ name: 'null', meow: function(thing) { alert(thing); }
}); App.Cat = DS.Model.extend({ name: DS.attr('string'), isSelected: DS.attr('boolean', {defaultValue: false}) }); App.Store = DS.Store.extend({ revision: 12 });
• • • •
App.Router.map(function() { this.resource('cats', function() { this.recourse('cat', { path: ':cat_id' };
}); }); App.CatsRoute = Ember.Route.extend({ model: function() { return App.Cat.find(); } }); App.CatRoute = Ember.Route.extend({ model: function(params) { return App.Cat.find(params.cat_id); } });
С • •
• •
None
•