kikito/cron.lua — pull request #2 by hahawoo (2012-10-22 09:48:02+00:00)
Title: A few changes!

Hi!

I changed cron.update to accept zero as well as positive numbers, because it can sometimes happen, at least with a minimal example such as:

```lua
cron = require 'cron'

function love.update(dt)
cron.update(dt)
end
```

Also, I don't think the entries table needs weak keys, because entries are only unwanted when they're removed, and when they're removed they're set to nil, and this would remove the keys anyway. I think.

And I *think* you can [remove table entries while using pairs](http://pgl.yoyo.org/luai/i/next).

inspect.lua in the spec folder didn't seem to be used, so I removed it.