This commit is contained in:
Mr.doob 2022-02-16 19:57:57 -05:00
parent 103be80b63
commit 6a444cca62
7 changed files with 7036 additions and 35 deletions

View File

@ -1,6 +1,6 @@
/**
* dat-gui JavaScript Controller Library
* http://code.google.com/p/dat-gui
* https://github.com/dataarts/dat.gui
*
* Copyright 2011 Data Arts Team, Google Creative Lab
*
@ -222,7 +222,7 @@ var INTERPRETATIONS = [
},
CSS_RGB: {
read: function read(original) {
var test = original.match(/^rgb\(\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*\)/);
var test = original.match(/^rgb\(\s*(\S+)\s*,\s*(\S+)\s*,\s*(\S+)\s*\)/);
if (test === null) {
return false;
}
@ -237,7 +237,7 @@ var INTERPRETATIONS = [
},
CSS_RGBA: {
read: function read(original) {
var test = original.match(/^rgba\(\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*\)/);
var test = original.match(/^rgba\(\s*(\S+)\s*,\s*(\S+)\s*,\s*(\S+)\s*,\s*(\S+)\s*\)/);
if (test === null) {
return false;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/**
* dat-gui JavaScript Controller Library
* http://code.google.com/p/dat-gui
* https://github.com/dataarts/dat.gui
*
* Copyright 2011 Data Arts Team, Google Creative Lab
*
@ -216,7 +216,7 @@ var INTERPRETATIONS = [
},
CSS_RGB: {
read: function read(original) {
var test = original.match(/^rgb\(\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*\)/);
var test = original.match(/^rgb\(\s*(\S+)\s*,\s*(\S+)\s*,\s*(\S+)\s*\)/);
if (test === null) {
return false;
}
@ -231,7 +231,7 @@ var INTERPRETATIONS = [
},
CSS_RGBA: {
read: function read(original) {
var test = original.match(/^rgba\(\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*\)/);
var test = original.match(/^rgba\(\s*(\S+)\s*,\s*(\S+)\s*,\s*(\S+)\s*,\s*(\S+)\s*\)/);
if (test === null) {
return false;
}

File diff suppressed because one or more lines are too long

7029
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "dat.gui",
"version": "0.7.7",
"version": "0.7.8",
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
"main": "build/dat.gui.js",
"module": "build/dat.gui.module.js",