Remove Cheats.coffee.

This commit is contained in:
ccd0 2015-02-22 10:24:13 -08:00
parent 3c67af32d0
commit c97ec41ee2
2 changed files with 0 additions and 13 deletions

View File

@ -49,7 +49,6 @@ module.exports = (grunt) ->
)
coffee:
src: [
'src/General/Cheats.coffee'
'src/General/Config.coffee'
'src/General/Globals.coffee'
'src/General/lib/*.coffee'

View File

@ -1,12 +0,0 @@
# I am bad at JavaScript and if you reuse this, so are you.
Array::indexOf = (val, i) ->
i or= 0
len = @length
while i < len
return i if @[i] is val
i++
return -1
# Update CoffeeScript's reference to [].indexOf
# Reserved keywords are ignored in embedded javascript.
`__indexOf = [].indexOf`