Permalink
Browse files

Merge pull request #391 from mteodori/issue-378

fixes #378 404 main css, main.js
  • Loading branch information...
2 parents 8da66c0 + eb26c98 commit bc001b6d5f282c9f5808b815c9d1483a2963fd3c @ruyadorno ruyadorno committed Mar 26, 2016
@@ -148,7 +148,7 @@ var BackboneGenerator = yeoman.generators.Base.extend({
this.templatePath('_bower.json'),
this.destinationPath('bower.json'),
{
- appSlugName: paramCase(this.appname),
+ appParamCaseName: paramCase(this.appname),
sassBootstrap: this.sassBootstrap,
includeRequireJS: this.includeRequireJS,
includeModernizr: this.includeModernizr,
@@ -163,7 +163,7 @@ var BackboneGenerator = yeoman.generators.Base.extend({
this.destinationPath('.jshintrc'),
{
appName: this.appname,
- appSlugName: paramCase(this.appname),
+ appPascalCaseName: pascalCase(this.appname),
includeRequireJS: this.includeRequireJS
}
);
@@ -354,7 +354,7 @@ var BackboneGenerator = yeoman.generators.Base.extend({
'app',
this.env.options.appPath + '/scripts/main',
{
- appSlugName: paramCase(this.appname)
+ appPascalCaseName: pascalCase(this.appname)
}
);
},
@@ -1,5 +1,5 @@
{
- "name": "<%= appSlugName %>",
+ "name": "<%= appParamCaseName %>",
"version": "0.0.0",
"dependencies": {
<% if (sassBootstrap) { -%>
@@ -1,4 +1,4 @@
-window.<%= appSlugName %> =
+window.<%= appPascalCaseName %> =
Models: {}
Collections: {}
Views: {}
@@ -9,4 +9,4 @@ window.<%= appSlugName %> =
$ ->
'use strict'
- <%= appSlugName %>.init();
+ <%= appPascalCaseName %>.init();
@@ -1,7 +1,7 @@
-/*global <%= appSlugName %>, $*/
+/*global <%= appPascalCaseName %>, $*/
-window.<%= appSlugName %> = {
+window.<%= appPascalCaseName %> = {
Models: {},
Collections: {},
Views: {},
@@ -14,5 +14,5 @@ window.<%= appSlugName %> = {
$(document).ready(function () {
'use strict';
- <%= appSlugName %>.init();
+ <%= appPascalCaseName %>.init();
});
@@ -18,7 +18,7 @@
"jquery": true,
"globals": {
"<%= appName %>": true,
- "<%= appSlugName %>": true,
+ "<%= appPascalCaseName %>": true,
"_": false,
"Backbone": false,
"JST": false,

0 comments on commit bc001b6

Please sign in to comment.