Commit graph

269 commits

Author SHA1 Message Date
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
Leo Horie
5d85a6bb0e v0.1.33 publish 2015-03-30 15:54:43 -04:00
Leo Horie
6ef5ed3d07 v0.1.32 release 2015-03-27 12:02:26 -04:00
Leo Horie
d4099a254b v0.1.31 release 2015-03-26 22:34:33 -04:00
Leo Horie
4b92c821c2 v0.1.30 2015-02-04 22:00:40 -05:00
Leo Horie
05831d98c7 v0.1.29 publish 2015-01-27 21:09:45 -05:00
Leo Horie
39bc20bec8 v0.1.28 2014-12-31 20:51:56 -05:00
Leo Horie
e9c892cb05 v0.1.27 publish 2014-12-11 10:36:47 -05:00
Leo Horie
40172848b5 v0.1.26 2014-12-02 13:14:20 -05:00
Leo Horie
e3b6243d7b v0.1.25 2014-11-28 13:45:25 -05:00
Leo Horie
328ae0769f 0.1.24 2014-11-13 20:18:01 -05:00
Leo Horie
c9bbfb2bbc Merge branch 'next' of github.com:g00fy-/mithril.js into g00fy--next
Conflicts:
	mithril.js
	mithril.min.js
	mithril.min.js.map
2014-11-12 23:03:46 -05:00
Leo Horie
d10266ce48 commit min and map files 2014-11-12 23:00:56 -05:00
Piotr Majewski
98794a668e chore: extract & cache commonly accessed variables 2014-11-08 09:10:54 +01:00
Piotr Majewski
b70a3addd3 style: fix missing commas 2014-11-08 07:56:01 +01:00