chore(compiler): dead code clean-up.

Dead code that uglifyJS found.

Closes #4907
This commit is contained in:
Rado Kirov
2015-10-26 07:23:13 -07:00
committed by Rado Kirov
parent ea6b316932
commit bfe3efab3b
6 changed files with 0 additions and 28 deletions
@@ -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]);
}
}