Permalink
Browse files

Fixed wrong manipulator existence test

  • Loading branch information...
gabipetrovay committed Oct 21, 2013
1 parent 43b367d commit 0baa5b06d82df6eb2a76a870fc7bc70b6d0b7b80
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 lib/manipulator.js
View
@@ -1,2 +1,3 @@
.DS_Store
node_modules
+*.swp
View
@@ -70,7 +70,7 @@ module.exports = function (options, value) {
// manipulators
for (var manipulator in manipulators) {
- if (options[manipulator]) {
+ if (manipulator in options) {
result = manipulators[manipulator](options[manipulator], value);

0 comments on commit 0baa5b0

Please sign in to comment.