Permalink
Browse files

dot call label test passes

  • Loading branch information...
1 parent 6162ac8 commit f25fc468e1d630f0a00de8c008cddddff35b5ef8 @substack committed Sep 18, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 index.js
View
@@ -182,6 +182,9 @@ burrito.label = function (node) {
else if (node.value[0] && typeof node.value[0][1] === 'string') {
return node.value[0][1];
}
+ else if (node.value[0][0] === 'dot') {
+ return node.value[0][node.value[0].length - 1];
+ }
else {
return null;
}

0 comments on commit f25fc46

Please sign in to comment.