Commit graph

512 commits

Author SHA1 Message Date
Benedetto
ea7f8e0ec3 "name" gives me error - use a_name instead
I have noticed that one of the initial examples gives a error in my browser debugger (Safari). 
According to this page: http://www.w3schools.com/js/js_reserved.asp, "You should also avoid using the name of JavaScript built-in objects, properties, and method" (and name is listed).
In my case, if I change name to something else, I no longer get the error.
Thanks for Mithril!
2014-10-02 08:21:07 +01:00
Leo Horie
481d3feead whitespace 2014-10-01 22:22:38 -04:00
Leo Horie
586591c8b2 break #151 to fix #214 and #288. Use m.redraw.strategy("none") to resolve double-redraws in onkeypress+oninput 2014-10-01 22:22:23 -04:00
Leo Horie
a0ab0d1943 #289 remove weird characters 2014-10-01 22:18:17 -04:00
Leo Horie
bfd043aa5e guide updates 2014-10-01 22:17:49 -04:00
Leo Horie
349988eaa7 version bump 2014-10-01 22:17:29 -04:00
Leo Horie
6f6ea4ce0d use minified file in guide to match installation 2014-09-28 14:38:29 -04:00
Leo Horie
b559118832 fix formatting in docs 2014-09-27 21:01:00 -04:00
Leo Horie
30879a1d78 publish 0.1.22 2014-09-27 20:45:30 -04:00
Leo Horie
d993da1cfd Merge branch 'typeof_refactor' of github.com:Naddiseo/mithril.js into Naddiseo-typeof_refactor
Conflicts:
	mithril.js
	tests/mithril-tests.js
2014-09-27 19:38:49 -04:00
Leo Horie
3e8896a6d2 remove fat ctrl usage from docs 2014-09-27 18:47:04 -04:00
Leo Horie
db88ec4268 Merge remote-tracking branch 'origin/next' into next 2014-09-27 18:45:52 -04:00
Leo Horie
030f44aee5 Merge pull request #267 from iartem/next
Add default Accept header for XHR
2014-09-27 18:45:21 -04:00
Leo Horie
6b88b28305 rebrand blog 2014-09-26 21:43:36 -04:00
Leo Horie
4184da27c8 update docs about components 2014-09-26 21:42:36 -04:00
Leo Horie
c16350de5a defend against rare null ref when 3rd party libs mess w/ dom 2014-09-25 13:04:43 -04:00
Leo Horie
d250908b27 add test for 277 2014-09-25 13:04:05 -04:00
Leo Horie
c87e174d12 improve documentation 2014-09-25 13:03:42 -04:00
Leo Horie
9bd0585b41 improving components docs 2014-09-25 07:25:51 -04:00
Leo Horie
75787a1483 update change log 2014-09-25 07:25:26 -04:00
Leo Horie
75d7221d06 don't send content-type header if no data 2014-09-25 07:24:25 -04:00
Leo Horie
1032dc49d7 revert until I figure out what's breaking 2014-09-25 00:37:48 -04:00
Leo Horie
99c079dbfc don't send content-type header if no data 2014-09-25 00:34:16 -04:00
Leo Horie
31644f52db add comments 2014-09-24 17:00:26 -04:00
Leo Horie
d2bac50e36 update change log 2014-09-24 17:00:15 -04:00
Leo Horie
d32dd4adf5 revert workaround for #29 in favor of key-based solution 2014-09-21 21:24:15 -04:00
Leo Horie
aa23da4fd1 add docs about bindings 2014-09-21 21:15:32 -04:00
Leo Horie
eea10cfe86 add docs about bidirectional bindings 2014-09-21 14:50:14 -04:00
Leo Horie
16faf2159d add docs in setAttributes 2014-09-21 14:49:00 -04:00
Leo Horie
57e9e1557e improve docs on redrawing and keys 2014-09-21 14:25:26 -04:00
Leo Horie
eceea4addf document deps 2014-09-20 16:55:57 -04:00
Leo Horie
8535331b8a Merge pull request #254 from zzmp/document-deps
Document deps
2014-09-20 11:00:08 -04:00
Leo Horie
d66bc85cff update change log 2014-09-20 10:51:53 -04:00
Leo Horie
d9760fa323 remove dead code 2014-09-20 10:51:43 -04:00
Leo Horie
7cf7e2cba5 fix diff for root=document and no m("html") 2014-09-20 10:33:35 -04:00
Leo Horie
6cbe17cd08 make example valid html5 2014-09-20 10:31:55 -04:00
Leo Horie
094c4e57ff refactor config: m.route to use context 2014-09-20 10:07:56 -04:00
Artem Salpagarov
5b918c9760 Add default Accept header for XHR
By default we're expecting JSON, so it should be "application/json, text/*"
2014-09-19 22:18:06 +04:00
Leo Horie
638bc1feb1 Merge pull request #263 from zzmp/patch-1
fix redraw delay to never exceed FRAME_BUDGET
2014-09-19 11:20:43 -04:00
Leo Horie
5a0de885db ops broke the tests 2014-09-19 11:19:37 -04:00
Leo Horie
5d56955720 Merge remote-tracking branch 'origin/next' into next 2014-09-19 09:51:46 -04:00
Leo Horie
b568426f57 fix logic 2014-09-19 09:51:31 -04:00
Leo Horie
9021a21101 Merge pull request #266 from taylorhakes/test-e2e-format
Fixed formatting, removed semicolons from e2e test file
2014-09-19 09:46:56 -04:00
Leo Horie
f704ca38dc Merge pull request #265 from taylorhakes/unused-autoredraw-param
Removed unused group param from autoredraw
2014-09-19 09:46:19 -04:00
Taylor Hakes
9b1461d31f Fixed formatting, removed semicolons from e2e test file 2014-09-19 08:54:35 -04:00
Zach Pomerantz
ced7d0c0d4 fix redraw delay to never exceed FRAME_BUDGET 2014-09-18 22:57:41 -07:00
Leo Horie
153d2384c8 actually fix error from promise branch merge 2014-09-19 00:28:30 -04:00
Taylor Hakes
8f0a22f914 Removed unused group param from autoredraw 2014-09-19 00:17:31 -04:00
Leo Horie
a73f9cdd3a mark todo 2014-09-19 00:06:43 -04:00
Leo Horie
d80b898b98 fix errors 2014-09-19 00:02:26 -04:00