Permalink
Browse files

Merge pull request #1 from acarr/patch-1

"onLoad" was being called outside the require for "sproutcore."
  • Loading branch information...
2 parents 0585362 + b03fb1e commit 37c2f5bbe6ec10a02aaec1b225179b917d9b8f2b @SlexAxton committed Nov 29, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 extras/tmpl.js
View
@@ -216,9 +216,10 @@
if ( ! SC.TEMPLATES[ scName ] ) {
SC.TEMPLATES[ scName ] = SC.Handlebars.compile( content );
}
+
+ onLoad(content);
});
// END TMPL SPECIFICS
- onLoad(content);
},
load: function (name, req, onLoad, config) {

0 comments on commit 37c2f5b

Please sign in to comment.