projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #220 from walkingeyerobot/master
[dygraphs.git]
/
rgbcolor
/
rgbcolor.js
diff --git
a/rgbcolor/rgbcolor.js
b/rgbcolor/rgbcolor.js
index
67b730e
..
5a88244
100644
(file)
--- a/
rgbcolor/rgbcolor.js
+++ b/
rgbcolor/rgbcolor.js
@@
-4,13
+4,18
@@
* NOTE: modified by danvk. I removed the "getHelpXML" function to reduce the
* file size, added "use strict" and a few "var" declarations where needed.
*
* NOTE: modified by danvk. I removed the "getHelpXML" function to reduce the
* file size, added "use strict" and a few "var" declarations where needed.
*
+ * Modifications by adilh:
+ * Original "RGBColor" function name collides with:
+ * http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor
+ * so renamed to "RGBColorParser"
+ *
* @author Stoyan Stefanov <sstoo@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* @license Use it if you like it
*/
"use strict";
* @author Stoyan Stefanov <sstoo@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* @license Use it if you like it
*/
"use strict";
-function RGBColor(color_string)
+function RGBColor
Parser
(color_string)
{
this.ok = false;
{
this.ok = false;