mozilla / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
176 stars 278 forks source link

Make bramble's parent DOM element's configurable #11

Closed sedge closed 9 years ago

sedge commented 9 years ago

Bracket assumes that it's the only fish in the pond, but it's wrong. It's event listeners hijack the entire page's events when they should only apply to whichever DOM element brackets is living in.

At the very least, see: https://github.com/humphd/brackets/blob/bramble/src/brackets.js#L332-455

sedge commented 9 years ago

That was fun.