impinball
bfc9dd45d4
Merge branch 'next' of https://github.com/lhorie/mithril.js into speed
2015-12-15 13:53:16 -05:00
Isiah Meadows
072be75f48
Merge pull request #888 from isiahmeadows/next
...
Move unloading test to where it's supposed to be [ci skip]
2015-12-15 13:52:52 -05:00
impinball
27a3dca013
Move unloading test to where it's supposed to be [ci skip]
2015-12-15 13:52:14 -05:00
impinball
573f7a9e95
Make ESLint happy
2015-12-15 13:16:44 -05:00
impinball
689362047e
Unignore TodoMVC stuff
2015-12-15 12:44:51 -05:00
impinball
086f56e13c
Regenerate mithril.min.js{,.map}
2015-12-15 12:27:08 -05:00
impinball
20c3bf07f0
Merge branch 'next' of https://github.com/lhorie/mithril.js into speed
2015-12-15 12:26:07 -05:00
impinball
0b21bd2bda
Improve performance (part 2), make smaller, other fixes
...
Or, a lot of things yet again.
1. Prototypes are avoided. Method definitions are avoided at all costs in the
renderer. C-like structs are exclusively used internally. This helps
significantly in both speed and size.
2. The deferred implementation had a couple functions refactored into static
equivalents.
3. Only 1 test fails now.
4. Several names were changed to be much smaller. Some of the exports were
aliased. This was a pure size improvement for free.
5. Regexes are inlined. It's better to let the engine do the caching.
6. The version string was inlined. It's still at the top.
7. `this` is avoided as much as possible in the rendering.
2015-12-15 12:22:02 -05:00
Isiah Meadows
df62ed54f5
Merge pull request #695 from pdfernhout/next
...
Add an interactive test called unloadingTest.html
2015-12-15 11:40:36 -05:00
Isiah Meadows
b08dba8ad1
Merge pull request #816 from ikki3355/next
...
links "config" ed with route need to reset pendingRequests count to zero on click
2015-12-15 11:12:49 -05:00
impinball
0a744f6387
Merge branch 'next' of https://github.com/lhorie/mithril.js into speed
2015-12-15 07:10:40 -05:00
impinball
a7b2294c11
OO-ize DOM builder, improve performance (part 1), add benchmarking suite
2015-12-15 07:07:50 -05:00
Isiah Meadows
e63a6f37bd
Merge pull request #853 from isiahmeadows/prop-fix
...
Isolate m.prop() and m.deferred() implementations (mostly)
2015-12-15 06:41:09 -05:00
impinball
9428fe729c
s/fufill/resolve/
2015-12-15 06:38:10 -05:00
impinball
70d2734a58
Merge branch 'next' of https://github.com/lhorie/mithril.js into prop-fix
2015-12-14 06:42:34 -05:00
Leo Horie
c202c04631
Merge pull request #884 from nordfjord/fix-fix-unloading
...
fix hasty error
2015-12-11 17:24:43 -05:00
Einar
71c880d78d
fix hasty error
2015-12-11 22:14:08 +00:00
impinball
2a47a8e77d
Merge branch 'next' of https://github.com/isiahmeadows/mithril.js into prop-fix
2015-12-10 19:14:32 -05:00
Isiah Meadows
8997f37818
Merge pull request #882 from isiahmeadows/request-fix
...
Fix #873 , regenerate minified variants.
2015-12-10 19:03:23 -05:00
impinball
cb29a21ec3
Fix #873 , regenerate minified variants.
...
Drive-by fix: uppercase tag name in failing m.trust test (doesn't make it
pass, though).
2015-12-10 18:54:43 -05:00
Leo Horie
747ba7e6d9
Merge pull request #834 from isiahmeadows/patch-2
...
Create a bug reporting/contributing/style guide
2015-12-10 16:34:40 -05:00
Leo Horie
c5a012b6f6
Merge pull request #877 from nordfjord/next
...
fix subcomponent unloading
2015-12-10 14:23:21 -05:00
Leo Horie
0cc97ec220
Merge pull request #879 from nordfjord/fix-linting
...
fix linting errors
2015-12-10 14:22:32 -05:00
Einar Norðfjörð
5ef5addb82
fix linting errors
2015-12-10 19:01:52 +00:00
Einar Norðfjörð
e846335f16
fix subcomponent unloading
2015-12-10 18:34:08 +00:00
Leo Horie
bdbe0b8a21
Merge pull request #876 from KasperTidemann/next
...
Fixes wording.
2015-12-10 09:59:29 -05:00
kaspertidemann
a3af03a600
Fixes wording.
2015-12-10 15:51:17 +01:00
Leo Horie
0fcba67340
add installation link to readme
2015-12-02 22:12:00 -05:00
Leo Horie
b121ba2824
point to mithril-objectify
2015-12-02 22:06:05 -05:00
Leo Horie
b12453b156
Merge pull request #849 from bewildergeist/download-links-to-installation
...
Point Download button and topnav link to installation.html
2015-12-01 18:38:09 -05:00
Leo Horie
b4656958c9
Merge pull request #862 from veggiemonk/next
...
Overriding extract option in m.request
2015-12-01 18:37:22 -05:00
Julien Bisconti
bd0ce5c06b
Overriding extract option in m.request
...
fixes : #859
2015-12-01 18:04:11 +01:00
Isiah Meadows
c65b3f29a7
Merge pull request #861 from veggiemonk/patch-1
...
fix missing paren in code
2015-11-30 15:11:59 -05:00
Julien Bisconti
c92c92d9df
fix missing paren in code
2015-11-30 21:06:58 +01:00
impinball
90701a4cbb
Only call then once in prop.then.
2015-11-26 07:49:15 -05:00
impinball
42723cbeb6
Fully isolate m.prop(), make m.prop().then return current value
...
Note that this does *not* memoize `then`, another deviation from spec, but
it's unlikely this will actually cause very many bugs. It's also a breaking
change.
2015-11-26 07:44:19 -05:00
impinball
0b173deed7
Merge 'origin/patch-2', remove trailing commas
2015-11-25 22:45:45 -05:00
impinball
e0f51db618
Disable tests that mysteriously affect others
2015-11-25 22:43:02 -05:00
impinball
3ae005bd1d
Unfix test
2015-11-20 02:53:28 -05:00
impinball
d7ef127be2
Isolate m.prop() and m.deferred() implementations (mostly)
...
This mostly isolates the implementations for both of these. Now, everything
here calls the method itself, not any of the external methods.
Few driveby fixes as well:
1. Git now ignores archive/ again (it's a build artifact, and can be removed
when updating `master`)
2. Since I had to rewrite most of the Deferred implementation, the new version
passes one of the skipped tests, so it is now enabled.
2015-11-20 02:49:48 -05:00
impinball
f673306d6c
Merge remote-tracking branch 'origin/next' into patch-2
2015-11-19 18:12:43 -05:00
impinball
a5fbc70853
Merge branch 'next' of https://github.com/lhorie/mithril.js into next
2015-11-15 22:50:27 -05:00
Dan Okkels Brendstrup
e9d46d0e06
Download button + links point to Installation page
2015-11-15 20:59:53 +01:00
impinball
37266a2b8f
Merge branch 'next' of https://github.com/lhorie/mithril.js into patch-2
2015-11-13 21:55:36 -05:00
impinball
53f5c9d21b
Merge branch 'patch-2' of https://github.com/impinball/mithril.js into patch-2
2015-11-13 21:52:25 -05:00
impinball
b7ae45b6e0
Address @lhorie's comments, fix HTML test files
2015-11-13 21:40:25 -05:00
Leo Horie
edc5dca238
Merge pull request #846 from bewildergeist/lowercase-npm-package-name
...
Revert to lowercase NPM package name
2015-11-13 08:42:55 -05:00
Dan Okkels Brendstrup
101d4523b4
Revert to lowercase NPM package name
...
As per https://docs.npmjs.com/files/package.json#name as mentioned by @Pumpuli
in #845 .
2015-11-13 08:40:08 +01:00
Leo Horie
5269f9b1ce
don't use non-standard trim, dies on Travis CI
2015-11-12 23:42:27 -05:00
Leo Horie
4de23eb5c8
Merge remote-tracking branch 'origin/next' into next
2015-11-12 23:31:06 -05:00