       openThisFrame   = frame.avg.x != 0 and frame.avg.y != 0
 
       if closedThisFrame and openLastFrame
-        closes.push(new Date());
+        @closes.push(new Date());
 
       if closedLastFrame and openThisFrame
-        opens.push(new Date());
+        @opens.push(new Date());
 
     @lastFrame = frame
 

_ = require 'lodash'
Buffer = require './buffer'
Indicator = require './indicator'
Interface = require './interface'
utilities = require './utilities'
connection = require './connection'

module.exports = class Eye


        if el isnt null then el.dispatchEvent(evt)
    else
      for e in event
        @triggerEvents e


  handleWink: (side, el) ->
