lib/generators/md/common/templates/view.js in marionette_dust-0.0.3 vs lib/generators/md/common/templates/view.js in marionette_dust-0.1.0
- old
+ new
@@ -1,5 +1,5 @@
-<%= app_name %>.module("<%= file_name.capitalize %>.<%= sub_app_scope %>", function (<%= sub_app_scope %>, <%= app_name %>, Backbone, Marionette, $, _) {
+<%= app_name %>.module("<%= @parent_name.camelize %>.<%= file_name.camelize %>", function (<%= sub_app_scope %>, <%= app_name %>, Backbone, Marionette, $, _) {
<%= sub_app_scope %>.View = Marionette.ItemView.extend({
- template: "templates/<%= @submodule_name %>.jst.dust"
+ template: "<%= @submodule_name %>.jst.dust"
});
});