Commit graph

64 commits

Author SHA1 Message Date
Gandalf-the-Bot
8c5b5c7f30 Bundled output for commit 201bdc702a [skip ci] 2016-08-13 03:57:40 +00:00
Gandalf-the-Bot
34412bba8f Bundled output for commit 6c3036e5c6 [skip ci] 2016-08-13 02:09:22 +00:00
Gandalf-the-Bot
ad659ce0e3 Bundled output for commit 4b9e88d896 [skip ci] 2016-08-11 19:55:33 +00:00
Gandalf-the-Bot
b32d0cdea3 Bundled output for commit f9f7bcd787 [skip ci] 2016-08-11 16:16:07 +00:00
Leo Horie
dca217f379 Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	mithril.min.js
2016-08-11 00:32:01 -04:00
Leo Horie
fc3d6112c4 build 2016-08-11 00:29:56 -04:00
Gandalf-the-Bot
54c58d83d8 Bundled output for commit b2189a524f [skip ci] 2016-08-10 20:58:58 +00:00
Leo Horie
6b0fa399d5 rebuild after stream changes 2016-08-10 13:53:05 -04:00
Gandalf-the-Bot
c263cf2494 Bundled output for commit 50a80e5590 [skip ci] 2016-08-06 13:57:15 +00:00
Gandalf-the-Bot
27b1fdabed Bundled output for commit 06d5a238d4 [skip ci] 2016-08-05 21:28:05 +00:00
Gandalf-the-Bot
5eb9c9010b Bundled output for commit 88d56cd4ae [skip ci] 2016-08-05 13:46:28 +00:00
Gandalf-the-Bot
2048633d5d Update bundles [skip ci] 2016-08-05 02:47:46 +00:00
Gandalf-the-Bot
85ecd3545f Update bundles [skip ci] 2016-08-04 17:24:38 +00:00
Leo Horie
8c71c39631 unbreak bundler 2016-08-03 00:01:17 -04:00
Leo Horie
9bd0cd73fc inline Date.now, remove redundant comment 2016-07-30 14:55:34 -04:00
Leo Horie
640b19228a improve bundler 2016-07-28 22:35:22 -04:00
Leo Horie
1155027c91 fix #1163 2016-07-21 00:52:32 -04:00
Barney Carroll
f3a4a7e1eb compile prop.toString method 2016-07-14 13:28:19 +01:00
Leo Horie
13fdb60f66 clean slate 2016-04-20 20:01:04 -04:00
Leo Horie
5d2b6ea2b7 v0.2.4 2016-04-20 00:45:42 -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
impinball
a07483a164 Actually lint core, regenerate minified files 2016-03-28 07:54:26 -04:00
Leo Horie
96bf37588b trailing semi-colon 2016-03-16 01:06:35 -04:00
Leo Horie
79665d46f4 fix version string 2016-03-02 16:16:33 -05:00
Leo Horie
501e380825 v0.2.3 2016-03-02 16:10:51 -05:00
Leo Horie
f17658e2d3 udpate min file 2016-02-29 12:56:48 -05:00
Leo Horie
ac5810ccbd build 2015-12-20 09:27:31 -05:00
Leo Horie
270b20a2b0 v0.2.2-rc.1 2015-12-20 09:14:28 -05:00
Leo Horie
484a9d6c70 Merge remote-tracking branch 'origin/next' into next
Conflicts:
	mithril.min.js
	mithril.min.js.map
2015-12-18 22:09:11 -05:00
Leo Horie
fbe05a92ad build 2015-12-18 22:07:11 -05:00
impinball
eff4231b73 Regenerate minified variants [ci skip] 2015-12-16 13:41:24 -05:00
impinball
92ac26a31a Update minified build 2015-12-16 12:04:59 -05:00
impinball
1b4737b0c6 Rewrite most of the last commit of #887 (without the m.request bug) 2015-12-16 11:22:11 -05:00
impinball
75a3f0785c Revert "Few more small performance tweaks"
This reverts commit 0e00621840.
2015-12-16 10:37:12 -05:00
impinball
0e00621840 Few more small performance tweaks 2015-12-15 16:56:04 -05:00
impinball
086f56e13c Regenerate mithril.min.js{,.map} 2015-12-15 12:27:08 -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
impinball
9428fe729c s/fufill/resolve/ 2015-12-15 06:38:10 -05:00
impinball
2a47a8e77d Merge branch 'next' of https://github.com/isiahmeadows/mithril.js into prop-fix 2015-12-10 19:14:32 -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
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
Florian Albertz
814b5035ee Do not use window when it is not available 2015-11-07 14:37:29 +01:00
impinball
96bcc81022 Lint Mithril main
This changes enough things to merit a new patch release. It changed a few
implementation details in the process, but it's at least much cleaner.

Be ready for every other currently outstanding PR for this file to have merge
conflicts.
2015-11-03 01:32:17 -05:00
impinball
986dde6d5f Merge remote-tracking branch 'upstream/next' into speed, unfix "fixed" version
By "fixed", I mean "screwed up, not at all following the correct version
number, and refusing to ask on Gitter what the correct version really is, and
just assuming the wrong version despite hints all over the source screaming
'THIS IS THE CORRECT VERSION, YOU STUPID IDIOT!!!'".

I feel that should be a relatively accurate explanation of the mistake I made
while working on this patch (the specific commit that introduced it was
squashed in rebasing, and another commit was easier than a revert, since the
one that introduced it also entailed a few other things).
2015-07-23 05:26:31 -04:00
impinball
3de01a1554 Clean up tests, resolve style differences, reduce upstream diff
This is in preparation for a PR, to reduce potential for merge conflicts
with either my PR or others', since mine will modify a large amount of
the main file.
2015-07-23 05:25:18 -04:00
impinball
c0830ee3d6 Refactor a couple pointless variables out 2015-07-10 13:15:03 -04:00
impinball
83a30a4d3c Add type-checking methods, make a few things stop de-opting under Chrome 2015-07-09 15:31:13 -04:00
Leo Horie
b404d69d70 docs build 2015-04-30 22:02:06 -04:00
Trent Oswald
1d6405e547 Added check for this.attrs into m.route
m.route('path'), when called programmatically (not attached to an anchor
tag), did not update the url in the navigation bar. I tracked it to this
error, where it is searching for an elements attributes, sepecifically
the this.attrs.href, which did not exist when called programatically.
The error returning was "Cannot read property 'href' of undefined",
which linked back to line 618 in the mithril core file.

I added a simple check to see if this.attrs exists before calling in
.href. Fixed it like a charm. I tried to follow the current coding
style, but let me know if there is something amiss in my change.

I ran both grunt test and grunt testall and everything seemed to run
perfect.
2015-04-22 10:31:33 -06:00
Leo Horie
f07fbccbf6 v0.1.34 publish 2015-03-31 12:39:12 -04:00