Bump Acorn version.

This commit is contained in:
Jürg Lehni 2014-10-09 00:17:16 +02:00
parent 3b2a82047e
commit 862867ecd2
2 changed files with 2 additions and 1 deletions

View file

@ -25,7 +25,7 @@
],
"devDependencies": {
"straps": "~1.6.0",
"acorn": "git://github.com/paperjs/acorn#0.3.2",
"acorn": "~0.4.0",
"stats.js": "r11"
},
"keywords": [

View file

@ -55,6 +55,7 @@ var Color = Base.extend(new function() {
colorCache = {},
colorCtx;
// TODO: Implement hsv, etc. CSS parsing!
function fromCSS(string) {
var match = string.match(/^#(\w{1,2})(\w{1,2})(\w{1,2})$/),
components;