Skip to content

Commit

Permalink
change scroll direction
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Steck committed Jan 25, 2022
1 parent 7bc371e commit 325507d
Show file tree
Hide file tree
Showing 15 changed files with 1,613 additions and 1,209 deletions.
6 changes: 6 additions & 0 deletions .lh/.lhignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# list file to not track by the local-history extension. comment line starts with a '#' character
# each line describe a regular expression pattern (search for "Javascript regex")
# it will relate to the workspace directory root. for example:
# ".*\.txt" ignores any file with "txt" extension
# "/test/.*" ignores all the files under the "test" directory
# ".*/test/.*" ignores all the files under any "test" directory (even under sub-folders)
102 changes: 102 additions & 0 deletions .lh/examples/index.html.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"sourceFile": "examples/index.html",
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 21,
"patches": [
{
"date": 1643106920462,
"content": "Index: \n===================================================================\n--- \n+++ \n"
},
{
"date": 1643107038245,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -31,9 +31,9 @@\n \n <body>\n asdf\n <div class=\"js-bounty\"></div>\n- <script src=\"/bounty.js\"></script>\n+ <script src=\"../lib/bounty.js\"></script>\n <script>\n bounty.default({ el: '.js-bounty', value: '£144,167.60' })\n </script>\n </body>\n"
},
{
"date": 1643108749001,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '£144,167.60' })\n+ bounty.default({ el: '.js-bounty', value: '> 144,167.60' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643108766814,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '> 144,167.60' })\n+ bounty.default({ el: '.js-bounty', value: '250000' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643108929545,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '100' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643108944710,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '100' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643108949911,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643108991813,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: 10} })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643109000154,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: 10} })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: 100} })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643109011069,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: 100} })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: 100, y: 100} })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643109019896,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: 100, y: 100} })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: '100', y: '100'} })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643109120384,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3', offset: {x: '100', y: '100'} })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120724482,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3' })\n+ bounty.default({ el: '.js-bounty', value: '250', rotations: '3' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120752675,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250', rotations: '3' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '3' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120802544,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '3' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120808220,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '10' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120815919,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '10' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '100' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120822410,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '100' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '10000000' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120829430,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '10000000' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120835110,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '5' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120844081,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '5' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '10' })\n </script>\n </body>\n \n </html>\n"
},
{
"date": 1643120849539,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -33,9 +33,9 @@\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"../lib/bounty.js\"></script>\n <script>\n- bounty.default({ el: '.js-bounty', value: '250000', rotations: '10' })\n+ bounty.default({ el: '.js-bounty', value: '250000', rotations: '1' })\n </script>\n </body>\n \n </html>\n"
}
],
"date": 1643106920462,
"name": "Commit-0",
"content": "<!doctype html>\n<html lang=\"en\">\n\n<head>\n <meta charset=\"utf-8\">\n <title>bounty</title>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n <meta name=\"author\" content=\"Coderitual\">\n <meta name=\"description\" content=\"Canvas 2d odometer effect\">\n <meta name=\"viewport\" content=\"width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes\">\n <style type=\"text/css\">\n @font-face {\n font-family: 'ITV Reem';\n src: url(assets/itvreem.woff) format('woff');\n }\n\n @font-face {\n font-family: 'WH Hoxton';\n src: url(assets/WHHoxtonWeb-Regular.woff) format('woff');\n }\n\n body {\n background-color: #999;\n font-family: 'WH Hoxton';\n font-size: 82px;\n text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);\n fill: #fff;\n }\n </style>\n</head>\n\n<body>\n asdf\n <div class=\"js-bounty\"></div>\n <script src=\"/bounty.js\"></script>\n <script>\n bounty.default({ el: '.js-bounty', value: '£144,167.60' })\n </script>\n</body>\n\n</html>\n"
}
]
}
22 changes: 22 additions & 0 deletions .lh/package.json.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"sourceFile": "package.json",
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 1,
"patches": [
{
"date": 1643121810362,
"content": "Index: \n===================================================================\n--- \n+++ \n"
},
{
"date": 1643121891278,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -5,9 +5,10 @@\n \"main\": \"lib/bounty.js\",\n \"scripts\": {\n \"start\": \"webpack serve --progress --colors --inline --host 0.0.0.0\",\n \"build\": \"webpack -p\",\n- \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n+ \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\n+ \"start:dev\": \"webpack serve\"\n },\n \"files\": [\n \"lib/*.js\"\n ],\n"
}
],
"date": 1643121810362,
"name": "Commit-0",
"content": "{\n \"name\": \"bounty\",\n \"version\": \"1.3.0\",\n \"description\": \"SVG library for transitioning numbers with motion blur\",\n \"main\": \"lib/bounty.js\",\n \"scripts\": {\n \"start\": \"webpack serve --progress --colors --inline --host 0.0.0.0\",\n \"build\": \"webpack -p\",\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n },\n \"files\": [\n \"lib/*.js\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/coderitual/bounty.git\"\n },\n \"keywords\": [\n \"svg\",\n \"odometer\",\n \"effect\",\n \"animation\",\n \"ui\",\n \"library\",\n \"webcomponents\"\n ],\n \"author\": \"Michal Skowronek <[email protected]>\",\n \"license\": \"MIT\",\n \"devDependencies\": {\n \"babel-core\": \"^6.13.2\",\n \"babel-loader\": \"^6.2.4\",\n \"babel-preset-es2015\": \"^6.13.2\",\n \"babel-preset-stage-0\": \"^6.5.0\",\n \"eslint\": \"^4.18.2\",\n \"eslint-config-airbnb\": \"^10.0.0\",\n \"eslint-plugin-import\": \"^1.12.0\",\n \"eslint-plugin-jsx-a11y\": \"^2.0.1\",\n \"eslint-plugin-react\": \"^6.0.0\",\n \"webpack\": \"^1.13.1\",\n \"webpack-dev-server\": \"^3.1.11\"\n },\n \"dependencies\": {\n \"webpack-cli\": \"^4.9.2\"\n }\n}\n"
}
]
}
Loading

0 comments on commit 325507d

Please sign in to comment.