Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed Jun 10, 2024
1 parent 76bc775 commit d45c58b
Show file tree
Hide file tree
Showing 8 changed files with 513 additions and 511 deletions.
960 changes: 480 additions & 480 deletions lib/metro.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/metro.css.map

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
"devDependencies": {
"@rollup/plugin-multi-entry": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"cypress": "^13.10.0",
"cypress": "^13.11.0",
"ftp-deploy": "^2.4.7",
"less": "^4.2.0",
"postcss": "^8.4.38",
Expand All @@ -67,11 +67,11 @@
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-progress": "^1.1.2",
"shx": "^0.3.4",
"vite": "^5.2.12"
"vite": "^5.2.13"
},
"dependencies": {
"@olton/animation": "^0.3.0",
"@olton/datetime": "^3.0.4",
"@olton/datetime": "^3.0.5",
"@olton/farbe": "^1.0.0",
"@olton/hooks": "^0.3.0",
"@olton/html": "^0.8.1",
Expand Down
4 changes: 2 additions & 2 deletions source/common-css/flex.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ each(@media-rules, {

each(range(24), {
.order-@{value} {
order: @value!important;
order: @value;
}
})

Expand Down Expand Up @@ -123,7 +123,7 @@ each(@media-rules, {

each(range(24), .(@v){
.order-@{v}-@{key} {
order: @v!important;
order: @v;
}
})
}
Expand Down
1 change: 1 addition & 0 deletions temp/closed-eye.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions temp/opened-eye.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions tests/countdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="text-center">Countdown test page</h1>

<hr>
<div>
<div data-role="countdown" data-date="12/18/2021" class="countdownItems"></div>
<div id="cd1" data-role="countdown" data-date="12/18/2021" class="countdownItems"></div>
<div data-role="countdown" data-date="12/19/2021" class="countdownItems"></div>
<div data-role="countdown" data-date="12/20/2021" class="countdownItems"></div>
<div data-role="countdown" data-date="12/21/2021" class="countdownItems"></div>
Expand All @@ -39,11 +39,11 @@ <h1 class="text-center">Countdown test page</h1>

<script src="../lib/metro.js"></script>
<script>
// var date = "11-18-2020"
// console.log((new Date("11-18-2020")).getTime());
// console.log((new Date("11-19-2020")).getTime());
// console.log((new Date("11-20-2020")).getTime());
// console.log((new Date("11-21-2020")).getTime());
setTimeout(()=>{
const cd = Metro.getPlugin("#cd1", "countdown")
console.log(cd)
cd.resetWith("07/15/2024 20:00")
}, 1000)
</script>
</body>
</html>

0 comments on commit d45c58b

Please sign in to comment.