twitst4tz

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

delayed-require.coffee (362B)


      1 #!/usr/bin/env ./node_modules/.bin/coffee
      2 
      3 ###
      4 Expected output is a number above 350 and below 600.
      5 The time reported is relative to the time the node.js process was started
      6 this is approximately at `(Date.now() process.uptime() * 1000)`
      7 ###
      8 
      9 delay = require "call-delayed"
     10 delay 250, ->
     11   now = require "../../lib/performance-now"
     12   console.log now().toFixed 3