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 = {};
|
var examples = {};
|
||||||
|
|
||||||
examples[ 'default' ] = function() {
|
examples[ 'default' ] = function() {
|
||||||
|
|
||||||
var gui = new Gui();
|
var gui = new Gui();
|
||||||
gui.anon( 'hi', 'todo' );
|
//gui.anon( 'hi', 'todo' );
|
||||||
return gui;
|
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"
|
// "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() {
|
examples[ 'basic-usage' ] = function() {
|
||||||
|
|
||||||
var gui = new Gui();
|
var gui = new Gui();
|
||||||
|
|
||||||
var object = {
|
var object = {
|
||||||
numberProperty: 0,
|
numberProperty: 0,
|
||||||
stringProperty: 'hey',
|
stringProperty: 'hey',
|
||||||
booleanProperty: false,
|
booleanProperty: false,
|
||||||
functionProperty: function() {
|
functionProperty: function() {
|
||||||
@ -29,4 +29,4 @@ examples[ 'basic-usage' ] = function() {
|
|||||||
|
|
||||||
return gui;
|
return gui;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
(function(scope) {
|
(function(scope) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var Gui = function(params) {
|
var Gui = function(params) {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Gui, Polymer, PathObserver */
|
/* globals Gui, Polymer, PathObserver */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Gui, Polymer */
|
/* globals Gui, Polymer */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
Gui.register('controller-boolean', function(value) {
|
Gui.register('controller-boolean', function(value) {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Gui, Polymer */
|
/* globals Gui, Polymer */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
Gui.register('controller-function', function(value) {
|
Gui.register('controller-function', function(value) {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Gui, Polymer */
|
/* globals Gui, Polymer */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
@ -54,4 +54,4 @@ Polymer( 'controller-option', {
|
|||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Gui, Polymer */
|
/* globals Gui, Polymer */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
Gui.register('controller-string', function(value) {
|
Gui.register('controller-string', function(value) {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Polymer, Path, Gui */
|
/* globals Polymer, Path, Gui */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
// [ ] scrolling when docked
|
// [ ] scrolling when docked
|
||||||
// [ ] scrolling when window short and not docked
|
// [ ] scrolling when window short and not docked
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* globals Polymer */
|
/* globals Polymer */
|
||||||
'use strict';
|
|
||||||
|
|
||||||
Polymer('gui-row', {
|
Polymer('gui-row', {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user