├── .npmignore ├── archive ├── v0.1.19 │ ├── tools │ │ ├── a.js │ │ ├── test.js │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── package.json │ └── bower.json ├── v0.1.20 │ ├── tools │ │ ├── a.js │ │ ├── test.js │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── package.json │ └── bower.json ├── v0.1.21 │ ├── tools │ │ ├── a.js │ │ ├── test.js │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── package.json │ └── bower.json ├── v0.1.23 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ └── tools │ │ └── template-converter.html ├── v0.1.1 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ └── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs ├── v0.1.10 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.11 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.12 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.13 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ ├── bower.json │ └── mithril.d.ts ├── v0.1.14 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.15 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.16 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.17 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.18 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.2 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ └── package.json ├── v0.1.22 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.24 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.25 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.26 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.27 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.28 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.29 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ ├── bower.json │ └── README.md ├── v0.1.3 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.30 │ ├── mithril.min.zip │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ ├── bower.json │ └── README.md ├── v0.1.4 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ ├── template-converter.html │ │ └── template-compiler.sjs │ ├── package.json │ └── bower.json ├── v0.1.5 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.6 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.7 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── v0.1.8 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json └── v0.1.9 │ ├── mithril.min.zip │ ├── pages.json │ ├── comparisons │ ├── mithril.parsing.html │ ├── jquery.parsing.html │ ├── react.parsing.html │ ├── angular.parsing.html │ └── backbone.parsing.html │ ├── component.json │ ├── tools │ └── template-converter.html │ ├── package.json │ └── bower.json ├── .gitignore ├── .travis.yml ├── docs ├── layout │ ├── comparisons │ │ ├── mithril.parsing.html │ │ ├── jquery.parsing.html │ │ ├── react.parsing.html │ │ ├── angular.parsing.html │ │ └── backbone.parsing.html │ ├── pages.json │ ├── component.json │ ├── tools │ │ └── template-converter.html │ ├── package.json │ └── bower.json ├── roadmap.md ├── community.md ├── mithril.sync.md ├── mithril.deps.md └── mithril.withAttr.md ├── tests ├── index.html ├── e2e │ └── test.html ├── input-cursor.html └── test.js ├── mithril.closure-compiler-externs.js ├── deploy └── cdnjs-package.json ├── LICENSE ├── package.json └── README.md /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/v0.1.19/tools/a.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/v0.1.20/tools/a.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/v0.1.21/tools/a.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | archive 3 | -------------------------------------------------------------------------------- /archive/v0.1.19/tools/test.js: -------------------------------------------------------------------------------- 1 | m("a", [1, [2], 3]) -------------------------------------------------------------------------------- /archive/v0.1.20/tools/test.js: -------------------------------------------------------------------------------- 1 | m("a", [1, [2], 3]) -------------------------------------------------------------------------------- /archive/v0.1.21/tools/test.js: -------------------------------------------------------------------------------- 1 | m("a", [1, [2], 3]) -------------------------------------------------------------------------------- /archive/v0.1.23/mithril.min.zip: -------------------------------------------------------------------------------- 1 | PK -------------------------------------------------------------------------------- /archive/v0.1/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.1/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.1/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.10/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.10/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.11/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.11/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.12/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.12/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.13/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.13/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.14/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.14/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.15/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.15/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.16/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.16/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.17/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.17/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.18/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.18/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.19/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.19/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.2/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.2/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.20/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.20/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.21/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.21/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.22/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.22/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.24/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.24/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.25/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.25/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.26/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.26/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.27/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.27/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.28/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.28/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.29/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.29/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.3/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.3/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.30/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.30/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.4/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.4/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.5/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.5/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.6/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.6/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.7/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.7/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.8/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.8/mithril.min.zip -------------------------------------------------------------------------------- /archive/v0.1.9/mithril.min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philtoms/mithril.js/HEAD/archive/v0.1.9/mithril.min.zip -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | 5 | script: 6 | - grunt test 7 | - grunt teste2e 8 | -------------------------------------------------------------------------------- /archive/v0.1.1/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.10/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.11/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.12/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.2/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.3/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.4/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.5/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.6/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.7/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.8/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1.9/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"} 4 | ] -------------------------------------------------------------------------------- /archive/v0.1/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /docs/layout/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.1/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.10/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.11/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.12/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.13/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.14/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.15/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.16/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.17/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.18/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.19/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.2/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.20/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.21/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.22/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.23/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.24/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.25/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.26/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.27/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.28/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.29/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.3/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.30/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.4/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.5/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.6/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.7/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.8/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.9/comparisons/mithril.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /docs/layout/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.1/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.10/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.11/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.12/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.13/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.14/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.15/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.16/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.17/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.18/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.19/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.2/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.20/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.21/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.22/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.23/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.24/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.25/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.26/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.27/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.28/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.29/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.3/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.30/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.4/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.5/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.6/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.7/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.8/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.9/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.9/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1/comparisons/jquery.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /docs/layout/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.1/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.10/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.11/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.12/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.13/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.14/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.15/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.16/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.17/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.18/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.19/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.2/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.20/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.21/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.22/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.23/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.24/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.25/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.26/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.27/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.28/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.29/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.3/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.30/comparisons/react.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.4/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.5/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.6/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.7/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.8/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.9/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /docs/layout/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.10/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.11/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.12/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.13/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.14/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.15/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.16/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.17/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.18/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.19/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.20/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.21/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.22/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.23/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.24/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.25/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.26/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.27/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.28/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.29/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.30/comparisons/angular.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /docs/layout/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.13/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.14/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.15/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.16/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.17/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.18/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.19/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.20/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.21/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.22/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.23/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.24/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.25/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.26/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.27/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.28/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.29/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.30/pages.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"title": "Getting Started", "url": "getting-started.html"}, 3 | {"title": "Documentation", "url": "mithril.html"}, 4 | {"title": "Mithril Blog", "url": "http://lhorie.github.io/mithril-blog/"}, 5 | {"title": "Mailing List", "url": "https://groups.google.com/forum/#!forum/mithriljs"} 6 | ] -------------------------------------------------------------------------------- /archive/v0.1.17/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.17", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.18/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.18", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.19/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.19", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.2/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repo": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js"], 8 | "version": "0.1.2", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.20/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.20", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.21/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.21", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.22/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.22", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.23/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.23", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.24/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.24", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.25/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.25", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.26/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.26", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.27/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.27", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.28/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.28", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.29/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.29", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.30/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "0.1.30", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /docs/layout/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.js", 7 | "scripts": ["mithril.js"], 8 | "version": "$version", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Open the console to see the test report

