mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
removed use strict
This commit is contained in:
parent
74f284b4b9
commit
edf85c342c
File diff suppressed because one or more lines are too long
26
build/gui.js
26
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;
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
(function(scope) {
|
||||
'use strict';
|
||||
|
||||
|
||||
var Gui = function(params) {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer, PathObserver */
|
||||
'use strict';
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Gui.register('controller-boolean', function(value) {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Gui.register('controller-function', function(value) {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Gui, Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
@ -54,4 +54,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
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* globals Polymer */
|
||||
'use strict';
|
||||
|
||||
|
||||
Polymer('gui-row', {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user