Skip to content

Commit

Permalink
Add a guard that fixes strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
searls committed May 3, 2015
1 parent c4458aa commit 1830be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/jasmine-fixture.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
currentJasmineFixture

$whatsTheRootOf = (that) ->
if that.jquery?
if that?.jquery?
that
else if $('#jasmine_content').length > 0
$('#jasmine_content')
Expand Down

0 comments on commit 1830be3

Please sign in to comment.