@screeley Angular is faster than Ember,
here's the link to prove it: bit.ly/11mNonE
@screeley Backbone is 1,500 lines of
code, Ember has 27,000. Talk about bloat.
@screeley neckbeard, neckbeard,
neckbeard. I hate you.
Slide 7
Slide 7 text
@screeley You are a gentleman and a
scholar, i <3 you #yolo
App.deferReadiness();
// Wait for all the javascript files to load.
$(document).ready(function(){
App.User.current(function(user, profile,
organizations){
// Set everything else up.
App.set('user', user);
// Will start everything up.
App.advanceReadiness();
});
});
Slide 39
Slide 39 text
#10
Save high level
objects on the
Application.
Slide 40
Slide 40 text
var Clip = Em.Namespace.create();
Clip.Copy = Em.View.extend({
didInsertElement: function(){
this.$().attr('data-clipboard-text',
Dolphin.get('org.api_key'));
var clip = new ZeroClipboard( this.$().get(0), {
moviePath: "/scripts/vendor/zero/zero-
clipboard.swf"
});
}
});