flot/flot — pull request #1387 by jasperkuperus (2014-12-11 12:18:46+00:00)
Title: Called internal jQuery resize event dependency with window in stead of this

The resize plugin does not work in combination with browserify. The cause of this can be found in the included jQuery resize event dependency, which calls itself using this, where it actually needs window (and thereby assumes this === window). However, in browserify, this is mapped to module.exports, which is an empty object.

For more details, see: https://github.com/substack/node-browserify/issues/372