make source git pull freindly, no need to copy files around when updating

This commit is contained in:
Sam
2013-04-15 15:07:40 +10:00
parent ea3c6d2e6f
commit f314e7a89c
6 changed files with 50 additions and 39 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,23 @@
(function() {
var get = Ember.get, set = Ember.set, EmberHandlebars = Ember.Handlebars;
EmberHandlebars.registerHelper('group', function(options) {
var data = options.data,
fn = options.fn,
view = data.view,
childView;
childView = view.createChildView(Ember._MetamorphView, {
context: get(view, 'context'),
template: function(context, options) {
options.data.insideGroup = true;
return fn(context, options);
}
});
view.appendChild(childView);
});
})();
File diff suppressed because it is too large Load Diff