From 0dfd9f1d1affb9c99bfe21e2fe284f7548b449aa Mon Sep 17 00:00:00 2001 From: George Michael Brower Date: Sat, 16 Aug 2014 12:43:48 -0400 Subject: [PATCH] move controllers to their own folders, clean up gulpfile --- elements/base-controller.html | 3 - elements/controller-base/controller-base.html | 3 + .../controller-base.js} | 2 +- .../controller-number.html} | 13 ++- .../controller-number.js} | 47 +++++++--- .../controller-number.styl} | 0 elements/gui-panel.css | 6 -- elements/{ => gui-panel}/gui-panel.html | 2 +- elements/{ => gui-panel}/gui-panel.js | 2 +- elements/{ => gui-panel}/gui-panel.styl | 0 elements/gui-row.css | 18 ---- elements/{ => gui-row}/gui-row.html | 5 +- elements/{ => gui-row}/gui-row.js | 0 elements/{ => gui-row}/gui-row.styl | 0 elements/number-controller.css | 89 ------------------- elements/shared.styl | 1 - gulpfile.js | 27 ++++-- index-built.html | 4 +- index.html | 8 +- index.js | 2 +- 20 files changed, 75 insertions(+), 157 deletions(-) delete mode 100644 elements/base-controller.html create mode 100644 elements/controller-base/controller-base.html rename elements/{base-controller.js => controller-base/controller-base.js} (98%) rename elements/{number-controller.html => controller-number/controller-number.html} (71%) rename elements/{number-controller.js => controller-number/controller-number.js} (85%) rename elements/{number-controller.styl => controller-number/controller-number.styl} (100%) delete mode 100644 elements/gui-panel.css rename elements/{ => gui-panel}/gui-panel.html (78%) rename elements/{ => gui-panel}/gui-panel.js (93%) rename elements/{ => gui-panel}/gui-panel.styl (100%) delete mode 100644 elements/gui-row.css rename elements/{ => gui-row}/gui-row.html (74%) rename elements/{ => gui-row}/gui-row.js (100%) rename elements/{ => gui-row}/gui-row.styl (100%) delete mode 100644 elements/number-controller.css diff --git a/elements/base-controller.html b/elements/base-controller.html deleted file mode 100644 index 13d18e0..0000000 --- a/elements/base-controller.html +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/elements/controller-base/controller-base.html b/elements/controller-base/controller-base.html new file mode 100644 index 0000000..632fd6e --- /dev/null +++ b/elements/controller-base/controller-base.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/elements/base-controller.js b/elements/controller-base/controller-base.js similarity index 98% rename from elements/base-controller.js rename to elements/controller-base/controller-base.js index 808b4db..9838b60 100644 --- a/elements/base-controller.js +++ b/elements/controller-base/controller-base.js @@ -5,7 +5,7 @@ */ -Polymer('base-controller', { +Polymer('controller-base', { value: null, object: null, diff --git a/elements/number-controller.html b/elements/controller-number/controller-number.html similarity index 71% rename from elements/number-controller.html rename to elements/controller-number/controller-number.html index 24c80ec..c6d304e 100644 --- a/elements/number-controller.html +++ b/elements/controller-number/controller-number.html @@ -1,18 +1,17 @@ - - + + - +