mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
fix bug which got introduced by accident
This commit is contained in:
parent
9f9bdcf3d1
commit
47ec218777
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ Compiler.prototype = {
|
|||
// process markup for text nodes only
|
||||
eachTextNode(element, function(textNode){
|
||||
var text = textNode.text();
|
||||
foreach(self.textMarkup, function(markup, name){
|
||||
foreach(self.textMarkup, function(markup){
|
||||
markup.call(selfApi, text, textNode, element);
|
||||
});
|
||||
});
|
||||
|
|
@ -144,7 +144,7 @@ Compiler.prototype = {
|
|||
|
||||
if (directives) {
|
||||
// Process attributes/directives
|
||||
eachAttribute(element, function(value){
|
||||
eachAttribute(element, function(value, name){
|
||||
foreach(self.attrMarkup, function(markup){
|
||||
markup.call(selfApi, value, name, element);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue