JSCS fixes

This commit is contained in:
jelhan 2016-03-18 13:01:50 +01:00
parent 3e8e7e2af6
commit 40d81ab8c1

View file

@ -1,13 +1,13 @@
/*jshint node:true*/ /*jshint node:true*/
/* global require, module */ /* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); const EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) { module.exports = function() {
var pickFiles = require('broccoli-static-compiler'); const pickFiles = require('broccoli-static-compiler');
var unwatchedTree = require('broccoli-unwatched-tree'); const unwatchedTree = require('broccoli-unwatched-tree');
var trees = []; const trees = [];
var app = new EmberApp({ const app = new EmberApp({
babel: { babel: {
optional: ['es6.spec.symbols'], optional: ['es6.spec.symbols'],
includePolyfill: true includePolyfill: true
@ -99,6 +99,6 @@ module.exports = function(defaults) {
} }
trees.push(app.toTree()); trees.push(app.toTree());
var mergeTrees = require('broccoli-merge-trees'); const mergeTrees = require('broccoli-merge-trees');
return mergeTrees(trees); return mergeTrees(trees);
}; };