twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

index.js (284B)


      1 
      2 module.exports = function(){
      3   var orig = Error.prepareStackTrace;
      4   Error.prepareStackTrace = function(_, stack){ return stack; };
      5   var err = new Error;
      6   Error.captureStackTrace(err, arguments.callee);
      7   var stack = err.stack;
      8   Error.prepareStackTrace = orig;
      9   return stack;
     10 };