olado/doT — pull request #73 by wellcaffeinated (2013-03-18 15:21:57+00:00)
Title: Fix for Uglify.js quirk

The Uglify.js minifyer (used by r.js), compresses doT's global declaration fallback from this:

(function(){ return this || (0,eval)('this'); }()).doT = doT;

into this:

function(){ return this || (0,eval)('this'); }().doT = doT;

Which results in an error in safari/IOS.

Adding a "(0," at the beginning forces uglify to keep the brackets, resulting in working compiled code.