├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ ├── all-os-browser-tests.js.yml │ └── ubuntu-browser-tests.js.yml ├── .gitignore ├── LICENSE ├── README.md ├── dist ├── timeweb.js └── timeweb.module.js ├── package.json ├── rollup.config.js ├── src ├── animated-svg.ts ├── animation-class-poller.ts ├── animation-class.ts ├── animation-frames.ts ├── create-element.ts ├── css-transitions-and-animations.ts ├── custom-event.ts ├── date.ts ├── dom.ts ├── element-animate.ts ├── go-to.ts ├── index.ts ├── library-events.ts ├── logging.ts ├── markings.ts ├── media.ts ├── overwrite-time.ts ├── realtime-loop.ts ├── realtime.ts ├── settings.ts ├── shared.ts ├── simulation.ts ├── timeout-and-interval.ts ├── timing.ts └── utils.ts └── test ├── .eslintrc.json ├── basic.spec.js ├── clearTimeout.spec.js ├── event.spec.js ├── goTo.spec.js ├── init.js ├── overwrite-time.spec.js ├── pages ├── basic.html └── timeweb.js ├── performance-now.spec.js ├── requestAnimationFrame.spec.js ├── setInterval.spec.js ├── setTimeout.spec.js ├── virtual-time-simple.spec.js └── virtual-time-simultaneous.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/all-os-browser-tests.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.github/workflows/all-os-browser-tests.js.yml -------------------------------------------------------------------------------- /.github/workflows/ubuntu-browser-tests.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.github/workflows/ubuntu-browser-tests.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/README.md -------------------------------------------------------------------------------- /dist/timeweb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/dist/timeweb.js -------------------------------------------------------------------------------- /dist/timeweb.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/dist/timeweb.module.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/animated-svg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/animated-svg.ts -------------------------------------------------------------------------------- /src/animation-class-poller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/animation-class-poller.ts -------------------------------------------------------------------------------- /src/animation-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/animation-class.ts -------------------------------------------------------------------------------- /src/animation-frames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/animation-frames.ts -------------------------------------------------------------------------------- /src/create-element.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/create-element.ts -------------------------------------------------------------------------------- /src/css-transitions-and-animations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/css-transitions-and-animations.ts -------------------------------------------------------------------------------- /src/custom-event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/custom-event.ts -------------------------------------------------------------------------------- /src/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/date.ts -------------------------------------------------------------------------------- /src/dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/dom.ts -------------------------------------------------------------------------------- /src/element-animate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/element-animate.ts -------------------------------------------------------------------------------- /src/go-to.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/go-to.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/library-events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/library-events.ts -------------------------------------------------------------------------------- /src/logging.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/logging.ts -------------------------------------------------------------------------------- /src/markings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/markings.ts -------------------------------------------------------------------------------- /src/media.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/media.ts -------------------------------------------------------------------------------- /src/overwrite-time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/overwrite-time.ts -------------------------------------------------------------------------------- /src/realtime-loop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/realtime-loop.ts -------------------------------------------------------------------------------- /src/realtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/realtime.ts -------------------------------------------------------------------------------- /src/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/settings.ts -------------------------------------------------------------------------------- /src/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/shared.ts -------------------------------------------------------------------------------- /src/simulation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/simulation.ts -------------------------------------------------------------------------------- /src/timeout-and-interval.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/timeout-and-interval.ts -------------------------------------------------------------------------------- /src/timing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/timing.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/.eslintrc.json -------------------------------------------------------------------------------- /test/basic.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/basic.spec.js -------------------------------------------------------------------------------- /test/clearTimeout.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/clearTimeout.spec.js -------------------------------------------------------------------------------- /test/event.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/event.spec.js -------------------------------------------------------------------------------- /test/goTo.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/goTo.spec.js -------------------------------------------------------------------------------- /test/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/init.js -------------------------------------------------------------------------------- /test/overwrite-time.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/overwrite-time.spec.js -------------------------------------------------------------------------------- /test/pages/basic.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/pages/basic.html -------------------------------------------------------------------------------- /test/pages/timeweb.js: -------------------------------------------------------------------------------- 1 | ../../dist/timeweb.js -------------------------------------------------------------------------------- /test/performance-now.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/performance-now.spec.js -------------------------------------------------------------------------------- /test/requestAnimationFrame.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/requestAnimationFrame.spec.js -------------------------------------------------------------------------------- /test/setInterval.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/setInterval.spec.js -------------------------------------------------------------------------------- /test/setTimeout.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/setTimeout.spec.js -------------------------------------------------------------------------------- /test/virtual-time-simple.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/virtual-time-simple.spec.js -------------------------------------------------------------------------------- /test/virtual-time-simultaneous.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tungs/timeweb/HEAD/test/virtual-time-simultaneous.js --------------------------------------------------------------------------------