Permalink
Browse files

make the tests pass again. note to self: run tests, THEN commit…

  • Loading branch information...
1 parent c8ce159 commit 735bbd9182e91a260797de36c02de492cb443a53 @hegemonic hegemonic committed Sep 10, 2012
@@ -89,6 +89,6 @@ exports.parse = function(tagValue, canHaveName, canHaveType) {
optional: tagInfo.optional,
nullable: tagInfo.nullable,
variable: tagInfo.variable,
- defaultvalue: tagInfo['default']
+ defaultvalue: tagInfo.defaultvalue
};
};
@@ -59,6 +59,6 @@ exports.parse = function(tagInfo) {
optional: tagInfo.optional || optional.optional, // don't override if already true
nullable: nullable.nullable,
variable: variable.variable,
- 'default': tagInfo['default']
+ defaultvalue: tagInfo.defaultvalue
};
};
@@ -35,6 +35,6 @@ exports.parse = function(tagInfo) {
optional: optional,
nullable: tagInfo.nullable,
variable: tagInfo.variable,
- 'default': tagDefault
+ defaultvalue: tagDefault
};
};

0 comments on commit 735bbd9

Please sign in to comment.