Skip to content

Instantly share code, notes, and snippets.

@hjdivad
Created February 26, 2013 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hjdivad/5042642 to your computer and use it in GitHub Desktop.
Save hjdivad/5042642 to your computer and use it in GitHub Desktop.
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment