From 4c32ee8bdbab963320a48f93cd2694f1fc454871 Mon Sep 17 00:00:00 2001 From: frankiefu Date: Mon, 15 Oct 2012 11:42:30 -0700 Subject: [PATCH] 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 --- src/g-ajax.html | 77 +++++++---------------------------- src/g-togglebutton.html | 8 ++-- src/g-xhr.html | 90 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+), 67 deletions(-) create mode 100644 src/g-xhr.html diff --git a/src/g-ajax.html b/src/g-ajax.html index 4b454088..274c21ad 100644 --- a/src/g-ajax.html +++ b/src/g-ajax.html @@ -7,76 +7,25 @@ --> + + \ No newline at end of file