zrender
Advanced tools
Comparing version 5.5.0 to 5.6.0
@@ -42,3 +42,3 @@ export var DEFAULT_FONT_SIZE = 12; | ||
font = font || DEFAULT_FONT; | ||
var res = /(\d+)px/.exec(font); | ||
var res = /((?:\d+)?\.?\d*)px/.exec(font); | ||
var fontSize = res && +res[1] || DEFAULT_FONT_SIZE; | ||
@@ -45,0 +45,0 @@ var width = 0; |
@@ -93,5 +93,5 @@ /*! | ||
export declare function registerSSRDataGetter<T>(getter: ElementSSRDataGetter<T>): void; | ||
export declare const version = "5.5.0"; | ||
export declare const version = "5.6.0"; | ||
export interface ZRenderType extends ZRender { | ||
} | ||
export {}; |
@@ -327,3 +327,3 @@ /*! | ||
} | ||
export var version = '5.5.0'; | ||
export var version = '5.6.0'; | ||
; |
{ | ||
"name": "zrender", | ||
"version": "5.5.0", | ||
"version": "5.6.0", | ||
"description": "A lightweight graphic library providing 2d draw for Apache ECharts", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,1 +44,5 @@ ZRender | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
## Notice | ||
The Apache Software Foundation [Apache ECharts, ECharts](https://echarts.apache.org/), Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the [Apache Software Foundation](https://www.apache.org/). |
@@ -78,3 +78,3 @@ export const DEFAULT_FONT_SIZE = 12; | ||
// Use font size if there is no other method can be used. | ||
const res = /(\d+)px/.exec(font); | ||
const res = /((?:\d+)?\.?\d*)px/.exec(font); | ||
const fontSize = res && +res[1] || DEFAULT_FONT_SIZE; | ||
@@ -112,2 +112,2 @@ let width = 0; | ||
} | ||
} | ||
} |
@@ -559,5 +559,5 @@ /*! | ||
*/ | ||
export const version = '5.5.0'; | ||
export const version = '5.6.0'; | ||
export interface ZRenderType extends ZRender {}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
4086567
65550
48