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

Commit 6acea11

Browse files
committed
fix($parse): remove unused variable declaration in generated getters
1 parent 33ab579 commit 6acea11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/parse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ function getterFn(path, options, fullExp) {
904904
};
905905
}
906906
} else {
907-
var code = 'var p;\n';
907+
var code = '';
908908
forEach(pathKeys, function(key, index) {
909909
ensureSafeMemberName(key, fullExp);
910910
code += 'if(s == null) return undefined;\n' +

0 commit comments

Comments
 (0)