I just discovered backbone.upload-manager.js uses a Backbone view called DeferedView, which happens to be defined in /sample/vendor/js/backbone.defered-view-loader.js.
Why in the world is the package dependent on files in the sample directory? Isn't sample meant to house demos? If there are other Backbone packages which are dependencies for this project, they should be defined somewhere.
Ideally the package would be self contained. It would first check for the existence of the DeferedView object, and if it doesn't exist, it has the code to create it within the package itself.
I just discovered
backbone.upload-manager.jsuses a Backbone view calledDeferedView, which happens to be defined in/sample/vendor/js/backbone.defered-view-loader.js.Why in the world is the package dependent on files in the sample directory? Isn't sample meant to house demos? If there are other Backbone packages which are dependencies for this project, they should be defined somewhere.
Ideally the package would be self contained. It would first check for the existence of the DeferedView object, and if it doesn't exist, it has the code to create it within the package itself.