Skip to content

Commit

Permalink
update scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
purge committed Nov 14, 2013
1 parent 6c86fe0 commit ecec9cb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions grunt-scaffold/root/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ define([
'css!compiled/css/main.css',
'rv!templates/index.html'
], function(require, strings, css, template ) {
return {
Controller: function(opts) {
this.view = new Ractive({
el: opts.config.el,
template: template,
data: { message: strings.hello + " World" }
});
}
return function(opts) {
var view = new Ractive({
el: opts.el,
template: template,
data: { message: strings.hello + " World" }
});
};
});

0 comments on commit ecec9cb

Please sign in to comment.