This commit is contained in:
Doug Fritz 2014-09-08 15:01:44 -07:00
parent 8bc90e0a37
commit 20c70608ff
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,7 @@
BUILD BUILD
- [x] single import - [x] single import
- [ ] browsersync
PARITY PARITY
@ -29,11 +30,11 @@ STYLE
STRUCTURE STRUCTURE
- [ ] can gui-row be baked into base-controller somehow? - [ ] can gui-row be baked into base-controller somehow?
NICE TO HAVES NICE TO HAVES
- [ ] css linter? - [ ] css linter?
- [ ] strip component-slider from number-controller - [ ] strip component-slider from number-controller
- [ ] strip component-input from number-controller, unify with string-controller - [ ] strip component-input from number-controller, unify with string-controller

View File

@ -1,6 +1,6 @@
( function( scope ) { ( function( scope ) {
/* globals Path */ /* globals Path */
'use strict'; 'use strict';
var Gui = function( params ) { var Gui = function( params ) {
@ -29,7 +29,7 @@
// Instance methods // Instance methods
// ------------------------------- // -------------------------------
Gui.prototype.add = function( object, path ) { Gui.prototype.add = function( object, path ) {
@ -46,7 +46,7 @@
if ( args[ 0 ] instanceof Array || typeof args[ 0 ] == 'object' ) { if ( args[ 0 ] instanceof Array || typeof args[ 0 ] == 'object' ) {
controller = document.createElement( 'controller-option' ); controller = document.createElement( 'controller-option' );
} else { } else {
controller = Gui.getController( value ); controller = Gui.getController( value );
} }
@ -83,7 +83,7 @@
}; };
Gui.prototype.define = function() { Gui.prototype.define = function() {
var name, initialValue, args; var name, initialValue, args;
@ -165,7 +165,7 @@
if ( ready ) { if ( ready ) {
fnc(); fnc();
} else { } else {
readyHandlers.push( fnc ); readyHandlers.push( fnc );
} }
@ -230,6 +230,6 @@
scope.dat = dat; scope.dat = dat;
scope.Gui = Gui; scope.Gui = Gui;
} )( this ); } )( this );