Complete the RecipeBook controller

This commit is contained in:
Andrew Miner
2014-12-23 09:12:02 -08:00
parent 9fc0407fe4
commit b05fc4c5c9
19 changed files with 205 additions and 50 deletions
+3 -2
View File
@@ -41,14 +41,15 @@ module.exports = class CraftingGuideRouter extends Backbone.Router
show = =>
@_page = controller
controller.onWillShow()
controller.render()
# controller.$el.css 'opacity', Opacity.hidden
$pageContent = $('.page')
$pageContent.empty()
$pageContent.append controller.$el
controller.$el.fadeIn showDuration
controller.$el.fadeIn showDuration, ->
controller.onDidShow()
if @_mainController?
showDuration = Duration.fast