andrewplummer/Sugar — Issue #80: Browserify compatibility
Author: johnnywengluu
Created: 2011-12-22 01:28:47+00:00
State: open

I have tried to use Browserify to fetch sugar to the browser but it doesn't work: "Uncaught TypeError: Object function shift() { [native code] } has no method 'push'"

A benefit of using Browserify is that you don't have to download the minified browser version separately. And you can update sugar for both environments to the latest by just updating the version nr in package.json.

I see a trend where people want to use Browserify to manage the packages instead.