Permalink
Browse files

textareas.js: use the mutation_summary library for tracking DOM chang…

…es (#71)

The old style DOM event listeners are problematic enough that they are
deprecated. Given that Chrome since version 18 supports DOM Mutation
Observers this makes a lot more sense. Hopefully this will also
prevent the ping-pong with the TrelloScrumm plugin.
  • Loading branch information...
1 parent 4465f79 commit 47b8315dca5221d81208ff047f488fdab48fc49a Alex Bennée committed Nov 7, 2012
Showing with 1,667 additions and 35 deletions.
  1. +1 −1 manifest.json
  2. +1,620 −0 mutation_summary.js
  3. +46 −34 textareas.js
View
@@ -28,7 +28,7 @@
{
"matches": ["http://*/*", "https://*/*", "file://*/*"],
"css": ["textareas.css"],
- "js": ["textareas.js", "jquery-1.7.min.js", "jquery.color.min.js"],
+ "js": ["textareas.js", "jquery-1.7.min.js", "jquery.color.min.js", "mutation_summary.js"],
"run_at": "document_idle",
"all_frames": true
}
Oops, something went wrong.

0 comments on commit 47b8315

Please sign in to comment.