derbyjs / racer

Realtime model synchronization engine for Node.js
1.19k stars 118 forks source link

Fix for Uglify v2.3.2 #130

Closed SLaks closed 11 years ago

SLaks commented 11 years ago

Uglify v2.3.2 transforms (function(){})() to !function(){}() This breaks the slice() call.

Fixes lefnire/habitrpg#920

This code still works with older Uglifies.

SLaks commented 11 years ago

The current npm version of Racer doesn't work in production mode; this should be published soon.