This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/jqLite.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -165,7 +165,7 @@ function JQLite(element) { |
165 | 165 | var div = document.createElement('div'); |
166 | 166 | // Read about the NoScope elements here: |
167 | 167 | // http://msdn.microsoft.com/en-us/library/ms533897(VS.85).aspx |
168 | | - div.innerHTML = '<div> </div>' + element; // IE insanity to make NoScope elements work! |
| 168 | + div.innerHTML = '<div> </div>' + element; // IE insanity to make NoScope elements work! |
169 | 169 | div.removeChild(div.firstChild); // remove the superfluous div |
170 | 170 | JQLiteAddNodes(this, div.childNodes); |
171 | 171 | this.remove(); // detach the elements from the temporary DOM div. |
|
Collapse file
Copy file name to clipboardExpand all lines: src/ng/compile.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -319,7 +319,7 @@ function $CompileProvider($provide) { |
319 | 319 | // not be able to attach scope data to them, so we will wrap them in <span> |
320 | 320 | forEach($compileNode, function(node, index){ |
321 | 321 | if (node.nodeType == 3 /* text node */) { |
322 | | - $compileNode[index] = jqLite(node).wrap('<span>').parent()[0]; |
| 322 | + $compileNode[index] = jqLite(node).wrap('<span></span>').parent()[0]; |
323 | 323 | } |
324 | 324 | }); |
325 | 325 | var compositeLinkFn = compileNodes($compileNode, transcludeFn, $compileNode, maxPriority); |
|