- s/Ember.select/Ember.Select i think.
This slide is damn funny ^_^
Nothing to add to the slide, but a minor note to keep in mind: there is another
difference. arrayComputed
adds observers to keep refs up to date. So eg
/usr/bin/vim --version | |
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47) | |
Compiled by [email protected] | |
Normal version without GUI. Features included (+) or not (-): | |
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent | |
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments | |
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs | |
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path | |
+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv |
# ~/.gitconfig
[alias]
# "fetch origin"
fo = fetch --prune origin
# "checkout pull request"
cpr = "!f() { git checkout -b pull/$1 pull-requests/$1; }; f"
[remote "origin"]
var originalEmitObject = jasmine.StringPrettyPrinter.prototype.emitObject, | |
originalHtmlReporterParameters = jasmine.HtmlReporter.parameters; | |
jasmine.StringPrettyPrinter.prototype.emitObject = function( object ) { | |
if( Ember.Object.detectInstance( object )){ | |
this.append( object.toString() ); | |
} else { | |
originalEmitObject.apply( this, arguments ); | |
} | |
}; |
Ember.VERSION; | |
// "1.0.pre" | |
(function(render, destroy) { | |
Ember.View.prototype.render = function(){ console.log("render", this.toString()); return render.apply(this,arguments); }; | |
Ember.View.prototype.destroy = function(){ console.log("destroy", this.toString()); return destroy.apply(this,arguments); }; | |
})(Ember.View.prototype.render, Ember.View.prototype.destroy); |
# environments/development.rb | |
# require ruby-debug if you're not in bundler | |
Signal.trap("USR1"){ debugger } | |
# Then in bash (alias for convenience) | |
# kill -usr1 `cat tmp/pid/server.pid` |
div = document.createElement('div'); | |
div.innerHTML = '<span value="6512448364123" />'; | |
div.innerHTML // => "<span value="6512448364123"></span>"; | |
div = document.createElement('div'); | |
div.innerHTML = '<li value="6512448364123" />'; | |
div.innerHTML // => "<li value="2147483647"></li>" |
$ bundle --version | |
Bundler version 1.0.10 | |
$ cat Gemfile | |
source "http://rubygems.org" | |
gem 'ruby-debug19' | |
gem 'ruby-debug-ide19' |
$ bundle --version | |
Bundler version 1.0.10 | |
$ cat Gemfile | |
source "http://rubygems.org" | |
gem 'ruby-debug-ide19' | |
gem 'ruby-debug19' |