From 20c70608ffdbe6097fa69501ef255d2af99192fd Mon Sep 17 00:00:00 2001 From: Doug Fritz Date: Mon, 8 Sep 2014 15:01:44 -0700 Subject: [PATCH] add todo --- TODO.md | 5 +++-- elements/Gui.js | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/TODO.md b/TODO.md index 6aa03f6..747eea7 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,7 @@ BUILD - [x] single import +- [ ] browsersync PARITY @@ -29,11 +30,11 @@ STYLE STRUCTURE -- [ ] can gui-row be baked into base-controller somehow? +- [ ] can gui-row be baked into base-controller somehow? NICE TO HAVES - [ ] css linter? - [ ] strip component-slider from number-controller -- [ ] strip component-input from number-controller, unify with string-controller \ No newline at end of file +- [ ] strip component-input from number-controller, unify with string-controller diff --git a/elements/Gui.js b/elements/Gui.js index 2b96e6e..03f4461 100644 --- a/elements/Gui.js +++ b/elements/Gui.js @@ -1,6 +1,6 @@ ( function( scope ) { - /* globals Path */ + /* globals Path */ 'use strict'; var Gui = function( params ) { @@ -29,7 +29,7 @@ // Instance methods - // ------------------------------- + // ------------------------------- Gui.prototype.add = function( object, path ) { @@ -46,7 +46,7 @@ if ( args[ 0 ] instanceof Array || typeof args[ 0 ] == 'object' ) { controller = document.createElement( 'controller-option' ); - } else { + } else { controller = Gui.getController( value ); } @@ -83,7 +83,7 @@ }; - + Gui.prototype.define = function() { var name, initialValue, args; @@ -165,7 +165,7 @@ if ( ready ) { fnc(); - } else { + } else { readyHandlers.push( fnc ); } @@ -230,6 +230,6 @@ scope.dat = dat; scope.Gui = Gui; - + } )( this );