Permalink
Browse files

Don't return null for falsy values.

  • Loading branch information...
1 parent 94f3908 commit 9aa5043f6cd1bb32f3b697c47b8077c0946a9497 Michael Aufreiter committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 data.js
View
@@ -323,7 +323,7 @@
var p = this.property(property),
value = this.properties[property];
- if (!p || !value) return null;
+ if (!p || value === undefined) return null;
if (Data.isValueType(p.type)) {
return value;

0 comments on commit 9aa5043

Please sign in to comment.