Commit 03e94be7 authored by Pascal Hartig's avatar Pascal Hartig

Ampersand: update todomvc-common

parent 3b4d470c
......@@ -274,7 +274,6 @@ label[for='toggle-all'] {
text-shadow: 0 0 1px #000,
0 0 10px rgba(199, 107, 107, 0.8);
-webkit-transform: scale(1.3);
-ms-transform: scale(1.3);
transform: scale(1.3);
}
......@@ -399,7 +398,6 @@ label[for='toggle-all'] {
width: 65px;
height: 41px;
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
-webkit-appearance: none;
appearance: none;
......
......@@ -122,16 +122,7 @@
}
function findRoot() {
var base;
[/labs/, /\w*-examples/].forEach(function (href) {
var match = location.href.match(href);
if (!base && match) {
base = location.href.indexOf(match);
}
});
var base = location.href.indexOf('examples/');
return location.href.substr(0, base);
}
......@@ -177,7 +168,7 @@
}
if (!framework && document.querySelector('[data-framework]')) {
framework = document.querySelector('[data-framework]').getAttribute('data-framework');
framework = document.querySelector('[data-framework]').dataset.framework;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment