Skip to content

Commit

Permalink
27314 Clear temporary DOM element for each call [Formatting Utils mea…
Browse files Browse the repository at this point in the history
…sureSvgTextRect does not work correctly] (#34)
  • Loading branch information
ignatvilesov committed Jul 24, 2018
1 parent 40a2d06 commit c0c416b
Show file tree
Hide file tree
Showing 6 changed files with 600 additions and 38 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.0.2
* Fix: measureSvgTextRect used to return incorrect SVGRect for the second and further calls because it did not clear temp DOM element

## 3.0.1
* FIX: In IFormattingService interface was changed formatNumberWithCustomOverride function declaration to accept culture name as last optional parameter
* FIX: formatHelper function In DisplayUnit class for now passes culture name to formattingService.formatNumberWithCustomOverride call
Expand Down
1 change: 0 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ module.exports = (config) => {
"node_modules/globalize/lib/cultures/globalize.cultures.js",
'node_modules/jasmine-jquery/lib/jasmine-jquery.js',
'node_modules/powerbi-visuals-utils-typeutils/lib/index.js',
'node_modules/powerbi-visuals-utils-svgutils/lib/index.js',
'node_modules/powerbi-visuals-utils-testutils/lib/index.js',
'node_modules/powerbi-visuals-utils-dataviewutils/lib/index.js',
srcCssRecursivePath,
Expand Down
Loading

0 comments on commit c0c416b

Please sign in to comment.