Commit graph

1429 commits

Author SHA1 Message Date
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
Leo Horie
b3cddacb74 Merge pull request #1015 from robinchew/next
Traceur Support
2016-04-19 23:23:15 -04:00
Isiah Meadows
bb321e68d3 Clarify why a test is broken. [ci skip] 2016-04-19 23:00:38 -04:00
Leo Horie
04847785a0 Revert "Use common mock for tests."
This reverts commit f589aa2005.
2016-04-19 22:53:59 -04:00
robinchew
4308b182ca Traceur Support
traceur --script mithril-v0.2.3.js code-that-calls-m.js
2016-04-15 03:10:50 +08:00
Leo Horie
f126fb5ea6 Merge branch 'next' of github.com:lhorie/mithril.js into next 2016-04-13 15:33:15 -04:00
Leo Horie
cb966d9088 don't throw reference error if event is synthetic and forgets to pass e arg 2016-04-13 15:32:58 -04:00
Isiah Meadows
d0392953c5 Merge pull request #1010 from isiahmeadows/reattempt-definition-fix
Fix documentation nit
2016-04-02 16:25:35 -04:00
impinball
89165e9cab Fix documentation nit 2016-04-02 15:51:38 -04:00
Isiah Meadows
1b312d8676 Merge pull request #997 from isiahmeadows/reattempt-definition-fix
Remove redundant generics, improve accuracy and completeness of types.

See #997 for details on migrating to these types.
2016-04-02 15:27:23 -04:00
impinball
26b8a029f5 Clean up Promise/Thenable types, remove PromiseProperty type. 2016-04-02 13:55:14 -04:00
impinball
d9aa3111bf Dedupe vdom factories, fix args for vdom methods + {build,parse}QueryString
Also, add recursive Children type.
2016-04-02 12:31:40 -04:00
Isiah Meadows
4f34acc032 Merge pull request #1003 from isiahmeadows/enable-eslint
Actually lint core, regenerate minified files
2016-03-28 07:58:32 -04:00
impinball
a07483a164 Actually lint core, regenerate minified files 2016-03-28 07:54:26 -04:00
impinball
ad3b66eb54 Merge branch 'next' of https://github.com/lhorie/mithril.js into reattempt-definition-fix 2016-03-28 06:37:40 -04:00
Isiah Meadows
8f348435e4 Merge pull request #1002 from isiahmeadows/arg-fix
Serialize arguments correctly in m.component
2016-03-28 06:37:17 -04:00
impinball
d3753aea43 Set up m.request types for XHROptions and JSONPOptions 2016-03-28 06:36:02 -04:00
impinball
07244b1999 Serialize arguments correctly in m.component 2016-03-28 06:28:51 -04:00
Isiah Meadows
69f90deb64 Merge pull request #998 from dayuoba/next
change new Array => []
2016-03-26 08:07:29 -04:00
yuyang
82d65b076a change new Array => [] 2016-03-25 12:47:03 +08:00
impinball
26af09a017 Change some types to string unions, make m.redraw.strategy a BasicProperty<T>
In the latter case, the type already structurally satisfied that type.
Changing m.redraw.strategy simplifies the definition file, and aligns with
the docs.
2016-03-22 10:39:30 -04:00
Leo Horie
69cbb09c5f cdnjs spidering wrong thing? 2016-03-22 10:26:31 -04:00
impinball
490a5c7b73 Remove useless generics, fix VirtualElement members, fix a few style issues 2016-03-22 09:28:00 -04:00
Leo Horie
fcf6e16929 Merge pull request #975 from barneycarroll/empty-attrs-string
Empty attributes. Fixes #971
2016-03-19 22:36:32 -04:00
Isiah Meadows
806e0a8dc1 Merge pull request #973 from isiahmeadows/lint
Make linter happy with mithril.js
2016-03-17 23:56:13 -04:00
Isiah Meadows
35cfda8dde Merge pull request #988 from LabEG/feature/typing/make_more_short_and_nice_name_for_object
Simplify interface names (In continue of #984)
2016-03-17 23:54:23 -04:00
Isiah Meadows
09b3b609ff Merge pull request #991 from rwhitmire/next
fix broken link in mithril.deps.md
2016-03-17 23:41:23 -04:00
Ryan Whitmire
ad0fc7ed60 fix broken link in mithril.deps.md 2016-03-17 22:42:21 -04:00
LabEG
c9899d5e07 Remove ugly alias for m 2016-03-16 22:18:26 +03:00
LabEG
7f5d42e08c Resolve conflict after pull request #983 2016-03-16 22:11:28 +03:00
Isiah Meadows
18ea93b160 Merge pull request #983 from LabEG/feature/typing_virtual_element
Remove generic from MithrilVirtualElement. Because him unused.
2016-03-16 01:39:43 -04:00