#105 addextension jquery removed changes

This commit is contained in:
Agriya Dev5
2021-06-01 18:23:56 +05:30
parent e310b41020
commit c7a1588a89
3 changed files with 5 additions and 6 deletions

View File

@@ -854,7 +854,7 @@ class SvgCanvas {
* if extension of supplied name already exists
* @returns {Promise<void>} Resolves to `undefined`
*/
this.addExtension = async function (name, extInitFunc, { $: jq, importLocale }) {
this.addExtension = async function (name, extInitFunc, { importLocale }) {
if (typeof extInitFunc !== 'function') {
throw new TypeError('Function argument expected for `svgcanvas.addExtension`');
}
@@ -875,7 +875,6 @@ class SvgCanvas {
* @see {@link module:svgcanvas.PrivateMethods} source for the other methods/properties
*/
const argObj = canvas.mergeDeep(canvas.getPrivateMethods(), {
$: jq,
importLocale,
svgroot,
svgcontent,