mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-26 14:43:59 +00:00
fix🔁 fix ending comment tag
This commit is contained in:
parent
b5a510a343
commit
f3323ec18e
1 changed files with 1 additions and 1 deletions
|
|
@ -1104,7 +1104,7 @@ angularWidget('a', function() {
|
||||||
*/
|
*/
|
||||||
angularWidget('@ng:repeat', function(expression, element){
|
angularWidget('@ng:repeat', function(expression, element){
|
||||||
element.removeAttr('ng:repeat');
|
element.removeAttr('ng:repeat');
|
||||||
element.replaceWith(jqLite('<!-- ng:repeat: ' + expression + ' --!>'));
|
element.replaceWith(jqLite('<!-- ng:repeat: ' + expression + ' -->'));
|
||||||
var linker = this.compile(element);
|
var linker = this.compile(element);
|
||||||
return function(iterStartElement){
|
return function(iterStartElement){
|
||||||
var match = expression.match(/^\s*(.+)\s+in\s+(.*)\s*$/),
|
var match = expression.match(/^\s*(.+)\s+in\s+(.*)\s*$/),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue