Skip to content

Commit 6f598c9

Browse files
committed
fix(): fix missed merge conflicts
1 parent 761d4ae commit 6f598c9

1 file changed

Lines changed: 14 additions & 41 deletions

File tree

app/index.js

Lines changed: 14 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
152152
return answers.bootstrap;
153153
}
154154
}], function (answers) {
155-
155+
this.filters.grunt = answers.buildtool === 'grunt' || answers.buildtool === 'grunt_and_gulp';
156+
this.filters.gulp = answers.buildtool === 'gulp' || answers.buildtool === 'grunt_and_gulp';
156157
this.filters.babel = !!answers.babel;
157158
if(this.filters.babel){ this.filters.js = true; }
158159
this.filters[answers.script] = true;
@@ -240,18 +241,6 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
240241
},
241242
default: true
242243
}], function (answers) {
243-
<<<<<<< HEAD
244-
this.filters.grunt = answers.buildtool === 'grunt' || answers.buildtool === 'grunt_and_gulp';
245-
this.filters.gulp = answers.buildtool === 'gulp' || answers.buildtool === 'grunt_and_gulp';
246-
this.filters.babel = !!answers.babel;
247-
if(this.filters.babel){ this.filters.js = false; }
248-
this.filters[answers.script] = true;
249-
this.filters[answers.markup] = true;
250-
this.filters[answers.stylesheet] = true;
251-
this.filters[answers.router] = true;
252-
this.filters.bootstrap = !!answers.bootstrap;
253-
this.filters.uibootstrap = !!answers.uibootstrap;
254-
=======
255244
if(answers.socketio) this.filters.socketio = true;
256245
if(answers.auth) this.filters.auth = true;
257246
if(answers.odms && answers.odms.length > 0) {
@@ -276,7 +265,6 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
276265
}.bind(this));
277266
}
278267

279-
>>>>>>> e6a3fe91009d434d0fe1946f0e4f66d2ea5612eb
280268
cb();
281269
}.bind(this));
282270
},
@@ -399,6 +387,18 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
399387
},
400388

401389
ngModules: function() {
390+
this.filters = this._.defaults(this.config.get('filters'), {
391+
bootstrap: true,
392+
uibootstrap: true
393+
});
394+
395+
this.scriptExt = this.filters.coffee ? 'coffee' : 'js';
396+
this.styleExt = this.filters.less ? 'less' :
397+
this.filters.sass ? 'scss' :
398+
this.filters.stylus ? 'styl' :
399+
'css';
400+
this.templateExt = this.filters.jade ? 'jade' : 'html';
401+
402402
var angModules = [
403403
"'ngCookies'",
404404
"'ngResource'",
@@ -414,32 +414,6 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
414414

415415
},
416416

417-
<<<<<<< HEAD
418-
ngModules: function() {
419-
this.filters = this._.defaults(this.config.get('filters'), {
420-
bootstrap: true,
421-
uibootstrap: true
422-
});
423-
424-
this.scriptExt = this.filters.coffee ? 'coffee' : 'js';
425-
this.styleExt = this.filters.less ? 'less' :
426-
this.filters.sass ? 'scss' :
427-
this.filters.stylus ? 'styl' :
428-
'css';
429-
this.templateExt = this.filters.jade ? 'jade' : 'html';
430-
431-
var angModules = [
432-
"'ngCookies'",
433-
"'ngResource'",
434-
"'ngSanitize'"
435-
];
436-
if(this.filters.ngroute) angModules.push("'ngRoute'");
437-
if(this.filters.socketio) angModules.push("'btford.socket-io'");
438-
if(this.filters.uirouter) angModules.push("'ui.router'");
439-
if(this.filters.uibootstrap) angModules.push("'ui.bootstrap'");
440-
441-
this.angularModules = "\n " + angModules.join(",\n ") +"\n";
442-
=======
443417
default: {},
444418

445419
writing: {
@@ -457,7 +431,6 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
457431
genUtils.processDirectory(this, '.', 'server/api/' + name);
458432
}
459433

460-
>>>>>>> e6a3fe91009d434d0fe1946f0e4f66d2ea5612eb
461434
},
462435

463436
install: {

0 commit comments

Comments
 (0)