Skip to content

Commit

Permalink
Drop CoffeeScript operators
Browse files Browse the repository at this point in the history
  • Loading branch information
timkurvers committed Nov 9, 2014
1 parent cddfd10 commit f8bb0ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/scripts/lib/client/crypto/big-num.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class BigNum

# Creates a new BigNum
constructor: (value, radix, unsigned=true) ->
if value.constructor is BigInteger
if value.constructor == BigInteger
@_bi = value
else if value.constructor is BigNum
else if value.constructor == BigNum
@_bi = value.bi
else
@_bi = new BigInteger(value, radix, unsigned)
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/lib/client/crypto/hash.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Wowser.Crypto.Hash
if @_digest
return @

if value.constructor is String
if value.constructor == String
@_data.writeString(value)
else
@_data.write(value)
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/lib/client/game/handler.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Wowser.Expansion.WotLK.Handlers.WorldHandler extends Wowser.Net.Socket
if not @connected
return

if @remaining is false
if @remaining == false

if @buffer.available < WorldPacket.HEADER_SIZE_INCOMING
return
Expand Down

0 comments on commit f8bb0ef

Please sign in to comment.