Isiah Meadows
02cc4ec1d6
Fix whitespace/etc. in examples ( #1115 )
2016-06-18 03:39:55 -04:00
Isiah Meadows
8d4db4bfa9
Merge pull request #1114 from isiahmeadows/editorconfig
...
Add an editorconfig to the rewrite
2016-06-18 03:28:02 -04:00
impinball
b4fb21475c
Add editorconfig, resolve differences
...
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Sebastian Sandqvist
80d0a69dab
Add migration docs for m.route.prefix ( #1104 )
...
Also made a change in the documentation around passing components to `m()`. Before, the syntax that was used made it look like jsx, which could easily have been misinterpreted. Since `component` is defined in the docs just prior, I don't think we need any special syntax to indicate that it might have been a placeholder value.
2016-06-11 11:45:55 -07:00
Leo Horie
693c87f5f1
fix svg class updates
2016-06-07 20:20:30 -04:00
Leo Horie
6ff63b224c
expose m to window
2016-06-07 10:57:20 -04:00
Leo Horie
4b6c4254ba
s/shouldUpdate/onbeforeupdate
2016-06-06 09:59:35 -04:00
Leo Horie
4ea487a9e3
ospec: exit w/ error if test failed
2016-06-05 22:07:29 -04:00
Leo Horie
7a0369c092
Merge pull request #1096 from RichardIvan/patch-3
...
ospec exit on error
2016-06-05 21:59:24 -04:00
Richard Ivan
991483bfc5
exit on error
...
exit on error to be able to rerun the process
2016-06-05 17:58:28 +02:00
Leo Horie
41c7a61960
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-06-03 23:55:56 -04:00
Leo Horie
ddc430a6d3
fix most gcc warnings
2016-06-03 23:55:31 -04:00
Pat Cavit
d05b155abc
Add more docs around m.route ( #1089 )
2016-06-03 11:33:46 -07:00
Leo Horie
ca784a684e
fix svg across component boundaries
2016-06-03 12:27:24 -04:00
Leo Horie
7b268c6ee8
expose setPath and getPath
2016-06-03 08:59:52 -04:00
Leo Horie
f9ef480b34
fix bugs about recycling in components, and styles when reusing style object
2016-06-02 21:42:18 -04:00
Leo Horie
86673f8d16
add missing fields to avoid monomorphism-related deopts
2016-06-02 21:41:19 -04:00
Leo Horie
15373057df
ensure multiple attributes work at the same time as attrs w/ square brackets
2016-06-01 16:22:37 -04:00
Leo Horie
c79b4545c2
fix empty array case for Promise.all
2016-06-01 16:22:03 -04:00
Leo Horie
9a396c5173
use promise polyfill
2016-06-01 15:44:08 -04:00
Leo Horie
b2b0ab34dd
parse pattern attribute correctly
2016-06-01 15:43:42 -04:00
Leo Horie
d4e8911c9c
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-06-01 01:25:10 -04:00
Leo Horie
0d274ae6ac
ospec: don't show null stack trace on timeout
2016-06-01 01:24:40 -04:00
Leo Horie
2e6e1c73d0
promises: A+ compliance, better async, unhandled rejection reporter
2016-06-01 01:24:14 -04:00
Pat Cavit
da8018b441
Re-generate bundle ( #1085 )
2016-05-31 17:12:31 -07:00
Leo Horie
2f772bcd0c
Merge pull request #1084 from tivac/default-npm-tag
...
Default to always using "beta" tag for rewrite
2016-05-31 14:33:40 -04:00
Pat Cavit
8dee570602
Default to always using "beta" tag for rewrite
...
See https://docs.npmjs.com/files/package.json#publishconfig and
https://docs.npmjs.com/misc/config#tag
This way when `rewrite` starts being published users will need to
install it as `npm install mithril@beta` to get the rewrite. When people
run `npm install mithril` it'll use the default `latest` tag and that
will continue to point to the `0.2.x` branch until the rewrite is fully
ready.
2016-05-31 11:12:57 -07:00
Leo Horie
53705b6d20
Merge pull request #1083 from kcjpop/docs/fix-typo
...
Fix a typo of component args in migration guide
2016-05-31 10:02:06 -04:00
An Cao
aa77da2700
Fix typo in Component arguments v0.2.x
2016-05-31 09:02:49 +03:00
Leo Horie
87df83f21b
Merge pull request #1079 from pygy/routePatch
...
Support non-root base path
2016-05-29 20:38:15 -04:00
Pierre-Yves Gerardy
297e343264
Support non-root base path
2016-05-30 00:07:52 +02:00
Leo Horie
3bb0a6287f
promise bug fixes (work in progress)
2016-05-28 01:12:20 -04:00
Leo Horie
3c9ec0d2d6
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-05-27 08:17:54 -04:00
Leo Horie
8e95ecc741
fix typo
2016-05-27 08:17:37 -04:00
Pat Cavit
ada711ec8e
More migration details ( #1077 )
2016-05-26 15:28:18 -07:00
Leo Horie
7e98ad6d74
fix shouldUpdate docs
2016-05-26 15:26:04 -04:00
Leo Horie
261b28ad96
Merge remote-tracking branch 'origin/rewrite' into rewrite
2016-05-26 15:23:22 -04:00
Leo Horie
76d5d9ef2f
promise polyfill
2016-05-26 15:23:06 -04:00
Leo Horie
41ac2bf002
rename ajaxt o xhr, expose jsonp
2016-05-26 15:22:36 -04:00
Leo Horie
0ed3d20c4c
documentation fixes
2016-05-26 15:21:30 -04:00
Pat Cavit
6a233cd03c
Add more migration notes ( #1075 )
2016-05-25 23:06:52 -07:00
Leo Horie
7e437f27a8
Merge pull request #1074 from StephanHoyer/patch-3
...
Adding how you could access the DOM element in the new lifecycle methods
2016-05-25 17:42:07 -04:00
Stephan Hoyer
578ff6d970
Adding how you could access the DOM element in the new lifecycle methods
2016-05-25 23:30:49 +02:00
Leo Horie
9a66495799
Merge pull request #1073 from tivac/migration-guide
...
Starting on a migration guide
2016-05-25 13:36:22 -04:00
Pat Cavit
fa34941cee
Starting on a migration guide
...
I'm sure there's other pieces I'm forgetting
2016-05-25 10:27:28 -07:00
Leo Horie
e35fc79f09
mroe docs
2016-05-25 02:01:27 -04:00
Leo Horie
5815a590a8
test empty object
2016-05-24 23:18:11 -04:00
Leo Horie
eb25faf8af
Merge branch 'rewrite' of github.com:lhorie/mithril.js into rewrite
2016-05-24 23:16:53 -04:00
Leo Horie
e7420e72e1
more tests
2016-05-24 23:16:43 -04:00
Leo Horie
920851e3ab
Merge pull request #1067 from RichardIvan/patch-2
...
Typo in component.md
2016-05-24 10:53:28 -04:00