Commit graph

1459 commits

Author SHA1 Message Date
Leo Horie
8faab54c4c Merge pull request #1103 from brlewis/next
Render booleans as empty strings
2016-06-10 15:26:33 -04:00
Bruce Lewis
c98f663653 Render booleans as empty strings 2016-06-10 11:00:56 -04:00
Leo Horie
6f865f6abf duplicate test fix into old test suite 2016-06-10 10:30:31 -04:00
Leo Horie
8ee75924c8 issue template 2016-06-06 09:53:37 -04:00
Leo Horie
9f91858843 Merge remote-tracking branch 'origin/next' into next 2016-06-06 09:22:20 -04:00
Leo Horie
3cf16631a0 fix valueless attributes #1093 2016-06-06 09:21:58 -04:00
Leo Horie
ece9376711 Merge pull request #1094 from syaiful6/select2-docs
update integration docs
2016-06-05 11:21:06 -04:00
Syaiful Bahri
52b0918297 update integration docs
correct the code example to avoid infinite loop

the infinite loop occure because the code example also
update the value on change handler. issue #954.
prove https://jsfiddle.net/syaiful6/kps3gabo/
2016-06-05 12:02:55 +07:00
Leo Horie
2289061f90 fix doc 2016-06-03 16:53:24 -04:00
Leo Horie
474c43e433 update style if it's mutated object 2016-06-02 18:47:41 -04:00
Leo Horie
e48265dec8 Merge remote-tracking branch 'origin/next' into next 2016-06-01 15:42:32 -04:00
Leo Horie
80349b3c74 #1080 parse pattern attribute correctly 2016-06-01 15:42:08 -04:00
Leo Horie
2f562505c3 Merge pull request #1081 from virtyaluk/patch-1
Fixes js.org badge link.
2016-05-31 10:01:07 -04:00
Bohdan Shtepan
3f4df52d6e Fixes js.org badge link.
I believe js.org badge goes to the wrong location. So I changed it from *js.org* to *mithril.js.org/*.
2016-05-30 20:54:18 +03:00
Leo Horie
129e0baf43 Merge pull request #1078 from epidemian/patch-2
Update mithril.request.md
2016-05-27 10:28:35 -04:00
Demian Ferreiro
20dfbbadc6 Update mithril.request.md
Add call to promise returned by m.request(). Otherwise the value of `ctrl.user` will always be truthy.
2016-05-27 11:08:47 -03:00
Leo Horie
b128fd8232 don't shortcircuit promise check for objects 2016-05-26 11:45:48 -04:00
Leo Horie
ce748f9f71 check for existence of Promise before doing check against it 2016-05-26 11:30:27 -04:00
Leo Horie
0ad6749f87 callbackName 2016-05-26 11:19:39 -04:00
Leo Horie
bdd65b3b86 Merge remote-tracking branch 'origin/next' into next 2016-05-26 11:04:51 -04:00
Leo Horie
bf85b7a530 #1076 absorb native promise in m.prop 2016-05-26 11:04:04 -04:00
Leo Horie
42b21a5950 Merge pull request #1063 from il-juggler/patch-1
Update mithril.request.md
2016-05-20 18:12:51 -04:00
AlonsoSoto
51e553f980 Update mithril.request.md 2016-05-20 14:36:20 -05:00
Leo Horie
51d7d21ab6 Merge pull request #1051 from ianhenderson/fix-1045-pr
Correctly inject script tags via m.trust in Safari (Fix #1045)
2016-05-19 13:25:09 -04:00
Ian Henderson
e03f194e32 Add test for replaceScriptNodes 2016-05-19 09:53:09 -07:00
Ian Henderson
1673579d32 Add replaceScriptNodes function 2016-05-19 09:53:09 -07:00
Leo Horie
7c392f071d remove broken line in package.json 2016-05-19 12:48:01 -04:00
Leo Horie
c8c32ee7c7 Merge remote-tracking branch 'origin/next' into next 2016-05-18 16:40:56 -04:00
Leo Horie
0aff6fb08a don't fail CI on lint error for PRs 2016-05-18 16:40:32 -04:00
Leo Horie
a294ee503c Merge pull request #1046 from panych/patch-1
Fix typo in Components guide.
2016-05-17 11:12:46 -04:00
Alexandr Panchenko
4e8ca4035c ContactList → ContactForm 2016-05-17 17:50:47 +03:00
Leo Horie
d19ce8e598 Merge remote-tracking branch 'origin/next' into next 2016-05-13 06:55:44 -04:00
Leo Horie
a595b84477 Merge branch 'mtwtkman-spike' into next 2016-05-13 06:55:22 -04:00
Leo Horie
a7496a1ef7 Merge branch 'spike' of https://github.com/mtwtkman/mithril.js into mtwtkman-spike
Conflicts:
	mithril.min.js
	mithril.min.js.map
2016-05-13 06:54:51 -04:00
Leo Horie
0c19bf72ee Merge pull request #1037 from omakasecorp/next
Force redirect when pushState encounters an error
2016-05-11 11:53:36 -04:00
Leo Horie
dee64503db #1039 ignore url interpolations without mapped values 2016-05-06 11:49:00 -04:00
Leo Horie
db17958f0b #691 sync input if user-set DOM value 2016-05-05 13:12:36 -04:00
Adam Gschwender
6face740f5 Force redirect when pushState encounters an error
Version 9.1 of Safari allows a maximum of 100 calls to pushState.
Subsequent calls to pushState throw a SecurityError: DOM Exception 18:
An attempt was made to break through the security policy of the user
agent.
2016-05-04 20:25:35 -04:00
mtwtkman
af0a63f850 Bump to v0.2.4 for m.version 2016-04-26 20:58:20 +09:00
Leo Horie
f7ceac193b Merge remote-tracking branch 'origin' into next 2016-04-21 19:31:40 -04:00
Leo Horie
0c17dd617d Merge pull request #1016 from gyandeeps/next
Update: Big Perf improvement for IE (fixes #199)
2016-04-21 19:31:20 -04:00
Leo Horie
34e25ec147 Merge branch 'gyandeeps-next' into next 2016-04-21 19:21:55 -04:00
Leo Horie
f3c225c3f9 Merge pull request #1025 from epidemian/patch-1
Add <body> tag to Getting Started guide
2016-04-21 12:21:43 -04:00
Demian Ferreiro
577808c6df Add <body> tag to Getting Started guide
This makes the code on the Summary section a working single-file application.

Without the <body> tag the code failed with "Error: Please ensure the DOM element exists before rendering a template into it" because the <script> containing the application was inserted and run on the <head>, before `document.body` is created.
2016-04-21 12:36:45 -03:00
Leo Horie
07424db3ce Merge pull request #1023 from tivac/mount-body
[docs] mount to document.body instead
2016-04-21 09:58:12 -04:00
Pat Cavit
9ec3383c29 Mount to document.body
As brought up in #1019, mounting to the `document` can be problematic. Better to show mounting to `document.body` where things are a bit more straightforward.
2016-04-20 23:48:51 -07:00
Gyandeep Singh
d451def561 Update: Big Perf improvement for IE (fixes #199) 2016-04-20 13:44:15 -05:00
Leo Horie
5d2b6ea2b7 v0.2.4 2016-04-20 00:45:42 -04:00
Leo Horie
f226d56481 Merge remote-tracking branch 'origin/next' into next 2016-04-20 00:36:48 -04:00
Leo Horie
da586de7dc don't swallow runtime errors in request 2016-04-20 00:35:53 -04:00