Permalink
Browse files

Clean up code

  • Loading branch information...
1 parent 51e41c5 commit 9317ca007f1f5c59084bb5fb17f2298ca10222ef @ai ai committed Mar 12, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/plugins/function.js
@@ -43,9 +43,7 @@ function func(declarations, name, func) {
declarations.forEach(function(decl){
if (!~decl.value.indexOf(name + '(')) return;
decl.value = decl.value.replace(regexp, function(_, args){
- args = args.split(/,\s*/).map(function(arg) {
- return utils.stripQuotes(arg);
- });
+ args = args.split(/,\s*/).map(utils.stripQuotes);
return func.apply(decl, args);
});
});

0 comments on commit 9317ca0

Please sign in to comment.