frankiefu
40f45ed961
basic component unit tests
2012-10-24 12:36:53 -07:00
Scott Miles
a8310922e5
add fireEvent method to component API
2012-10-23 17:17:28 -07:00
Frankie Fu
f05b74f6d9
Merge pull request #21 from sjmiles/master
...
"DOMTokenList.enable" was renamed to "toggle" at platform, update polyfill
2012-10-23 15:13:52 -07:00
Scott Miles
952630e6bc
Merge branch 'master' of https://github.com/toolkitchen/toolkit
2012-10-23 15:09:50 -07:00
Frankie Fu
c073e71e35
Merge pull request #20 from sjmiles/e334f1293f394165dd1e53e7527bc624f99ec4f7
...
use MutationObserver to maintain custom event bindings, bug fixes
2012-10-23 15:03:50 -07:00
Scott Miles
d1af5a61dd
DOMTokenList.enable was renamed to toggle at platform
2012-10-23 14:58:52 -07:00
Scott Miles
6f1eb45cbd
Merge branch 'master' of https://github.com/toolkitchen/toolkit
2012-10-23 14:53:22 -07:00
Scott Miles
e334f1293f
null checks for 'root'
2012-10-23 14:53:15 -07:00
Scott J. Miles
1b5484788e
Merge pull request #19 from frankiefu/master
...
tabs component, simplify togglebutton and more unit tests
2012-10-23 14:50:58 -07:00
frankiefu
55db5b24e6
more unit tests
2012-10-23 10:42:05 -07:00
frankiefu
8947d48888
simplify togglebutton using all the latest sugar
2012-10-23 10:41:51 -07:00
frankiefu
9f72878c71
tabs component and workbench file
2012-10-23 10:40:49 -07:00
frankiefu
2c1e340a87
fix title
2012-10-23 10:38:23 -07:00
frankiefu
0846904a72
also need to trimify attr passing to bindProperty
2012-10-23 10:37:46 -07:00
Scott Miles
ec5d1dfd85
register a MutationObserver for subtrees that use bound events so newly formed DOM can be bound (e.g. MDV template stampings)
2012-10-22 18:44:18 -07:00
Scott Miles
6743c1744b
trap null prototype in call to HTMLElementElement.component
2012-10-22 18:43:13 -07:00
Scott Miles
15449e3f4d
make sure findDistributeTarget is in local scope
2012-10-22 18:42:46 -07:00
Steve Orvell
bdd339bffb
Merge pull request #17 from frankiefu/master
...
unit test harness
2012-10-22 14:55:34 -07:00
frankiefu
e3f0aa9fe2
- test harness and couple unit tests
2012-10-22 14:38:16 -07:00
Frankie Fu
a0cd7553e2
Merge pull request #16 from sjmiles/master
...
use shadow="shim" instead of shimShadow for compatibility with URL override
2012-10-22 12:26:32 -07:00
Scott Miles
6843ea2d5e
use shadow="shim" directive instead of "shimShadow" so it's easier to override via url (?shadow=webkit)
2012-10-22 12:19:51 -07:00
Frankie Fu
0b47b894e8
Merge pull request #14 from sjmiles/master
...
change property automation to be property-first instead of attribute-first
2012-10-22 12:15:09 -07:00
Scott Miles
eba97f5e13
minor rearranging
2012-10-22 12:00:40 -07:00
Scott Miles
7c1a11f473
Merge branch 'master' of https://github.com/toolkitchen/toolkit
2012-10-22 11:51:44 -07:00
Scott Miles
6d7a2acb80
remove logging
2012-10-20 12:34:54 -07:00
Scott Miles
eed0b120c9
simplify selection and selector using all the latest sugar
2012-10-20 12:31:48 -07:00
Scott Miles
4b5f1bcb8a
_ function to route events to .controller on nearest ancestor who has one, add system for binding custom events by searching attributes for conventional custom-event prefix (at)
2012-10-20 12:31:24 -07:00
Scott Miles
3042038e8c
move one-time initialization work out of shadowRootCreated into created; shadowRootCreated is only for per-root initializations
2012-10-20 12:29:22 -07:00
Scott Miles
869be83067
add null-trap to deref
2012-10-20 12:28:31 -07:00
Scott Miles
b706f2831c
test statics (active) and dynamics (src)
2012-10-20 11:51:04 -07:00
Scott Miles
ddd314f57c
convert property-model, use attributes to flag opening/closing states for CSS, remove showClass, hideClass props, other reductions
2012-10-20 11:50:37 -07:00
Scott Miles
37d75b5991
apply simplifications available via property-first model and new sugaring (auto property-initialization and classList.enable polyfill)
2012-10-20 11:49:21 -07:00
Scott Miles
afe3358c32
switch from attribute-based properties to property-based attributes
2012-10-20 11:47:53 -07:00
Scott Miles
2ef3d9016f
ShadowDom -> ShadowDOM
2012-10-17 10:39:52 -07:00
frankiefu
56d4c7bb1c
g-ratings component and workbench file
2012-10-16 15:42:30 -07:00
frankiefu
2263eabfc0
call shadowRootCreated in the right scope
2012-10-16 15:42:29 -07:00
frankiefu
d1ba7ba331
update because of the name changes in polyfill
2012-10-16 15:42:29 -07:00
frankiefu
64a8d370ec
update based on pull request comments:
...
- separate g-xhr to a component (component-as-module-pattern)
- dispatch Events instead
- add jsdoc to public methods
- update comment
- use classList.enable
- use handlers="click: clickHandler" instead of experimental event
binding
2012-10-16 15:42:29 -07:00
frankiefu
5dff0fdfca
add ajax and togglebutton components
2012-10-16 15:42:29 -07:00
Scott J. Miles
8a45af8468
Merge pull request #13 from frankiefu/master
...
call shadowRootCreated in the right scope and add g-ratings component
2012-10-16 13:21:08 -07:00
frankiefu
618e39d94a
g-ratings component and workbench file
2012-10-15 16:30:22 -07:00
frankiefu
ee7c412ac8
call shadowRootCreated in the right scope
2012-10-15 16:29:04 -07:00
Steve Orvell
9bb4ea4e8a
Merge pull request #12 from frankiefu/master
...
update for names changes in polyfill
2012-10-15 12:47:00 -07:00
frankiefu
58e9c5438f
update because of the name changes in polyfill
2012-10-15 12:37:13 -07:00
Steve Orvell
1780b04583
Merge pull request #8 from frankiefu/master
...
add ajax and togglebutton components
2012-10-15 12:34:25 -07:00
Scott Miles
1e2fb1591e
slight refactoring of g-selector
2012-10-15 12:06:28 -07:00
frankiefu
4c32ee8bdb
update based on pull request comments:
...
- separate g-xhr to a component (component-as-module-pattern)
- dispatch Events instead
- add jsdoc to public methods
- update comment
- use classList.enable
- use handlers="click: clickHandler" instead of experimental event
binding
2012-10-15 11:42:30 -07:00
frankiefu
2a7224122c
Merge remote-tracking branch 'upstream/master'
2012-10-12 18:49:11 -07:00
Steve Orvell
64dbbce682
Merge pull request #9 from sjmiles/master
...
add g-selection and g-selector components
2012-10-12 18:34:35 -07:00
Scott Miles
c58db7ee9c
g-selector component and workbench file
2012-10-12 18:25:56 -07:00