Skip to content

Commit

Permalink
Defined updateSvg and updateCanvas as update in UMD builds, sin…
Browse files Browse the repository at this point in the history
…ce the tree-shaking argument does not apply to UMD builds. This removes two API definitions from the UMD bundle.
  • Loading branch information
dmester committed Jul 31, 2020
1 parent 6b22e51 commit aaf60aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/browser-umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { observer } from "./common/observer";
import { configure } from "./apis/configure";
import { drawIcon } from "./apis/drawIcon";
import { toSvg } from "./apis/toSvg";
import { update, updateAll, updateCanvas, updateSvg } from "./apis/update";
import { update, updateAll } from "./apis/update";
import { jdenticonJqueryPlugin } from "./apis/jquery";
import { GLOBAL } from "./common/global";

Expand All @@ -24,8 +24,8 @@ jdenticon["configure"] = configure;
jdenticon["drawIcon"] = drawIcon;
jdenticon["toSvg"] = toSvg;
jdenticon["update"] = update;
jdenticon["updateCanvas"] = updateCanvas;
jdenticon["updateSvg"] = updateSvg;
jdenticon["updateCanvas"] = update;
jdenticon["updateSvg"] = update;

/**
* Specifies the version of the Jdenticon package in use.
Expand Down

0 comments on commit aaf60aa

Please sign in to comment.