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 );