directory-backbone-browserify
directory-backbone-browserify copied to clipboard
Browserify sample applicarion, using Backbone and Handlebar templates
errors
error "slider = new PageSlider($('body'))," is not a function tried commenting out but got more similar errors... Has anyone ever tested this app?
After running: browserify -t hbsfy app.js -o bundle.js I get the following error in the browser console: ``` Uncaught TypeError: object is not a function bundle.js:12762 ./models/memory/employee bundle.js:12762 ``` Is...
need to add handlebars to package.json file.
When I cloned the repo to take a look I was getting an error when running the browserify command as handlebars hadn't be declared as a dependency, therefore not being...
It looks like due to jQuery changes, it's no longer necessary to pass in `window`: ``` var $ = require('jquery')(window); ``` just this suffices: ``` var $ = require('jquery'); ```