-------------------------------------------------------------------------------- /archive/v0.1.10/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.10", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.11/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.11", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.12/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.12", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.13/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.13", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.14/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.14", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.15/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.15", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.16/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.16", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.3/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.3", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.4/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.4", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.5/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.5", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.6/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.6", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.7/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.7", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.8/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.8", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1.9/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "repository": "lhorie/mithril", 6 | "main": "mithril.min.js", 7 | "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], 8 | "version": "0.1.9", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /archive/v0.1/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/layout/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.1/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.10/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.11/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.12/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.13/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.14/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.15/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.16/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.17/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.18/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.19/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.2/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.20/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.21/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.22/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.23/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.24/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.25/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.26/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.27/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.28/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.29/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.3/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.30/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.4/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.5/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.6/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.7/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.8/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.9/tools/template-converter.html: -------------------------------------------------------------------------------- 1 |

If you already have your HTML written and want to convert it into a Mithril template, paste the HTML below and press the "Convert" button.

2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /archive/v0.1.1/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.10/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.11/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.12/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.13/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.14/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.15/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.16/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.17/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.18/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.19/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.2/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.20/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.21/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.22/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.23/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.24/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.25/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.26/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.27/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.28/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.29/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.3/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.30/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.4/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.5/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.6/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.7/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.8/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.9/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /docs/layout/comparisons/backbone.parsing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better) -------------------------------------------------------------------------------- /archive/v0.1.2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.2", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.13/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.13", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.14/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.14", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.15/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.15", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.16/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.16", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.17/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.17", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.18/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.18", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.19/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.19", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.20/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.20", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.21/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.21", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.22/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.22", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.23/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.23", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.24/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.24", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.25/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.25", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.26/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.26", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.27/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.27", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.28/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.28", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.10/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.10", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.11/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.11", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.12/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.12", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.3", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.4/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.4", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.5/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.5", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.6/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.6", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.7/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.7", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.8/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.8", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /archive/v0.1.9/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.9", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.min.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js"] 11 | } -------------------------------------------------------------------------------- /mithril.closure-compiler-externs.js: -------------------------------------------------------------------------------- 1 | var m = { 2 | "render": function () {}, 3 | "trust": function () {}, 4 | "module": function () {}, 5 | "redraw": function () {}, 6 | "startComputation": function () {}, 7 | "endComputation": function () {}, 8 | "withAttr": function () {}, 9 | "route": function () {}, 10 | "prop": function () {}, 11 | "deferred": function () {}, 12 | "sync": function () {}, 13 | "request": function () {}, 14 | "deps": function () {} 15 | } 16 | -------------------------------------------------------------------------------- /docs/layout/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "$version", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js", "README.*"] 11 | } 12 | -------------------------------------------------------------------------------- /archive/v0.1.29/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.29", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js", "README.*"] 11 | } 12 | -------------------------------------------------------------------------------- /archive/v0.1.30/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "description": "A Javascript Framework for building brilliant applications", 4 | "keywords": ["mvc", "framework"], 5 | "version": "0.1.30", 6 | "author": "Leo Horie ", 7 | "repository": {"type": "git", "url": "https://github.com/lhorie/mithril"}, 8 | "main": "mithril.js", 9 | "licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}], 10 | "files": ["mithril.min.js", "mithril.min.map", "mithril.js", "README.*"] 11 | } 12 | -------------------------------------------------------------------------------- /docs/roadmap.md: -------------------------------------------------------------------------------- 1 | ## Roadmap 2 | 3 | Things that would be useful to have (though likely not as part of Mithril core) 4 | 5 | ### Utilities 6 | 7 | - Formatters / parsers 8 | - i18n 9 | - Date 10 | - Absolute (e.g. Jan 1, 1970 12:00 AM) 11 | - Relative (e.g. 10 days ago) 12 | - Number (e.g. 1,234.5) 13 | - Currency (e.g. $1,000.00) 14 | - Word wrap 15 | - Dependency management 16 | - Functional / relational tools 17 | - Animation 18 | 19 | ### Components 20 | 21 | - Autocompleter 22 | - Date/time picker 23 | - Swipe-to-show panel 24 | - Tree -------------------------------------------------------------------------------- /tests/e2e/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Basic Test Suite 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /archive/v0.1.10/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.10", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.11/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.11", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.12/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.12", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.13/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.13", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.14/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.14", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.15/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.15", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.16/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.16", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.17/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.17", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.18/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.18", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.19/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.19", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.20/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.20", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.21/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.21", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.22/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.22", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.23/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.23", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.24/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.24", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.25/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.25", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.26/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.26", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.27/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.27", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.28/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.28", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.29/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.29", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.3/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.3", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.30/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.30", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.4/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.4", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.5/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.5", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.6/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.6", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.7/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.7", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.8/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.8", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /archive/v0.1.9/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.9", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /docs/layout/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "$version", 4 | "main": "mithril.min.js", 5 | "description": "A Javascript Framework for building brilliant applications", 6 | "authors": ["Leo Horie "], 7 | "license": "MIT", 8 | "ignore": [ 9 | "*.html", 10 | "*.css", 11 | "*.zip", 12 | "*.json", 13 | "mithril-tests.js", 14 | "archive", 15 | "comparisons", 16 | "lib", 17 | "tools" 18 | ], 19 | "keywords": ["mithril", "mvc", "framework"] 20 | } -------------------------------------------------------------------------------- /deploy/cdnjs-package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "npmName": "mithril", 4 | "version": "$version", 5 | "filename": "mithril.min.js", 6 | "description": "A Javascript Framework for building brilliant applications", 7 | "homepage": "http://lhorie.github.io/mithril", 8 | "license": "MIT", 9 | "main": "mithril", 10 | "keywords": [ 11 | "mvc", 12 | "browser" 13 | ], 14 | "author": "Leo Horie (http://lhorie.blogspot.com/)", 15 | "contributors": [ 16 | "Leo Horie (http://lhorie.blogspot.com/)" 17 | ], 18 | "bugs": "https://github.com/lhorie/mithril.js/issues", 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/lhorie/mithril.js.git" 22 | }, 23 | "npmFileMap": [ 24 | { 25 | "basePath": "/", 26 | "files": [ 27 | "mithril.js", 28 | "mithril.min.js", 29 | "mithril.min.map" 30 | ] 31 | } 32 | ] 33 | } 34 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Leo Horie 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mithril", 3 | "version": "0.1.0", 4 | "repository": { 5 | "type": "git", 6 | "url": "git@github.com:lhorie/mithril.js.git" 7 | }, 8 | "scripts": { 9 | "test": "grunt test" 10 | }, 11 | "main": "mithril.js", 12 | "devDependencies": { 13 | "grunt-cli": "*", 14 | "grunt-contrib-copy": "*", 15 | "grunt-contrib-uglify": "*", 16 | "grunt-contrib-clean": "*", 17 | "grunt-contrib-concat": "*", 18 | "grunt-execute": "*", 19 | "grunt-md2html": "*", 20 | "grunt-replace": "*", 21 | "grunt-contrib-qunit": "*", 22 | "grunt-zip": "*", 23 | "grunt-jsfmt": "git://github.com/ysimonson/grunt-jsfmt", 24 | 25 | "grunt-contrib-connect": "~0.7.1", 26 | "grunt-contrib-jshint": "~0.10.0", 27 | "grunt-contrib-watch": "~0.6.1", 28 | "grunt-jscs": "^1.1.0", 29 | "grunt-sauce-tunnel": "^0.2.1", 30 | "load-grunt-config": "^0.9.2", 31 | "merge": "^1.1.3", 32 | "publish": "~0.3.2", 33 | "grunt-saucelabs": "*", 34 | "request": "~2.35.0", 35 | "q": "~1.0.0", 36 | "saucelabs": "~0.1.1", 37 | "sauce-tunnel": "~2.0.6", 38 | "colors": "~0.6.2", 39 | "lodash": "~2.4.1" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /docs/community.md: -------------------------------------------------------------------------------- 1 | ## Community 2 | 3 | ### Learn Mithril 4 | 5 | Read Mithril tutorials and articles about web app development. 6 | 7 | Go to the [Learn Mithril site](http://lhorie.github.io/mithril-blog) 8 | 9 | --- 10 | 11 | ### Mailing List 12 | 13 | Looking for a place to talk about Mithril? Suggestions? 14 | 15 | Feel free to post on the [mailing list](https://groups.google.com/forum/#!forum/mithriljs) 16 | 17 | --- 18 | 19 | ### StackOverflow 20 | 21 | Looking for help on StackOverflow? Tag your questions with `mithril.js`. 22 | 23 | Want to help fellow Mithril developers and gain karma while at it? [Keep an eye on the tagged questions](http://stackoverflow.com/questions/tagged/mithril.js) 24 | 25 | --- 26 | 27 | ### IRC 28 | 29 | Join the #mithriljs IRC channel on [Freenode](http://webchat.freenode.net). 30 | 31 | --- 32 | 33 | ### Projects and Snippets 34 | 35 | A collection of projects and snippets created by Mithril users. A great place to find useful tools. 36 | 37 | Go to the [Mithril wiki](https://github.com/lhorie/mithril.js/wiki/Community-Projects-and-Snippets) 38 | 39 | --- 40 | 41 | ### Bug Tracker 42 | 43 | You can file bugs in the [issues page on Github](https://github.com/lhorie/mithril.js/issues?state=open) -------------------------------------------------------------------------------- /docs/mithril.sync.md: -------------------------------------------------------------------------------- 1 | ## m.sync 2 | 3 | This method takes a list of promises and returns a promise that resolves when all promises in the input list have resolved. See [`m.deferred`](mithril.deferred.md) for more information on promises. 4 | 5 | --- 6 | 7 | ### Usage 8 | 9 | ```javascript 10 | var greetAsync = function(delay) { 11 | var deferred = m.deferred(); 12 | setTimeout(function() { 13 | deferred.resolve("hello"); 14 | }, delay); 15 | return deferred.promise; 16 | }; 17 | 18 | m.sync([ 19 | greetAsync(1000), 20 | greetAsync(1500) 21 | ]).then(function(args) { 22 | console.log(args); // ["hello", "hello"] 23 | }); 24 | ``` 25 | 26 | --- 27 | 28 | ### Signature 29 | 30 | [How to read signatures](how-to-read-signatures.md) 31 | 32 | ```clike 33 | Promise sync(Array promises) 34 | 35 | where: 36 | Promise :: GetterSetter { Promise then(any successCallback(any value), any errorCallback(any value)) } 37 | GetterSetter :: any getterSetter([any value]) 38 | ``` 39 | 40 | - **Array promises** 41 | 42 | A list of promises to synchronize 43 | 44 | - **return Promise promise** 45 | 46 | The promise of the deferred object that is resolved when all input promises have been resolved 47 | 48 | The callbacks for this promise receive as a parameter an Array containing the values of all the input promises -------------------------------------------------------------------------------- /tests/input-cursor.html: -------------------------------------------------------------------------------- 1 |

