├── .eslintrc ├── .github └── workflows │ ├── docs-gh-pages.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── History.md ├── README.md ├── docs ├── .gitignore ├── 404.html ├── Gemfile ├── Gemfile.lock ├── README.md ├── _config.yml ├── _sass │ ├── color_schemes │ │ └── derby-light.scss │ ├── custom.scss │ └── custom │ │ └── custom.scss ├── apps.md ├── components.md ├── components │ ├── charts-debug.png │ ├── component-class.md │ ├── events.md │ ├── lifecycle.md │ ├── scope.md │ └── view-partials.md ├── guides.md ├── guides │ └── troubleshooting.md ├── index.md ├── models.md ├── models │ ├── backends.md │ ├── contexts.md │ ├── events.md │ ├── filters-sorts.md │ ├── getters.md │ ├── mutators.md │ ├── paths.md │ ├── queries.md │ ├── reactive-functions.md │ └── refs.md ├── routes.md ├── views.md └── views │ ├── namespaces-and-files.md │ ├── template-syntax.md │ └── template-syntax │ ├── blocks.md │ ├── escaping.md │ ├── functions-and-events.md │ ├── literals.md │ ├── operators.md │ ├── paths.md │ └── view-attributes.md ├── package.json ├── src ├── App.ts ├── AppForServer.ts ├── Controller.ts ├── Derby.ts ├── DerbyForServer.ts ├── Dom.ts ├── Page.ts ├── PageForServer.ts ├── _views.js ├── components.ts ├── documentListeners.js ├── eventmodel.ts ├── files.ts ├── index.ts ├── parsing │ ├── createPathExpression.ts │ ├── index.ts │ └── markup.ts ├── routes.ts ├── server.ts ├── templates │ ├── contexts.ts │ ├── dependencyOptions.ts │ ├── expressions.ts │ ├── index.ts │ ├── operatorFns.ts │ ├── templates.ts │ └── util.ts ├── test-utils │ ├── ComponentHarness.ts │ ├── assertions.ts │ ├── domTestRunner.ts │ └── index.ts └── textDiff.js ├── test ├── .jshintrc ├── all │ ├── App.mocha.js │ ├── ComponentHarness.mocha.js │ ├── eventmodel.mocha.js │ ├── parsing │ │ ├── dependencies.mocha.js │ │ ├── expressions.mocha.js │ │ ├── templates.mocha.js │ │ └── truthy.mocha.js │ └── templates │ │ └── templates.mocha.js ├── dom │ ├── ComponentHarness.mocha.js │ ├── as.mocha.js │ ├── bindings.mocha.js │ ├── components.browser.mocha.js │ ├── components.mocha.js │ ├── dom-events.mocha.js │ ├── domTestRunner.mocha.js │ ├── forms.browser.mocha.js │ └── templates │ │ └── templates.dom.mocha.js ├── fixtures │ ├── simple-box.html │ └── simple-box.js ├── mocha.opts ├── public │ └── index.html ├── server.js └── server │ ├── ComponentHarness.mocha.js │ └── templates │ └── templates.server.mocha.js ├── tsconfig.json ├── typedoc.json └── typedocExcludeUnderscore.mjs /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/docs-gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/.github/workflows/docs-gh-pages.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.swp 3 | node_modules 4 | .vscode 5 | dist/ 6 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /History.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/History.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/README.md -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/404.html -------------------------------------------------------------------------------- /docs/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/Gemfile -------------------------------------------------------------------------------- /docs/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/Gemfile.lock -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/_sass/color_schemes/derby-light.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/_sass/color_schemes/derby-light.scss -------------------------------------------------------------------------------- /docs/_sass/custom.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/_sass/custom.scss -------------------------------------------------------------------------------- /docs/_sass/custom/custom.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/_sass/custom/custom.scss -------------------------------------------------------------------------------- /docs/apps.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/apps.md -------------------------------------------------------------------------------- /docs/components.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components.md -------------------------------------------------------------------------------- /docs/components/charts-debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components/charts-debug.png -------------------------------------------------------------------------------- /docs/components/component-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components/component-class.md -------------------------------------------------------------------------------- /docs/components/events.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components/events.md -------------------------------------------------------------------------------- /docs/components/lifecycle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components/lifecycle.md -------------------------------------------------------------------------------- /docs/components/scope.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components/scope.md -------------------------------------------------------------------------------- /docs/components/view-partials.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/components/view-partials.md -------------------------------------------------------------------------------- /docs/guides.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Guides 4 | has_children: true 5 | --- 6 | -------------------------------------------------------------------------------- /docs/guides/troubleshooting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/guides/troubleshooting.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/models.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models.md -------------------------------------------------------------------------------- /docs/models/backends.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/backends.md -------------------------------------------------------------------------------- /docs/models/contexts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/contexts.md -------------------------------------------------------------------------------- /docs/models/events.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/events.md -------------------------------------------------------------------------------- /docs/models/filters-sorts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/filters-sorts.md -------------------------------------------------------------------------------- /docs/models/getters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/getters.md -------------------------------------------------------------------------------- /docs/models/mutators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/mutators.md -------------------------------------------------------------------------------- /docs/models/paths.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/paths.md -------------------------------------------------------------------------------- /docs/models/queries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/queries.md -------------------------------------------------------------------------------- /docs/models/reactive-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/reactive-functions.md -------------------------------------------------------------------------------- /docs/models/refs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/models/refs.md -------------------------------------------------------------------------------- /docs/routes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/routes.md -------------------------------------------------------------------------------- /docs/views.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views.md -------------------------------------------------------------------------------- /docs/views/namespaces-and-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/namespaces-and-files.md -------------------------------------------------------------------------------- /docs/views/template-syntax.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax.md -------------------------------------------------------------------------------- /docs/views/template-syntax/blocks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/blocks.md -------------------------------------------------------------------------------- /docs/views/template-syntax/escaping.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/escaping.md -------------------------------------------------------------------------------- /docs/views/template-syntax/functions-and-events.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/functions-and-events.md -------------------------------------------------------------------------------- /docs/views/template-syntax/literals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/literals.md -------------------------------------------------------------------------------- /docs/views/template-syntax/operators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/operators.md -------------------------------------------------------------------------------- /docs/views/template-syntax/paths.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/paths.md -------------------------------------------------------------------------------- /docs/views/template-syntax/view-attributes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/docs/views/template-syntax/view-attributes.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/package.json -------------------------------------------------------------------------------- /src/App.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/App.ts -------------------------------------------------------------------------------- /src/AppForServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/AppForServer.ts -------------------------------------------------------------------------------- /src/Controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/Controller.ts -------------------------------------------------------------------------------- /src/Derby.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/Derby.ts -------------------------------------------------------------------------------- /src/DerbyForServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/DerbyForServer.ts -------------------------------------------------------------------------------- /src/Dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/Dom.ts -------------------------------------------------------------------------------- /src/Page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/Page.ts -------------------------------------------------------------------------------- /src/PageForServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/PageForServer.ts -------------------------------------------------------------------------------- /src/_views.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/_views.js -------------------------------------------------------------------------------- /src/components.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/components.ts -------------------------------------------------------------------------------- /src/documentListeners.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/documentListeners.js -------------------------------------------------------------------------------- /src/eventmodel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/eventmodel.ts -------------------------------------------------------------------------------- /src/files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/files.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/parsing/createPathExpression.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/parsing/createPathExpression.ts -------------------------------------------------------------------------------- /src/parsing/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/parsing/index.ts -------------------------------------------------------------------------------- /src/parsing/markup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/parsing/markup.ts -------------------------------------------------------------------------------- /src/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/routes.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/templates/contexts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/contexts.ts -------------------------------------------------------------------------------- /src/templates/dependencyOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/dependencyOptions.ts -------------------------------------------------------------------------------- /src/templates/expressions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/expressions.ts -------------------------------------------------------------------------------- /src/templates/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/index.ts -------------------------------------------------------------------------------- /src/templates/operatorFns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/operatorFns.ts -------------------------------------------------------------------------------- /src/templates/templates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/templates.ts -------------------------------------------------------------------------------- /src/templates/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/templates/util.ts -------------------------------------------------------------------------------- /src/test-utils/ComponentHarness.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/test-utils/ComponentHarness.ts -------------------------------------------------------------------------------- /src/test-utils/assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/test-utils/assertions.ts -------------------------------------------------------------------------------- /src/test-utils/domTestRunner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/test-utils/domTestRunner.ts -------------------------------------------------------------------------------- /src/test-utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/test-utils/index.ts -------------------------------------------------------------------------------- /src/textDiff.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/src/textDiff.js -------------------------------------------------------------------------------- /test/.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/.jshintrc -------------------------------------------------------------------------------- /test/all/App.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/App.mocha.js -------------------------------------------------------------------------------- /test/all/ComponentHarness.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/ComponentHarness.mocha.js -------------------------------------------------------------------------------- /test/all/eventmodel.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/eventmodel.mocha.js -------------------------------------------------------------------------------- /test/all/parsing/dependencies.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/parsing/dependencies.mocha.js -------------------------------------------------------------------------------- /test/all/parsing/expressions.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/parsing/expressions.mocha.js -------------------------------------------------------------------------------- /test/all/parsing/templates.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/parsing/templates.mocha.js -------------------------------------------------------------------------------- /test/all/parsing/truthy.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/parsing/truthy.mocha.js -------------------------------------------------------------------------------- /test/all/templates/templates.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/all/templates/templates.mocha.js -------------------------------------------------------------------------------- /test/dom/ComponentHarness.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/ComponentHarness.mocha.js -------------------------------------------------------------------------------- /test/dom/as.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/as.mocha.js -------------------------------------------------------------------------------- /test/dom/bindings.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/bindings.mocha.js -------------------------------------------------------------------------------- /test/dom/components.browser.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/components.browser.mocha.js -------------------------------------------------------------------------------- /test/dom/components.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/components.mocha.js -------------------------------------------------------------------------------- /test/dom/dom-events.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/dom-events.mocha.js -------------------------------------------------------------------------------- /test/dom/domTestRunner.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/domTestRunner.mocha.js -------------------------------------------------------------------------------- /test/dom/forms.browser.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/forms.browser.mocha.js -------------------------------------------------------------------------------- /test/dom/templates/templates.dom.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/dom/templates/templates.dom.mocha.js -------------------------------------------------------------------------------- /test/fixtures/simple-box.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | -------------------------------------------------------------------------------- /test/fixtures/simple-box.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/fixtures/simple-box.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --reporter spec 2 | --bail 3 | -------------------------------------------------------------------------------- /test/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/public/index.html -------------------------------------------------------------------------------- /test/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/server.js -------------------------------------------------------------------------------- /test/server/ComponentHarness.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/server/ComponentHarness.mocha.js -------------------------------------------------------------------------------- /test/server/templates/templates.server.mocha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/test/server/templates/templates.server.mocha.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/typedoc.json -------------------------------------------------------------------------------- /typedocExcludeUnderscore.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derbyjs/derby/HEAD/typedocExcludeUnderscore.mjs --------------------------------------------------------------------------------