backbone.containerview icon indicating copy to clipboard operation
backbone.containerview copied to clipboard

how to use plugin with browserify modules

Open bboydflo opened this issue 8 years ago • 0 comments

Hi, I am trying to work with backbone.containerview in a commonjs/browserify project. I require the module and I am trying to create a container view like in the example below:

var ContainerView = require('backbone.containerview'); var containerView = ContainerView.create('#page-container');

but get an error. I also tried console.log(ContainerView.prototype); and create method doesn't seem to be part of the prototype.

Please help

bboydflo avatar Mar 04 '16 08:03 bboydflo