libmapper / webmapper

An HTML5-based graphical interface to libmapper.
http://www.libmapper.org
GNU Lesser General Public License v2.1
17 stars 15 forks source link

Reduce use of $('#container') events for global commands #17

Closed DocSunset closed 5 years ago

DocSunset commented 5 years ago

A lot of these events are not used anywhere, so they were removed. Others (setMap) can just call command.send(whatever) directly since command is a global var anyways. Map and unmap I moved into a global var mapper class, since these are likely to require some additional logic as convergent mapping is implemented. The events which call mapProperties methods are skipped for now.