From 999bca58715f595497bae8a438608a0d1cb428af Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 1 Feb 2013 16:21:14 -0800 Subject: [PATCH] :lipstick: --- src/stdlib/cson.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stdlib/cson.coffee b/src/stdlib/cson.coffee index 7cc43d496..eab575a11 100644 --- a/src/stdlib/cson.coffee +++ b/src/stdlib/cson.coffee @@ -67,8 +67,7 @@ module.exports = stringify: (object) -> throw new Error("Cannot stringify undefined object") if object is undefined - if _.isFunction(object) - throw new Error("Cannot stringify function: #{object}") + throw new Error("Cannot stringify function: #{object}") if _.isFunction(object) return @stringifyString(object) if _.isString(object) return @stringifyBoolean(object) if _.isBoolean(object)