mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
merge
This commit is contained in:
commit
a81d61ba1b
File diff suppressed because one or more lines are too long
10
build/gui.js
10
build/gui.js
File diff suppressed because one or more lines are too long
@ -1,20 +1,20 @@
|
||||
var examples = {};
|
||||
|
||||
examples[ 'default' ] = function() {
|
||||
|
||||
|
||||
var gui = new Gui();
|
||||
gui.anon( 'hi', 'todo' );
|
||||
//gui.anon( 'hi', 'todo' );
|
||||
return gui;
|
||||
|
||||
}
|
||||
|
||||
// "basic-usage", "limiting-input", "color-controllers", "events", "folders-comments", "saving-values", "presets", "save-to-disk", "custom-placement", "defining-custom-controllers", "publishing-custom-controllers"
|
||||
examples[ 'basic-usage' ] = function() {
|
||||
|
||||
|
||||
var gui = new Gui();
|
||||
|
||||
var object = {
|
||||
numberProperty: 0,
|
||||
numberProperty: 0,
|
||||
stringProperty: 'hey',
|
||||
booleanProperty: false,
|
||||
functionProperty: function() {
|
||||
@ -29,4 +29,4 @@ examples[ 'basic-usage' ] = function() {
|
||||
|
||||
return gui;
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -139,4 +139,4 @@
|
||||
scope.Gui = Gui;
|
||||
|
||||
|
||||
} )( this );
|
||||
} )( this );
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer, PathObserver */
|
||||
'use strict';
|
||||
|
||||
|
||||
// [ ] onFinishChange()
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Gui.register( 'controller-boolean', function( value ) {
|
||||
|
||||
@ -19,4 +19,4 @@ Polymer( 'controller-boolean', {
|
||||
|
||||
}
|
||||
|
||||
} );
|
||||
} );
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Gui.register( 'controller-function', function( value ) {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
@ -60,4 +60,4 @@ Polymer( 'controller-option', {
|
||||
}
|
||||
|
||||
|
||||
} );
|
||||
} );
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Gui.register( 'controller-string', function( value ) {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Polymer, Path, Gui */
|
||||
'use strict';
|
||||
|
||||
|
||||
// [ ] scrolling when docked
|
||||
// [ ] scrolling when window short and not docked
|
||||
@ -141,4 +141,4 @@ Polymer( 'gui-panel', {
|
||||
}
|
||||
|
||||
|
||||
} );
|
||||
} );
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Polymer( 'gui-row', {
|
||||
|
||||
|
@ -12,7 +12,7 @@ gulp.task( 'default', ['docs', 'build'] )
|
||||
gulp.task( 'watch', ['default'], function() {
|
||||
|
||||
karma.server.start( {
|
||||
frameworks: ['jasmine'],
|
||||
frameworks: [ 'jasmine' ],
|
||||
files: [
|
||||
'build/gui.js',
|
||||
'tests/*.js'
|
||||
@ -93,7 +93,7 @@ gulp.task( 'docs', function() {
|
||||
gulp.task( 'clean', function() {
|
||||
|
||||
return gulp.src( ['build/*', '**/*.css'] )
|
||||
.pipe( $.clean() );
|
||||
.pipe( $.rimraf() );
|
||||
|
||||
} );
|
||||
|
||||
|
50
package.json
50
package.json
@ -1,27 +1,27 @@
|
||||
{
|
||||
"name": "dat.gui",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"browser-sync": "^1.3.6",
|
||||
"gulp": "^3.8.7",
|
||||
"gulp-clean": "^0.3.1",
|
||||
"gulp-if": "^1.2.4",
|
||||
"gulp-insert": "^0.4.0",
|
||||
"gulp-jscs": "^1.1.2",
|
||||
"gulp-jshint": "^1.8.4",
|
||||
"gulp-load-plugins": "^0.6.0",
|
||||
"gulp-plates": "0.0.5",
|
||||
"gulp-reload": "0.0.4",
|
||||
"gulp-rename": "^1.2.0",
|
||||
"gulp-replace": "^0.4.0",
|
||||
"gulp-stylus": "^1.3.0",
|
||||
"gulp-vulcanize": "^1.0.0",
|
||||
"gulp-watch": "^0.6.9",
|
||||
"jshint-stylish": "^0.4.0",
|
||||
"karma": "^0.12.23",
|
||||
"karma-chrome-launcher": "^0.1.4",
|
||||
"karma-jasmine": "^0.1.5",
|
||||
"marked": "^0.3.2",
|
||||
"nib": "^1.0.3"
|
||||
}
|
||||
"name": "dat.gui",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"browser-sync": "^1.3.6",
|
||||
"gulp": "^3.8.7",
|
||||
"gulp-if": "^1.2.4",
|
||||
"gulp-insert": "^0.4.0",
|
||||
"gulp-jscs": "^1.1.2",
|
||||
"gulp-jshint": "^1.8.4",
|
||||
"gulp-load-plugins": "^0.6.0",
|
||||
"gulp-plates": "0.0.5",
|
||||
"gulp-reload": "0.0.4",
|
||||
"gulp-rename": "^1.2.0",
|
||||
"gulp-replace": "^0.4.0",
|
||||
"gulp-rimraf": "^0.1.0",
|
||||
"gulp-stylus": "^1.3.0",
|
||||
"gulp-vulcanize": "^1.0.0",
|
||||
"gulp-watch": "^0.6.9",
|
||||
"jshint-stylish": "^0.4.0",
|
||||
"karma": "^0.12.23",
|
||||
"karma-chrome-launcher": "^0.1.4",
|
||||
"karma-jasmine": "^0.1.5",
|
||||
"marked": "^0.3.2",
|
||||
"nib": "^1.0.3"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user