VNDB fork of mithril.js
Find a file
Robin (Robert) Thomas b5219920ab Ospec: expose messages for passing tests, in addition to failing tests (#2227)
* ospec: all results, failing and passing, include .message and .context

Previously only failing tests had .message and .context.

* Updated docs

* Function was ugly

* Ospec verbose passing tests: put changelog update in right place
2018-11-21 15:47:10 -05:00
.github chore: removing myself due to chronic lack of time 2018-09-13 11:18:58 -07:00
api Correct test scripts 2017-12-30 04:44:00 -05:00
bundler Switch to Terser (#2289) 2018-11-09 13:55:25 -05:00
docs Update/improve 3rd party integration docs (#2306) 2018-11-21 15:45:42 -05:00
examples Prevent create empty item 2017-05-01 13:27:22 +01:00
module lint 2016-09-23 22:49:20 -04:00
ospec Ospec: expose messages for passing tests, in addition to failing tests (#2227) 2018-11-21 15:47:10 -05:00
performance [performance] use individual files rather than the build, revamp the attrs code to reduce variance, reset the scratch pad more reliably 2018-06-07 18:09:38 +02:00
promise Merge branch 'next' 2018-10-25 14:23:33 -04:00
querystring allow array data in m.request 2017-01-23 18:03:33 -05:00
render Revert "Fix #1771 and probably others (#2286)" (#2299) 2018-11-14 19:26:23 -05:00
request Add support for setting responseType of xhr via m.request options 2018-08-20 11:29:36 +02:00
router "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
stream output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
test-utils Revert "Fix #1771 and probably others (#2286)" (#2299) 2018-11-14 19:26:23 -05:00
tests Correct test scripts 2017-12-30 04:44:00 -05:00
util Add m.prop (#2268) 2018-11-07 12:18:55 -05:00
.deploy.enc Set up repo for travis commits (#1210) 2016-08-04 09:58:28 -07:00
.editorconfig clean up repo 2017-01-30 11:18:47 -05:00
.eslintignore output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
.eslintrc.js Revert eslintrc change, return Promise instead of using async/await 2017-10-28 18:32:58 -04:00
.gitattributes Missed a word [skip ci] 2017-07-22 03:16:27 -04:00
.gitignore "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
.npmignore Update package lockfile and danger/lint-staged 2017-08-25 02:59:38 -04:00
.travis.yml Update Travis script [skip ci] 2018-11-07 13:21:09 -05:00
browser.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
esm.js output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
hyperscript.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
index.js output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
LICENSE docs: Adding license file. (#1583) 2017-02-01 09:25:00 -08:00
mithril.js Bundled output for commit 4d579c50b6 [skip ci] 2018-11-15 00:28:11 +00:00
mithril.min.js Bundled output for commit 4d579c50b6 [skip ci] 2018-11-15 00:28:11 +00:00
mithril.min.mjs output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
mithril.mjs output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
mount.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
package-lock.json Switch to Terser (#2289) 2018-11-09 13:55:25 -05:00
package.json output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
README.md readme updated for npm installation (#2303) 2018-11-19 02:57:12 -05:00
redraw.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
render.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
request.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
route.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
stream.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00

mithril.js NPM Version NPM License NPM Downloads

Build Status Gitter

What is Mithril?

A modern client-side Javascript framework for building Single Page Applications. It's small (8.93 KB gzipped), fast and provides routing and XHR utilities out of the box.

Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍.

Browsers all the way back to IE9 are supported, no polyfills required 👌.

Installation

CDN

<script src="https://unpkg.com/mithril"></script>

npm

$ npm install mithril --save

The "Getting started" guide is a good place to start learning how to use mithril.

Documentation

Documentation lives on mithril.js.org.

You may be interested in the API Docs, a Simple Application, or perhaps some Examples.

Getting Help

Mithril has an active & welcoming community on Gitter, or feel free to ask questions on Stack Overflow using the mithril.js tag.

Contributing

There's a Contributing FAQ on the mithril site that hopefully helps, but if not definitely hop into the Gitter Room and ask away!


Thanks for reading!

🎁