Fix scripts and tests
* Fix the reformat script to work with recent changes * Fix the convert-nei-dump script to remove leading and trailing '_' * Fix various broken tests
This commit is contained in:
@@ -42,13 +42,14 @@ module.exports = class ModPageController extends BaseController
|
||||
recipe = item.getPrimaryRecipe()
|
||||
return if not recipe
|
||||
|
||||
controller = @_recipeControllers[controllerIndex]
|
||||
if not controller?
|
||||
_.delay (=> @_createRecipeController recipe), delay
|
||||
delay += @_delayStep
|
||||
else
|
||||
controller.model = recipe
|
||||
controllerIndex += 1
|
||||
item.eachRecipe (recipe)=>
|
||||
controller = @_recipeControllers[controllerIndex]
|
||||
if not controller?
|
||||
_.delay (=> @_createRecipeController recipe), delay
|
||||
delay += @_delayStep
|
||||
else
|
||||
controller.model = recipe
|
||||
controllerIndex += 1
|
||||
else
|
||||
@$recipes.hide duration:Duration.fast
|
||||
|
||||
|
||||
Reference in New Issue
Block a user