diff --git a/archive/v0.1.9/change-log.html b/archive/v0.1.9/change-log.html index 02235584..73846f27 100644 --- a/archive/v0.1.9/change-log.html +++ b/archive/v0.1.9/change-log.html @@ -64,7 +64,14 @@
v0.1.9 - maintenance
extract option to m.request to allow access to response metadata #53v0.1.8 - maintenance
diff --git a/archive/v0.1.9/installation.html b/archive/v0.1.9/installation.html index f32057e4..49652e60 100644 --- a/archive/v0.1.9/installation.html +++ b/archive/v0.1.9/installation.html @@ -86,6 +86,11 @@Then, to use Mithril, point a script tag to the downloaded file:
<script src="/components/lhorie/mithril/master/mithril.min.js"></script>
Jordan Humphreys created a gem to allow integration with Rails:
+https://github.com/mrsweaters/mithril-rails
+It includes support for the MSX HTML templating syntax from Jonathan Buchanan.
+You can also fork the latest stable project directly from Github.
If you want to use the bleeding edge version, you can fork the development repository.
diff --git a/archive/v0.1.9/mithril.min.zip b/archive/v0.1.9/mithril.min.zip index 6305edb0..d16c924f 100644 Binary files a/archive/v0.1.9/mithril.min.zip and b/archive/v0.1.9/mithril.min.zip differ diff --git a/archive/v0.1.9/mithril.request.html b/archive/v0.1.9/mithril.request.html index 01db307e..88900d3f 100644 --- a/archive/v0.1.9/mithril.request.html +++ b/archive/v0.1.9/mithril.request.html @@ -324,7 +324,7 @@ where:any extract(XMLHttpRequest xhr, XHROptions options) (optional)
Method to use to extract the data from the raw XMLHttpRequest. This is useful when the relevant data is either in a response header or the status field.
-If this parameter is falsy, xhr.responseText will be used.
If this parameter is falsy, the default value is function(xhr, options) {return xhr.responseText}.
void type(Object
The response object (or the child items if this object is an Array) will be passed as a parameter to the class constructor defined by type
Note, however, that since the code above is not valid Javascript, this syntax can only be used with a preprocessor build tool such as the provided Gulp.js script.
+This tool is also available as a Rails gem, created by Jordan Humphreys.
You can pre-compile Mithril templates to make them run faster. For more information see this page:
diff --git a/docs/change-log.md b/docs/change-log.md index 4cf6de5d..8a8dea8a 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -4,7 +4,14 @@ ### News: +- added comparison with React to homepage - added support for multi-island apps [#34](https://github.com/lhorie/mithril.js/issues/34) +- m.prop is now JSON-serializable [#54](https://github.com/lhorie/mithril.js/issues/54) +- added `extract` option to `m.request` to allow access to response metadata [#53](https://github.com/lhorie/mithril.js/issues/53) + +### Breaking changes: + +- changing an id in a virtual element now recreates the element, instead of recycling it [#55](https://github.com/lhorie/mithril.js/issues/55) --- diff --git a/docs/installation.md b/docs/installation.md index f996881a..83d54521 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -104,6 +104,16 @@ Then, to use Mithril, point a script tag to the downloaded file: --- +### Rails + +Jordan Humphreys created a gem to allow integration with Rails: + +[https://github.com/mrsweaters/mithril-rails](Mithril-Rails) + +It includes support for the [MSX](https://github.com/insin/msx) HTML templating syntax from Jonathan Buchanan. + +--- + ### Github You can also fork the latest stable project [directly from Github](https://github.com/lhorie/mithril). diff --git a/docs/mithril.request.md b/docs/mithril.request.md index 02643d51..12ed8a05 100644 --- a/docs/mithril.request.md +++ b/docs/mithril.request.md @@ -371,7 +371,7 @@ where: Method to use to extract the data from the raw XMLHttpRequest. This is useful when the relevant data is either in a response header or the status field. - If this parameter is falsy, `xhr.responseText` will be used. + If this parameter is falsy, the default value is `function(xhr, options) {return xhr.responseText}`. - **void type(Object