chore(compiler): dead code clean-up.
Dead code that uglifyJS found. Closes #4907
This commit is contained in:
@@ -322,15 +322,6 @@ function moveNodesAfterSibling(sibling, nodes) {
|
||||
}
|
||||
}
|
||||
|
||||
function moveChildNodes(source: Node, target: Node) {
|
||||
var currChild = DOM.firstChild(source);
|
||||
while (isPresent(currChild)) {
|
||||
var nextChild = DOM.nextSibling(currChild);
|
||||
DOM.appendChild(target, currChild);
|
||||
currChild = nextChild;
|
||||
}
|
||||
}
|
||||
|
||||
function decoratePreventDefault(eventHandler: Function): Function {
|
||||
return (event) => {
|
||||
var allowDefaultBehavior = eventHandler(event);
|
||||
|
||||
@@ -252,9 +252,3 @@ class Component<N> {
|
||||
[];
|
||||
}
|
||||
}
|
||||
|
||||
function addAll(source: any[], target: any[]) {
|
||||
for (var i = 0; i < source.length; i++) {
|
||||
target.push(source[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user