publiclab / infragram

A minimal core of the Infragram.org project in JavaScript
https://infragram.org/sandbox/
GNU General Public License v2.0
46 stars 166 forks source link

Use of initMouseEvent is deprecated #324

Closed Somya-Singhal closed 2 years ago

Somya-Singhal commented 2 years ago

This PR fixed the issue #315 in which I tried to remove the MouseinitEvent as its use is now being deprecated.

gitpod-io[bot] commented 2 years ago

jywarren commented 2 years ago

Hi @Somya-Singhal - would it be possible to make the changes in the /src/ folder, and then if we run the command "grunt build" which will compile it with the other files into the /dist/ folder. Does that make sense? Thank you!

Somya-Singhal commented 2 years ago

Hi @Somya-Singhal - would it be possible to make the changes in the /src/ folder, and then if we run the command "grunt build" which will compile it with the other files into the /dist/ folder. Does that make sense? Thank you!

Hello @jywarren, as I checked /src/Infragram.js, but in that file, initMouseEvent has not been used anywhere but in the dist/infragram.js it's been used instead. So I can't understand how do I make changes in the /src/Infragram.js first. Please if possible could you elaborate it?

Somya-Singhal commented 2 years ago

Hi @Somya-Singhal - would it be possible to make the changes in the /src/ folder, and then if we run the command "grunt build" which will compile it with the other files into the /dist/ folder. Does that make sense? Thank you!

Hello @TildaDares @jywarren, Please could you help me with this.