Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Fixes #249. Added example to test suit to verify it is and will remai…
Browse files Browse the repository at this point in the history
…n fixed
  • Loading branch information
AsaAyers committed Aug 13, 2014
1 parent a0e1c39 commit a24754d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_no_unnecessary_fat_arrows.coffee
Expand Up @@ -59,4 +59,11 @@ vows.describe('no unnecessary fat arrows').addBatch({
'functions with parameter assignment' : shouldPass '(@a) =>'
'functions with destructuring parameter assignment': shouldPass '({@a}) =>'

'RequireJS modules containing classes with static methods': shouldPass '''
define [], ->
class MyClass
@omg: ->
'''

}).export(module)

0 comments on commit a24754d

Please sign in to comment.