From 862867ecd21bd2a5d3ec4b5fbc3bcd152b605767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 9 Oct 2014 00:17:16 +0200 Subject: [PATCH] Bump Acorn version. --- bower.json | 2 +- src/style/Color.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 3519b205..c23773aa 100644 --- a/bower.json +++ b/bower.json @@ -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": [ diff --git a/src/style/Color.js b/src/style/Color.js index 9e0c8b9d..fd3ee3d3 100644 --- a/src/style/Color.js +++ b/src/style/Color.js @@ -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;