-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update version, github actions added #60
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JQUERY-565129 - https://snyk.io/vuln/SNYK-JS-JQUERY-567880 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
src/VisualBuilderBase.ts
Outdated
|
||
this.element = element; | ||
|
||
if (guid) { | ||
this.element.addClass(`visual-${guid}`); | ||
this.element.className += `visual-${guid}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.element.classList.add(visual-${guid}
);
src/helpers/helpers.ts
Outdated
|
||
return $("#item"); | ||
element.id = "item"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use "item" + guid from https://www.npmjs.com/package/uuidv4
src/helpers/helpers.ts
Outdated
@@ -279,22 +282,18 @@ export function createTouch(x: number, y: number, element: JQuery, id: number = | |||
} | |||
|
|||
export function clickElement(element: JQuery, ctrlKey: boolean = false): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace clickElement(element: JQuery | HTMLElement
@@ -35,15 +35,13 @@ | |||
"devDependencies": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"powerbi-visuals-api": "3.2.0",
No description provided.