mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Bump Acorn version.
This commit is contained in:
parent
3b2a82047e
commit
862867ecd2
2 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"straps": "~1.6.0",
|
"straps": "~1.6.0",
|
||||||
"acorn": "git://github.com/paperjs/acorn#0.3.2",
|
"acorn": "~0.4.0",
|
||||||
"stats.js": "r11"
|
"stats.js": "r11"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -55,6 +55,7 @@ var Color = Base.extend(new function() {
|
||||||
colorCache = {},
|
colorCache = {},
|
||||||
colorCtx;
|
colorCtx;
|
||||||
|
|
||||||
|
// TODO: Implement hsv, etc. CSS parsing!
|
||||||
function fromCSS(string) {
|
function fromCSS(string) {
|
||||||
var match = string.match(/^#(\w{1,2})(\w{1,2})(\w{1,2})$/),
|
var match = string.match(/^#(\w{1,2})(\w{1,2})(\w{1,2})$/),
|
||||||
components;
|
components;
|
||||||
|
|
Loading…
Reference in a new issue