remove horizontal/vertical support

This commit is contained in:
Christopher Chedeau
2014-04-18 09:06:22 -07:00
parent 7ad8da74e0
commit 47faaffef2
2 changed files with 2 additions and 12 deletions

View File

@@ -30,11 +30,6 @@ function computeLayout(node) {
return node.style[key];
}
key = type + capitalizeFirst(axis[location]);
if (key in node.style) {
return node.style[key];
}
if (type in node.style) {
return node.style[type];
}
@@ -100,12 +95,6 @@ function computeLayout(node) {
return -getPosition(node, trailing[axis]);
}
var axis = {
left: 'horizontal',
right: 'horizontal',
top: 'vertical',
bottom: 'vertical'
};
var leading = {
row: 'left',
column: 'top'