Permalink
Browse files

[lib] added in map via class feature

  • Loading branch information...
Paolo Fragomeni
Paolo Fragomeni committed Nov 16, 2011
1 parent b77dd16 commit c96e239516744dfa78eb3d28f48c1023428b0363
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/plates.js
View
@@ -64,6 +64,7 @@
//
// has an attribute who's value is a match.
//
+ console.log(map[key])
if (matchedAttr[1] === map[key] && data[matchedAttr[2]]) {
var idx = matchedTag.index + matchedTag[0].length;
html = html.slice(0, idx) + data[matchedAttr[2]] + html.slice(idx);

0 comments on commit c96e239

Please sign in to comment.