diff options
| author | Misko Hevery | 2010-10-12 21:52:04 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-10-12 21:52:04 -0700 | 
| commit | 2cb9497d02afdcfc19ea52fddcd6d1f04d81ffdb (patch) | |
| tree | 710de45537aa44509bb4064401f1f1592d8b48af /src/markups.js | |
| parent | d9abfe8a7e488be8725f56077527b16f7c79546a (diff) | |
| download | angular.js-2cb9497d02afdcfc19ea52fddcd6d1f04d81ffdb.tar.bz2 | |
Fixed issue where compiler would pass in detached text node if previous markup would have removed it.
Diffstat (limited to 'src/markups.js')
| -rw-r--r-- | src/markups.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/markups.js b/src/markups.js index f63dd146..159d7b12 100644 --- a/src/markups.js +++ b/src/markups.js @@ -52,8 +52,8 @@ angularTextMarkup('{{}}', function(text, textNode, parentElement) {          cursor.after(newElement);          cursor = newElement;        }); +      textNode.remove();      } -    textNode.remove();    }  }); | 