Typing in the fields below should not move the cursor to the end of the input. Especially in Chrome

2 |

All inputs should update with the same value

3 |

Typing in an input should not prevent it from being updated by other inputs

4 |
5 | 6 | 49 | -------------------------------------------------------------------------------- /tests/test.js: -------------------------------------------------------------------------------- 1 | //make "use strict" and nodejs happy 2 | var window = this 3 | 4 | //test reporting for saucelabs 5 | if (typeof window != "undefined") { 6 | window.global_test_results = { 7 | tests: [], 8 | duration: 0, 9 | passed: 0, 10 | failed: 0 11 | }; 12 | } 13 | 14 | if (!this.console) { 15 | var log = function(value) {document.write("
" + value + "
")} 16 | this.console = {log: log, error: log} 17 | } 18 | 19 | function test(condition) { 20 | var duration = 0 21 | var start = 0 22 | var result = true 23 | test.total++ 24 | 25 | if (typeof performance != "undefined" && performance.now) { 26 | start = performance.now() 27 | } 28 | try { 29 | if (!condition()) throw new Error("failed") 30 | } 31 | catch (e) { 32 | result = false 33 | console.error(e) 34 | test.failures.push(condition) 35 | } 36 | if (typeof performance != "undefined" && performance.now) { 37 | duration = performance.now() - start 38 | } 39 | 40 | window.test_obj = { 41 | name: "" + test.total, 42 | result: result, 43 | duration: duration 44 | } 45 | 46 | if (typeof window != "undefined") { 47 | if (!result) { 48 | window.global_test_results.tests.push(window.test_obj) 49 | } 50 | 51 | window.global_test_results.duration += duration 52 | if (result) { 53 | window.global_test_results.passed++ 54 | } else { 55 | window.global_test_results.failed++ 56 | } 57 | } 58 | } 59 | test.total = 0 60 | test.failures = [] 61 | test.print = function(print) { 62 | for (var i = 0; i < test.failures.length; i++) { 63 | print(test.failures[i].toString()) 64 | } 65 | print("tests: " + test.total + "\nfailures: " + test.failures.length) 66 | 67 | if (test.failures.length > 0) { 68 | throw new Error(test.failures.length + " tests did not pass") 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /docs/mithril.deps.md: -------------------------------------------------------------------------------- 1 | ## m.deps 2 | 3 | --- 4 | 5 | - [Usage](#usage) 6 | - [Signature](#signature) 7 | 8 | --- 9 | 10 | This function overwrites the reference to the `window` object that is used internally by Mithril. It is useful for injecting a mock `window` dependency for the purposes of testing and for running Mithril in non-browser environments. The mock object used by Mithril for its own test suite [can be found in the development repo](https://github.com/lhorie/mithril.js/blob/next/tests/mock.js). 11 | 12 | By default, Mithril uses `window` itself as the dependency. Note that Mithril only uses the mock object for browser APIs such as the DOM API and `requestAnimationFrame`, but relies on the environment for ECMAScript features like `Object.keys`. 13 | 14 | --- 15 | 16 | ### Usage 17 | 18 | Call it at the beginning of your test file to supply a mock `window`: 19 | 20 | ```javascript 21 | function testMithril(mockWindow) { 22 | window = m.deps(mockWindow); 23 | 24 | // Your tests here... 25 | } 26 | ``` 27 | 28 | --- 29 | 30 | ### Signature 31 | 32 | [How to read signatures](how-to-read-signatures.md) 33 | 34 | ```clike 35 | Window m.deps(Object window) 36 | 37 | where: 38 | Window :: Object 39 | ``` 40 | 41 | - **Object Window** 42 | 43 | This should be either `window` or a mock of the `window` object. 44 | 45 | Mithril uses certain `window` methods that will need to be made available for complete test coverage, depending on your application: 46 | 47 | - `window.document` 48 | - Mithril also uses certain methods on the DOM node object 49 | - `window.requestAnimationFrame`/`window.cancelAnimationFrame` 50 | - Falls back to `window.setTimeout`/`window.clearTimeout` 51 | - `window.location` 52 | - `window.history` 53 | - `window.scrollTo` 54 | - `window.XMLHttpRequest` 55 | 56 | - **returns** Window 57 | 58 | The returned window is the same as what is passed in. 59 | 60 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/lhorie/mithril.js.svg?branch=master)](https://travis-ci.org/lhorie/mithril.js) 2 | 3 | # Mithril 4 | 5 | A Javascript Framework for Building Brilliant Applications 6 | 7 | See the [website](http://lhorie.github.io/mithril) for documentation 8 | 9 | There's also a [blog](http://lhorie.github.io/mithril-blog) and a [mailing list](https://groups.google.com/forum/#!forum/mithriljs) 10 | 11 | --- 12 | 13 | ## What is Mithril? 14 | 15 | Mithril is a client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain. 16 | 17 | ### Light-weight 18 | 19 | - Only 5kb gzipped, no dependencies 20 | - Small API, small learning curve 21 | 22 | ### Robust 23 | 24 | - Safe-by-default templates 25 | - Hierarchical MVC via components 26 | 27 | ### Fast 28 | 29 | - Virtual DOM diffing and compilable templates 30 | - Intelligent auto-redrawing system 31 | 32 | --- 33 | 34 | ## Sample code 35 | 36 | ```javascript 37 | //namespace 38 | var app = {}; 39 | 40 | //model 41 | app.PageList = function() { 42 | return m.request({method: "GET", url: "pages.json"}); 43 | }; 44 | 45 | //controller 46 | app.controller = function() { 47 | var pages = app.PageList(); 48 | return { 49 | pages: pages, 50 | rotate: function() { 51 | pages().push(pages().shift()); 52 | } 53 | } 54 | }; 55 | 56 | //view 57 | app.view = function(ctrl) { 58 | return [ 59 | ctrl.pages().map(function(page) { 60 | return m("a", {href: page.url}, page.title); 61 | }), 62 | m("button", {onclick: ctrl.rotate}, "Rotate links") 63 | ]; 64 | }; 65 | 66 | 67 | //initialize 68 | m.module(document.getElementById("example"), app); 69 | ``` 70 | 71 | --- 72 | 73 | ### Learn more 74 | 75 | - [Tutorial](http://lhorie.github.io/mithril/getting-started.html) 76 | - [Differences from Other Frameworks](http://lhorie.github.io/mithril/comparison.html) 77 | - [Benchmarks](http://lhorie.github.io/mithril/benchmarks.html) -------------------------------------------------------------------------------- /archive/v0.1.29/README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/lhorie/mithril.js.svg?branch=master)](https://travis-ci.org/lhorie/mithril.js) 2 | 3 | # Mithril 4 | 5 | A Javascript Framework for Building Brilliant Applications 6 | 7 | See the [website](http://lhorie.github.io/mithril) for documentation 8 | 9 | There's also a [blog](http://lhorie.github.io/mithril-blog) and a [mailing list](https://groups.google.com/forum/#!forum/mithriljs) 10 | 11 | --- 12 | 13 | ## What is Mithril? 14 | 15 | Mithril is a client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain. 16 | 17 | ### Light-weight 18 | 19 | - Only 5kb gzipped, no dependencies 20 | - Small API, small learning curve 21 | 22 | ### Robust 23 | 24 | - Safe-by-default templates 25 | - Hierarchical MVC via components 26 | 27 | ### Fast 28 | 29 | - Virtual DOM diffing and compilable templates 30 | - Intelligent auto-redrawing system 31 | 32 | --- 33 | 34 | ## Sample code 35 | 36 | ```javascript 37 | //namespace 38 | var app = {}; 39 | 40 | //model 41 | app.PageList = function() { 42 | return m.request({method: "GET", url: "pages.json"}); 43 | }; 44 | 45 | //controller 46 | app.controller = function() { 47 | var pages = app.PageList(); 48 | return { 49 | pages: pages, 50 | rotate: function() { 51 | pages().push(pages().shift()); 52 | } 53 | } 54 | }; 55 | 56 | //view 57 | app.view = function(ctrl) { 58 | return [ 59 | ctrl.pages().map(function(page) { 60 | return m("a", {href: page.url}, page.title); 61 | }), 62 | m("button", {onclick: ctrl.rotate}, "Rotate links") 63 | ]; 64 | }; 65 | 66 | 67 | //initialize 68 | m.module(document.getElementById("example"), app); 69 | ``` 70 | 71 | --- 72 | 73 | ### Learn more 74 | 75 | - [Tutorial](http://lhorie.github.io/mithril/getting-started.html) 76 | - [Differences from Other Frameworks](http://lhorie.github.io/mithril/comparison.html) 77 | - [Benchmarks](http://lhorie.github.io/mithril/benchmarks.html) -------------------------------------------------------------------------------- /archive/v0.1.30/README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/lhorie/mithril.js.svg?branch=master)](https://travis-ci.org/lhorie/mithril.js) 2 | 3 | # Mithril 4 | 5 | A Javascript Framework for Building Brilliant Applications 6 | 7 | See the [website](http://lhorie.github.io/mithril) for documentation 8 | 9 | There's also a [blog](http://lhorie.github.io/mithril-blog) and a [mailing list](https://groups.google.com/forum/#!forum/mithriljs) 10 | 11 | --- 12 | 13 | ## What is Mithril? 14 | 15 | Mithril is a client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain. 16 | 17 | ### Light-weight 18 | 19 | - Only 5kb gzipped, no dependencies 20 | - Small API, small learning curve 21 | 22 | ### Robust 23 | 24 | - Safe-by-default templates 25 | - Hierarchical MVC via components 26 | 27 | ### Fast 28 | 29 | - Virtual DOM diffing and compilable templates 30 | - Intelligent auto-redrawing system 31 | 32 | --- 33 | 34 | ## Sample code 35 | 36 | ```javascript 37 | //namespace 38 | var app = {}; 39 | 40 | //model 41 | app.PageList = function() { 42 | return m.request({method: "GET", url: "pages.json"}); 43 | }; 44 | 45 | //controller 46 | app.controller = function() { 47 | var pages = app.PageList(); 48 | return { 49 | pages: pages, 50 | rotate: function() { 51 | pages().push(pages().shift()); 52 | } 53 | } 54 | }; 55 | 56 | //view 57 | app.view = function(ctrl) { 58 | return [ 59 | ctrl.pages().map(function(page) { 60 | return m("a", {href: page.url}, page.title); 61 | }), 62 | m("button", {onclick: ctrl.rotate}, "Rotate links") 63 | ]; 64 | }; 65 | 66 | 67 | //initialize 68 | m.module(document.getElementById("example"), app); 69 | ``` 70 | 71 | --- 72 | 73 | ### Learn more 74 | 75 | - [Tutorial](http://lhorie.github.io/mithril/getting-started.html) 76 | - [Differences from Other Frameworks](http://lhorie.github.io/mithril/comparison.html) 77 | - [Benchmarks](http://lhorie.github.io/mithril/benchmarks.html) -------------------------------------------------------------------------------- /docs/mithril.withAttr.md: -------------------------------------------------------------------------------- 1 | ## m.withAttr 2 | 3 | This is an event handler factory. It returns a method that can be bound to a DOM element's event listener. 4 | 5 | Typically, it's used in conjunction with [`m.prop`](mithril.prop.md) to implement data binding in the view-to-model direction. 6 | 7 | This method is provided to decouple the browser's event model from the controller/logic model. 8 | 9 | You should use this method and implement similar ones when extracting values from a browser's Event object, instead of hard-coding the extraction code into controllers (or model methods). 10 | 11 | --- 12 | 13 | ### Usage 14 | 15 | ```javascript 16 | //standalone usage 17 | document.body.onclick = m.withAttr("title", function(value) { 18 | //alerts the title of the body element when it's clicked 19 | alert(value); 20 | }) 21 | ``` 22 | 23 | A contrived example of bi-directional data binding 24 | 25 | ```javascript 26 | var user = { 27 | model: function(name) { 28 | this.name = m.prop(name); 29 | }, 30 | controller: function() { 31 | this.user = new user.model("John Doe"); 32 | }, 33 | view: function(controller) { 34 | m.render("body", [ 35 | m("input", {onchange: m.withAttr("value", controller.user.name), value: controller.user.name()}) 36 | ]); 37 | } 38 | }; 39 | ``` 40 | 41 | --- 42 | 43 | ### Signature 44 | 45 | [How to read signatures](how-to-read-signatures.md) 46 | 47 | ```clike 48 | EventHandler withAttr(String property, void callback(any value)) 49 | 50 | where: 51 | EventHandler :: void handler(Event e) 52 | ``` 53 | 54 | - **String property** 55 | 56 | Defines the property of the DOM element whose value will be passed to the callback. 57 | 58 | - **void callback(any value)** 59 | 60 | This function will be called with the value of the defined property as an argument. 61 | 62 | - **any value** 63 | 64 | This is the value of the defined DOM element's property. 65 | 66 | - **returns EventHandler handler** 67 | 68 | This handler method can be assigned to properties like `onclick`, or passed as callbacks to `addEventListener`. -------------------------------------------------------------------------------- /archive/v0.1.13/mithril.d.ts: -------------------------------------------------------------------------------- 1 | //Mithril type definitions for Typescript 2 | 3 | interface MithrilStatic { 4 | (selector: string, attributes: Object, children?: any): MithrilVirtualElement; 5 | (selector: string, children?: any): MithrilVirtualElement; 6 | prop(value?: any): (value?: any) => any; 7 | withAttr(property: string, callback: (value: any) => void): (e: Event) => any; 8 | module(rootElement: Element, module: MithrilModule): void; 9 | trust(html: string): String 10 | render(rootElement: Element, children?: any): void 11 | render(rootElement: HTMLDocument, children?: any): void 12 | redraw(): void 13 | route(rootElement: Element, defaultRoute: string, routes: { [key: string]: MithrilModule }): void 14 | route(rootElement: HTMLDocument, defaultRoute: string, routes: { [key: string]: MithrilModule }): void 15 | route(path: string): void 16 | route(): string; 17 | route(element: Element, isInitialized: boolean): void; 18 | request(options: MithrilXHROptions): MithrilPromise; 19 | deferred(): MithrilDeferred; 20 | sync(promises: MithrilPromise[]): MithrilPromise; 21 | startComputation(): void; 22 | endComputation(): void; 23 | } 24 | 25 | interface MithrilVirtualElement { 26 | tag: string; 27 | attrs: Object; 28 | children: any; 29 | } 30 | 31 | interface MithrilModule { 32 | controller: Function; 33 | view: Function; 34 | } 35 | 36 | interface MithrilDeferred { 37 | resolve(value?: any): void; 38 | reject(value?: any): void; 39 | promise: MithrilPromise; 40 | } 41 | 42 | interface MithrilPromise { 43 | (value?: any): any; 44 | then(successCallback?: (value: any) => any, errorCallback?: (value: any) => any): MithrilPromise; 45 | } 46 | 47 | interface MithrilXHROptions { 48 | method: string; 49 | url: string; 50 | user?: string; 51 | password?: string; 52 | data?: any; 53 | background?: boolean; 54 | unwrapSuccess?(data: any): any; 55 | unwrapError?(data: any): any; 56 | serialize?(dataToSerialize: any): string; 57 | deserialize?(dataToDeserialize: string): any; 58 | extract?(xhr: XMLHttpRequest, options: MithrilXHROptions); 59 | type?(data: Object): void; 60 | config?(xhr: XMLHttpRequest, options: MithrilXHROptions) 61 | } 62 | 63 | declare var Mithril: MithrilStatic; 64 | declare var m: MithrilStatic; -------------------------------------------------------------------------------- /archive/v0.1.1/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.10/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.11/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.12/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.13/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.14/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.15/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.16/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.17/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.18/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.19/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.2/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.20/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.21/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.22/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.3/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; -------------------------------------------------------------------------------- /archive/v0.1.4/tools/template-compiler.sjs: -------------------------------------------------------------------------------- 1 | /* 2 | Compiles Mithril templates 3 | 4 | Requires sweet.js (https://github.com/mozilla/sweet.js) 5 | Installation: npm install -g sweet.js 6 | Usage: sjs --module /mithril.compile.sjs --output .js .js 7 | */ 8 | 9 | macro m { 10 | case { _ ($selector) } => { 11 | return #{m($selector, {}, [])}; 12 | } 13 | case { _ ($selector, $partial) } => { 14 | var partialSyntax = #{$partial}; 15 | var partial = unwrapSyntax(partialSyntax); 16 | return partial.value == "{}" ? #{m($selector, $partial, [])} : #{m($selector, {}, partial)}; 17 | } 18 | case { _ ($selector, $dynAttrs, $children) } => { 19 | var selectorSyntax = #{$selector}; 20 | var selector = unwrapSyntax(selectorSyntax); 21 | 22 | var dynAttrsSyntax = #{$dynAttrs}; 23 | var dynAttrs = unwrapSyntax(dynAttrsSyntax); 24 | 25 | var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g; 26 | var attrParser = /\[(.+?)=("|'|)(.+?)\2\]/; 27 | var _match = null; 28 | var classes = []; 29 | var cell = {tag: "div", attrs: {}, children: []}; 30 | 31 | while (_match = parser.exec(selector)) { 32 | if (_match[1] == "") cell.tag = _match[2]; 33 | else if (_match[1] == "#") cell.attrs.id = _match[2]; 34 | else if (_match[1] == ".") classes.push(_match[2]); 35 | else if (_match[3][0] == "[") { 36 | var pair = attrParser.exec(_match[3]); 37 | cell.attrs[pair[1]] = pair[3]; 38 | } 39 | } 40 | if (classes.length > 0) cell.attrs["class"] = classes.join(" "); 41 | 42 | var tag = makeValue(cell.tag, #{here}); 43 | var attrsBody = Object.keys(cell.attrs).reduce(function(memo, attrName) { 44 | return memo.concat([ 45 | makeValue(attrName, #{here}), 46 | makePunc(":", #{here}), 47 | makeValue(cell.attrs[attrName], #{here}), 48 | makePunc(",", #{here}) 49 | ]); 50 | }, []).concat(dynAttrs.inner); 51 | var attrs = [makeDelim("{}", attrsBody, #{here})]; 52 | var children = cell.children.map(function(child) { 53 | return makeValue(child, #{here}); 54 | }) 55 | letstx $tag = [tag], $attrs = attrs; 56 | 57 | return #{ ({tag: $tag, attrs: $attrs , children: $children}) }; 58 | } 59 | case { _ } => { 60 | return #{Mithril}; 61 | } 62 | } 63 | 64 | export m; --------------------------------------------------------------------------------