Skip to content

Commit

Permalink
#12 Clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jun 23, 2017
1 parent ffc66e7 commit 8d1922e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
}

var type = self.customField.type;
//var values = _.isArray(self.customField.options) ? self.customField.options : self.customField.options.split('\n');
var values = self.customField.options.split('\n');

if(type === 'number') {
if(type === 'number') {
return _.without(values.map(function(item) {
return Number(item);
}), NaN);
Expand Down

0 comments on commit 8d1922e

Please sign in to comment.