Avoid allocating an array on every poll

@jashkenas Love CoffeeScript but I wish I could opt out of loops being
list comprehensions.
This commit is contained in:
Nathan Sobo
2015-02-20 15:28:02 -07:00
parent 32d393d26f
commit 55f80f33e6

View File

@@ -207,3 +207,4 @@ class ViewRegistry
else
@performDocumentPollAfterUpdate = false
poller() for poller in @documentPollers
return