Leo Horie
|
c2aa89ec55
|
Merge pull request #189 from oleg8sh/patch-1
undefined cached checks.
|
2014-08-08 18:02:32 -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
|
e094292718
|
Merge pull request #187 from oleg8sh/patch-4
currentTarget issue in IE8
|
2014-08-08 12:40:11 -04:00 |
|
oleg8sh
|
c0c349ef20
|
currentTarget issue in IE8
There is no currentTarget in IE8. So withAttr() fails in it.
But 'this' is binded to that already. It's Ok.
More info:
http://stackoverflow.com/questions/857439/internet-explorer-and-javascript-event-currenttarget
http://www.brainjar.com/dhtml/events/default3.asp
|
2014-08-08 02:37:06 +04:00 |
|
oleg8sh
|
c4cd99b093
|
Protection from external 'undefined'
|
2014-08-07 23:32:25 +04:00 |
|
Leo Horie
|
7295b6e9e9
|
refactor redraw
|
2014-07-21 22:08:37 -04:00 |
|
Leo Horie
|
0f5d051d4b
|
prevent setting NodeList length
|
2014-07-18 20:14:38 -04:00 |
|
Leo Horie
|
3806d2f53d
|
refactor array flattening into diff engine
|
2014-07-15 23:26:26 -04:00 |
|
Leo Horie
|
c8ce0d8dee
|
fix key ordering in interpolation case
|
2014-07-11 23:09:25 -04:00 |
|
Leo Horie
|
1e829f1657
|
normalize arrays
|
2014-07-11 22:36:58 -04:00 |
|
Leo Horie
|
eda32fef47
|
fix node insertion bug when using document as root
|
2014-07-10 08:51:31 -04:00 |
|
Leo Horie
|
ccde633e92
|
fix double redraw when events fire simultaneously
|
2014-07-10 08:23:42 -04:00 |
|
Leo Horie
|
0354a4e251
|
fix diff when changing from element to empty array
|
2014-07-06 22:36:49 -04:00 |
|
Leo Horie
|
422ff19d18
|
clean up
|
2014-07-05 16:54:44 -04:00 |
|
Leo Horie
|
8fc5764904
|
allow mixing keys with non-keyed elements
|
2014-07-04 23:21:08 -04:00 |
|
Leo Horie
|
dd9d9c1da8
|
fix class/className concat bug when they're defined in both selector and attrs
|
2014-07-04 22:47:10 -04:00 |
|
Leo Horie
|
44a7ad7729
|
fix context unloading when reattaching
|
2014-07-03 22:31:04 -04:00 |
|
Leo Horie
|
b1275cb778
|
clear diff cache when routing
|
2014-07-03 22:11:29 -04:00 |
|
Leo Horie
|
d44176c888
|
re-render from scratch on route changes
|
2014-07-01 22:26:12 -04:00 |
|
Leo Horie
|
170d525aa5
|
fix empty attr
|
2014-06-30 22:28:41 -04:00 |
|
Leo Horie
|
f46b8c9238
|
auto-send Content-Type header if using JSON.stringify as serialize in m.request
|
2014-06-26 16:32:05 -04:00 |
|
Leo Horie
|
6bca818f34
|
fix select.value so that it displays correct option on first render
|
2014-06-26 07:27:42 -04:00 |
|
Leo Horie
|
661307c02e
|
fix subtree directive bug that made first input copy value of current active one, if inside loop
|
2014-06-26 07:16:19 -04:00 |
|
Leo Horie
|
42f21181f8
|
add context unload event listener
|
2014-06-25 22:45:21 -04:00 |
|
Leo Horie
|
b486e53b4b
|
add ability to abort from controller::onunload
|
2014-06-18 07:44:51 -04:00 |
|
Leo Horie
|
81f3367be9
|
scroll to top on route
|
2014-06-18 06:46:50 -04:00 |
|
Leo Horie
|
4aad8619c5
|
fix m.trust diffing
|
2014-06-18 06:42:48 -04:00 |
|
Leo Horie
|
bc50514731
|
fix parent tag association across array
|
2014-06-17 22:49:07 -04:00 |
|
Leo Horie
|
0d44df0683
|
fix wrongful cache node clearing
|
2014-06-17 22:40:07 -04:00 |
|
Leo Horie
|
117349168d
|
clean up keys code
|
2014-06-14 00:10:05 -04:00 |
|
Leo Horie
|
53672e62d7
|
implement keys
|
2014-06-13 23:33:02 -04:00 |
|
Leo Horie
|
1bd3b713d2
|
don't call removeChild if no parent
|
2014-06-09 16:30:22 -04:00 |
|
Leo Horie
|
1da116bbd3
|
ignore redraw if called without valid controller
|
2014-06-09 16:14:17 -04:00 |
|
Leo Horie
|
55514c3557
|
ensure type option only applies to successful responses
|
2014-06-07 22:19:19 -04:00 |
|
Leo Horie
|
8bba1dc9d9
|
scope config stack to m.render call
|
2014-06-06 18:23:20 -04:00 |
|
Leo Horie
|
33ac4fc7d1
|
reference window correctly
|
2014-06-05 22:11:51 -04:00 |
|
Leo Horie
|
e82ac2ef71
|
defer calling of configs until DOM exists
|
2014-06-05 21:54:51 -04:00 |
|
Leo Horie
|
0f4f263441
|
improve error when error response is not JSON
|
2014-06-04 08:30:12 -04:00 |
|
Leo Horie
|
ff2cb55a04
|
add config context
|
2014-06-03 23:26:04 -04:00 |
|
Leo Horie
|
4d04ce034d
|
fix diff on nested arrays
|
2014-06-03 22:42:14 -04:00 |
|
Leo Horie
|
ec69af4660
|
unbreak browserify
|
2014-06-02 07:32:24 -04:00 |
|
Leo Horie
|
1d2ba8b0b0
|
prevent route change event if only hash changes
|
2014-06-01 22:09:37 -04:00 |
|
Leo Horie
|
3fcd634c44
|
fix node removal regression
|
2014-05-28 21:29:55 -04:00 |
|
Leo Horie
|
9cd7d280dc
|
Merge remote-tracking branch 'origin/master' into next
|
2014-05-28 07:10:06 -04:00 |
|
Steve Purcell
|
80e909aa17
|
m.sync: Also use result index when creating failure callback
|
2014-05-28 09:17:39 +01:00 |
|
Leo Horie
|
061cb168e5
|
fix textarea value updating
|
2014-05-27 22:27:10 -04:00 |
|
Steve Purcell
|
aabc102abb
|
Return results of sync promises in the same order they were given
|
2014-05-27 18:15:29 +01:00 |
|
Leo Horie
|
41d3ee2983
|
prevent null ref
|
2014-05-26 21:59:41 -04:00 |
|
Leo Horie
|
b9cdd940bc
|
ensure http errors reject promises
|
2014-05-26 21:57:09 -04:00 |
|