Commit f9b0e0ef authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #1046 from kt3k/feature/update-todomvc-common-vanillajs

Update todomvc-common of vanillajs example
parents 063c5499 31e6b971
......@@ -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