Commit graph

180 commits

Author SHA1 Message Date
zzmp
d763793027 refactor type fn for readability/brevity 2014-09-17 12:17:18 -07:00
Leo Horie
86a79a0f5e setTimeout of 16 instead of 0 2014-09-16 21:42:42 -04:00
Leo Horie
f667d18b36 don't use invalid element tag names 2014-09-15 21:30:52 -04:00
Leo Horie
5a134ecf5b fix bug when mixing keyed and unkeyed elements 2014-09-15 15:53:52 -04:00
Leo Horie
70e7dec0ac remove redundant code 2014-09-14 21:40:03 -04:00
Leo Horie
7d718a9e76 Merge pull request #242 from Whoaa512/m.module-return-controller
M.module return controller
2014-09-14 00:59:44 -04:00
Leo Horie
067da7eedc code style 2014-09-14 00:47:06 -04:00
C. James Winslow
1222eb913a return reference to the instantiated controller from m.module 2014-09-10 16:21:33 -07:00
Leo Horie
0ee2d7f200 mimic html fallback-to-doing-nothing-on-invalid-attributes behavior in IE8, instead of throwing non-helpful "Invalid argument." error 2014-09-04 22:10:14 -04:00
Leo Horie
5ff1767646 Merge pull request #233 from Bobris/next
Useless line removed.
2014-09-03 21:16:20 -04:00
Leo Horie
e94db04de1 Merge branch 'next' of github.com:claydotio/zorium.js into claydotio-next
Conflicts:
	mithril.js
	tests/mithril-tests.js
2014-09-03 21:14:14 -04:00
Boris Letocha
b9830271d3 Useless line removed. 2014-09-03 00:08:49 +02:00
Leo Horie
76a7d7f6d9 handle html5 form attribute as a special case like list 2014-09-01 18:32:28 -04:00
Leo Horie
b70284d493 code style 2014-09-01 11:29:53 -04:00
Leo Horie
18dcfce5e2 don't need partial ability when deferring config calling 2014-09-01 10:47:26 -04:00
Leo Horie
a87e2a1414 small refactoring 2014-09-01 10:42:15 -04:00
Zolmeister
3dc6f1e16c m: Added splat support for m() constructor 2014-08-31 01:22:05 -07:00
Leo Horie
4d79d91c57 Merge pull request #227 from claydotio/next
removed Function.bind() call
2014-08-26 19:36:11 -04:00
Zolmeister
f612ce4b2c removed Function.bind() call 2014-08-26 16:30:02 -07:00
Alec Embke
07ff5c9cf8 merged upstream with jsonp additions 2014-08-25 11:09:55 -07:00
Alec Embke
daf8160bf2 added jsonp transport 2014-08-25 10:36:26 -07:00
Juan Manuel Ventura
fd7b3e0803 check store nullity in m.prop 2014-08-22 01:18:36 +02:00
Leo Horie
dbac7f8468 add comments and tests for 219 2014-08-20 18:53:13 -04:00
Leo Horie
f64d861552 fix undefined diff case without breaking void element case 2014-08-16 22:33:16 -04:00
Leo Horie
a42dc113a4 fix child caching from undefined to array 2014-08-16 17:56:24 -04:00
Leo Horie
936e2034a7 fix handling of + in parseQuerystring 2014-08-16 17:06:27 -04:00
Leo Horie
08c8caff89 simplify null/undef checks 2014-08-16 16:55:14 -04:00
Leo Horie
3b491ec38e simplify check as per suggestion in #206 2014-08-16 16:52:34 -04:00
Leo Horie
bf288b09c5 move Deferred constructor out of m.deferred 2014-08-16 16:50:44 -04:00
Zolmeister
5b13612e26 redraw: added strict true check 2014-08-16 12:50:46 -07:00
Zolmeister
774be35cc2 added optional param to m.redraw() to allow forced update 2014-08-13 13:01:21 -07:00
Zolmeister
d567de08a8 promise props resolve to promises instead of blank prop functions 2014-08-13 01:16:03 -07:00
Zolmeister
6b62681da8 promise prop resolution 2014-08-13 00:50:35 -07:00
Zolmeister
7639444aa1 Merge branch 'next' into promises
Conflicts:
	mithril.js
2014-08-13 00:07:34 -07:00
Leo Horie
4281773df9 redraw strategy 2014-08-11 23:15:53 -04:00
Leo Horie
e60a9542b2 fix ie8 empty-text-node-in-input issue 2014-08-11 20:54:35 -04:00
Leo Horie
60939592f7 defensive code against ultra rare bug 2014-08-10 23:18:06 -04:00
Leo Horie
0a5e7018ae mathml namespace 2014-08-10 23:04:38 -04:00
Leo Horie
f9ba62cc3b remove experimental api 2014-08-10 23:01:59 -04:00
Leo Horie
5bbd6c6478 comments in code 2014-08-10 22:48:37 -04:00
Leo Horie
b86c4cec3f fix m.sync resolution when empty array 2014-08-10 21:37:35 -04:00
Leo Horie
e08c626abf fix IE8 null ref 2014-08-10 21:36:52 -04:00
Leo Horie
3e7690c5fc Merge remote-tracking branch 'origin/master' into next 2014-08-08 20:38:33 -04:00
Leo Horie
4dd9303ac1 Merge pull request #186 from oleg8sh/patch-3
Don't insert blank text node into every tag (yet another IE8 issue)
2014-08-08 20:38:15 -04:00
Leo Horie
d81263f55e Merge remote-tracking branch 'origin/master' into next 2014-08-08 18:02:52 -04:00
Leo Horie
c2aa89ec55 Merge pull request #189 from oleg8sh/patch-1
undefined cached checks.
2014-08-08 18:02:32 -04:00
Leo Horie
1472036464 Merge remote-tracking branch 'origin/master' into next 2014-08-08 17:14:25 -04:00
oleg8sh
807c6f415a typeof is much faster than {}.toString()
Proof: http://jsperf.com/typeof-vs-instanceof-vs-object-prototype-tostring
2014-08-09 00:03:22 +04:00
oleg8sh
f643636eb3 undefined cached checks.
Part of #185. Should fix #162 & #163.
2014-08-08 23:11:45 +04:00
Leo Horie
35d299f705 Merge remote-tracking branch 'origin/master' into next 2014-08-08 12:40:31 -04:00