Skip to content

Commit

Permalink
removed .call() call - not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Chwedziak committed Dec 13, 2012
1 parent 381be72 commit 24f11c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/morris.grid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class Morris.Grid extends Morris.EventEmitter
# @private
#
yLabelFormat: (label) ->
@options.yLabelFormat.call(@, label, @options.preUnits, @options.postUnits)
@options.yLabelFormat(label, @options.preUnits, @options.postUnits)


# Parse a date into a javascript timestamp
Expand Down
2 changes: 1 addition & 1 deletion morris.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 24f11c6

Please sign in to comment.