Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 47ec218

Browse files
committed
fix bug which got introduced by accident
1 parent 9f9bdcf commit 47ec218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Compiler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,15 @@ Compiler.prototype = {
136136
// process markup for text nodes only
137137
eachTextNode(element, function(textNode){
138138
var text = textNode.text();
139-
foreach(self.textMarkup, function(markup, name){
139+
foreach(self.textMarkup, function(markup){
140140
markup.call(selfApi, text, textNode, element);
141141
});
142142
});
143143
}
144144

145145
if (directives) {
146146
// Process attributes/directives
147-
eachAttribute(element, function(value){
147+
eachAttribute(element, function(value, name){
148148
foreach(self.attrMarkup, function(markup){
149149
markup.call(selfApi, value, name, element);
150150
});

0 commit comments

Comments
 (0)