Skip to content

Commit

Permalink
Use ES6 shorthand method syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jul 10, 2017
1 parent 979039f commit 3ea29f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
module.exports = {
name: 'ember-cli-uglify',

included: function(app) {
this._super.included.apply(this,arguments);
included(app) {
this._super.included.apply(this, arguments);

const defaults = require('lodash.defaultsdeep');

Expand Down Expand Up @@ -45,7 +45,7 @@ module.exports = {
return true;
},

postprocessTree: function(type, tree) {
postprocessTree(type, tree) {
if (this._options.enabled === true && type === 'all') {
return require('broccoli-uglify-sourcemap')(tree, this._options);
} else {
Expand Down

0 comments on commit 3ea29f2

Please sign in to comment.