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 Miles
1e2fb1591e
slight refactoring of g-selector
2012-10-15 12:06:28 -07:00
Scott Miles
c58db7ee9c
g-selector component and workbench file
2012-10-12 18:25:56 -07:00
Scott Miles
680c5f0f1e
component node references must come from the LOCAL tree, not the COMPOSED tree
2012-10-12 18:25:34 -07:00
Scott Miles
e7b47629c1
g-selection component and workbench file (our first API only module: component-as-module-pattern)
2012-10-12 18:23:06 -07:00
Scott Miles
1aaf580685
overlay component and workbench file
2012-10-12 13:45:47 -07:00
Scott Miles
afbe09821a
factor shadowRootCreated so it's not inlined in 'components' method, support 'handlers' attribute via bindEvents, move x() event sugar to module bottom
2012-10-12 13:45:29 -07:00
Scott Miles
2cbb7190e5
define a utility object to store helper APIs, add 'job' API to utilities
2012-10-12 13:43:35 -07:00
Scott Miles
790391e025
function to bind events to object methods given a string value list of event/handler pairs (e.g. on "click:clickMe;focus:focusMe")
2012-10-12 13:42:14 -07:00
Scott Miles
42195adfc5
allow defaulting property values by having property getter default to value stored on prototype (if there is no matching attribute)
2012-10-12 13:40:44 -07:00
Scott Miles
c8cf70019d
add DOMTokenList polyfill (ad-hoc: directly in g-component)
2012-10-12 13:37:29 -07:00
Scott Miles
4ac8d9a24f
add g-icon-button component and workbench file
2012-10-12 11:21:28 -07:00
Scott Miles
91d50956fc
decruft g-icon.html
2012-10-12 11:21:08 -07:00
Scott Miles
7f0d7e13c9
fix path
2012-10-10 16:17:26 -07:00
Scott Miles
4491af97ae
legalese
2012-10-10 15:54:27 -07:00
Scott Miles
6204fd8881
add comment
2012-10-10 15:54:16 -07:00
Scott Miles
8ecab095ea
make workeBench live with toolkit: toolkit isn't useful in the raw, we don't need atomic source repo
2012-10-10 15:54:05 -07:00
Scott Miles
ad311895f9
initial components
2012-10-10 12:35:57 -07:00
Scott Miles
791814550e
update read me
2012-10-10 11:19:03 -07:00
Scott Miles
0452ada044
seed files
2012-10-10 10:32:53 -07:00