Skip to content

Instantly share code, notes, and snippets.

@joubertnel
Created January 13, 2012 12:13
Show Gist options
  • Save joubertnel/1605809 to your computer and use it in GitHub Desktop.
Save joubertnel/1605809 to your computer and use it in GitHub Desktop.
Private function - values via closure - Google Closure Compiler optimization
enter:function(a){
var b=get(this,"view"),
c=function(){b.appendTo(a.get("rootElement")||"body")};
b&&(Ember.$.isReady===YES?c():Ember.$(document).ready(function(){c()}))},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment