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

Commit 1311271

Browse files
committed
refactor: remove unused variables
1 parent 54fa16e commit 1311271

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ng/compile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
873873
// not be able to attach scope data to them, so we will wrap them in <span>
874874
forEach($compileNodes, function(node, index){
875875
if (node.nodeType == 3 /* text node */ && node.nodeValue.match(/\S+/) /* non-empty */ ) {
876-
$compileNodes[index] = node = jqLite(node).wrap('<span></span>').parent()[0];
876+
$compileNodes[index] = jqLite(node).wrap('<span></span>').parent()[0];
877877
}
878878
});
879879
var compositeLinkFn =

src/ng/rootScope.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ function $RootScopeProvider(){
171171
*
172172
*/
173173
$new: function(isolate) {
174-
var ChildScope,
175-
child;
174+
var child;
176175

177176
if (isolate) {
178177
child = new Scope();

0 commit comments

Comments
 (0)