Commit Graph
3 Commits
Author SHA1 Message Date
Ed S f0be8b5425 Consistently use this when scope allows it
We have uls = this for scoping, but then we randomly switch between the two, even when 'this' is allowed. We only need to used the local variable in un-proxied anonymous functions.
2014-04-22 14:59:46 -07:00
Ed S 2c0f4e1114 Only use default pos if top/left are undefined
Allows 0 (which is falsey) to be passed as an offsets. Fixes #141
2014-04-22 00:23:38 -07:00
Ed S ad1be8c0af Always close with 'cancel' method
So that the onCancel callback is useful. Fixes #142
2014-04-22 00:14:39 -07:00