datavis-glide 4.0.0-PRE.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datavis-glide",
3
- "version": "4.0.0-PRE.0",
3
+ "version": "4.0.0",
4
4
  "description": "DataVis GLIDE (Graphical Layer for Interactive Data Exploration)",
5
5
  "keywords": [
6
6
  "data",
package/src/util/misc.js CHANGED
@@ -653,7 +653,7 @@ export function setElement(container, value, opts) {
653
653
  // makeOperationButton {{{2
654
654
 
655
655
  function makeOperationIcon(op) {
656
- if (op.iconType === 'fontawesome') {
656
+ if (op.iconType === 'fontawesome' || op.icon.substr(0, 3) === 'fa-') {
657
657
  return fontAwesome(op.icon).get(0);
658
658
  }
659
659
  return icon(op.icon).get(0);