From 1d749b087ecfe63052ac0169fd7865c6f1a0156e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 20 Jul 2016 22:18:57 +0300 Subject: [PATCH] Simplify code. --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1decc35..cdabfe5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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"';