I have installed jQuery (v1.11.1) with npm. (I need 1.x since I want to use it with Angular that does not support 2.x).
I am then trying to import the jQuery object with require via browserify, but it seems like the returned object is not the expected so I can't use it.
var jQuery = require('jquery/dist/jquery')(window);
When trying to use it I get Uncaught TypeError: object is not a function.
What am I doing wrong? How can I use jQuery with browserify?