gradient-parser
Advanced tools
Comparing version
{ | ||
"name": "gradient-parser", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"main": "build/web.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
@@ -17,6 +17,6 @@ // Copyright (c) 2014 Rafael Caricio. All rights reserved. | ||
positionKeywords: /^(left|center|right|top|bottom)/i, | ||
pixelValue: /^([0-9]+)px/, | ||
percentageValue: /^([0-9]+)\%/, | ||
emValue: /^([0-9]+)em/, | ||
angleValue: /^([0-9]+)deg/, | ||
pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/, | ||
percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/, | ||
emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/, | ||
angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/, | ||
startCall: /^\(/, | ||
@@ -23,0 +23,0 @@ endCall: /^\)/, |
@@ -17,6 +17,6 @@ // Copyright (c) 2014 Rafael Caricio. All rights reserved. | ||
positionKeywords: /^(left|center|right|top|bottom)/i, | ||
pixelValue: /^([0-9]+)px/, | ||
percentageValue: /^([0-9]+)\%/, | ||
emValue: /^([0-9]+)em/, | ||
angleValue: /^([0-9]+)deg/, | ||
pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/, | ||
percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/, | ||
emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/, | ||
angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/, | ||
startCall: /^\(/, | ||
@@ -23,0 +23,0 @@ endCall: /^\)/, |
@@ -17,6 +17,6 @@ // Copyright (c) 2014 Rafael Caricio. All rights reserved. | ||
positionKeywords: /^(left|center|right|top|bottom)/i, | ||
pixelValue: /^([0-9]+)px/, | ||
percentageValue: /^([0-9]+)\%/, | ||
emValue: /^([0-9]+)em/, | ||
angleValue: /^([0-9]+)deg/, | ||
pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/, | ||
percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/, | ||
emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/, | ||
angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/, | ||
startCall: /^\(/, | ||
@@ -23,0 +23,0 @@ endCall: /^\)/, |
{ | ||
"name": "gradient-parser", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Parse CSS3 gradient definitions and return an AST.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -200,3 +200,3 @@ 'use strict'; | ||
'center bottom, ellipse cover', | ||
'circle at 119px 58px' | ||
'circle at 87.23px -58.3px' | ||
].forEach(function(declaration) { | ||
@@ -203,0 +203,0 @@ |
38607
0.83%