Skip to content

Commit

Permalink
Fixed compatibility issue with Coffeescript 1.9 as required for pimat…
Browse files Browse the repository at this point in the history
…ic 0.9
  • Loading branch information
mwittig committed Apr 8, 2016
1 parent 899b427 commit 5bf828e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions filter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ module.exports = (env) ->
class SimpleMovingAverageFilter extends env.devices.Device

constructor: (@config, lastState) ->
@id = config.id
@name = config.name
@size = config.size
@output = config.output
@id = @config.id
@name = @config.name
@size = @config.size
@output = @config.output
@filterValues = []
@sum = 0.0
@mean = 0.0
Expand Down Expand Up @@ -110,10 +110,10 @@ module.exports = (env) ->
class SimpleTruncatedMeanFilter extends env.devices.Device

constructor: (@config, lastState) ->
@id = config.id
@name = config.name
@size = config.size
@output = config.output
@id = @config.id
@name = @config.name
@size = @config.size
@output = @config.output
@filterValues = []
@mean = 0.0

Expand Down

0 comments on commit 5bf828e

Please sign in to comment.