Skip to content

Commit

Permalink
Simplify code.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jul 20, 2016
1 parent 84ff7eb commit 1d749b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ module.exports = function(grunt) {
return 'red';
},
'multiple-args': function(less, arg1, arg2) {
return (((arg1.value * 1) + (arg2.value))) + arg1.unit.numerator[0];
return Number(arg1.value) + arg2.value + arg1.unit.numerator[0];
},
'string-result': function() {
return '"Hello"';
Expand Down

0 comments on commit 1d749b0

Please sign in to comment.