Further style tweaks to #321

This commit is contained in:
Jermolene
2014-01-03 10:48:00 +00:00
parent 1374bd9d78
commit 8fc5c1d4a0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ exports.addAttributeToParseTreeNode = function(node,name,value) {
};
exports.getAttributeValueFromParseTreeNode = function(node,name,defaultValue) {
if(node.type === "element" && node.attributes && node.attributes[name] && node.attributes[name].value != undefined) {
if(node.type === "element" && node.attributes && node.attributes[name] && node.attributes[name].value !== undefined) {
return node.attributes[name].value;
}
return defaultValue;