Lots of stuff

This commit is contained in:
Deukhoofd committed 2016-02-01 23:19:30 +01:00
commit d7316d5799
6681 files changed
+527969

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
@PokeBattle ?= {}
PokeBattle.battles = null
PokeBattle.events = {}
_.extend(PokeBattle.events, Backbone.Events)
@@ -0,0 +1,3 @@
PokeBattle.events.once "ready", ->
$loading = $(".loading-container")
$loading.fadeOut(-> $loading.remove())
@@ -0,0 +1,3 @@
# This is turned off by default, due to performance reasons.
# But we'd like to listen to this event for the teambuilder.
Backbone.Associations.EVENTS_NC = true