Merge branch 'crafting-algo-3'

This commit is contained in:
Andrew Miner
2017-05-02 19:25:08 -07:00
194 changed files with 310 additions and 5994 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - adsense.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
+1 -1
View File
@@ -1,7 +1,7 @@
//
// Crafting Guide - adsense.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - adsense_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -140,7 +140,7 @@ module.exports = class AdsenseController
adCount = @_computeAdCount @_computeAdType()
if adCount is 0
logger.verbose "Adsense is waiting for room to insert ads"
logger.trace "Adsense is waiting for room to insert ads"
@_waiting = true
_.delay (=> @_waiting = false; @_waitForPageReadiness()), c.adsense.readinessCheckInterval
else
@@ -1,7 +1,7 @@
//
// Crafting Guide - crafting_grid.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - crafting_grid_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - inventory.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
@@ -1,7 +1,7 @@
//
// Crafting Guide - inventory.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - inventory_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -1,7 +1,7 @@
//
// Crafting Guide - item_group.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - item_group_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -1,7 +1,7 @@
//
// Crafting Guide - item_tile.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - item_group_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - element.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
@@ -1,7 +1,7 @@
//
// Crafting Guide - element.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - element.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - item_selector.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
@@ -1,7 +1,7 @@
//
// Crafting Guide - item_selector.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,13 +1,14 @@
#
# Crafting Guide - item_selector_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
BaseController = require '../../base_controller'
ItemSelector = require '../../../models/site/item_selector'
ElementController = require './element/element_controller'
w = require "when"
########################################################################################################################
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - markdown_image.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
@@ -1,7 +1,7 @@
//
// Crafting Guide - markdown_image.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - markdown_image_list.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
@@ -1,7 +1,7 @@
//
// Crafting Guide - markdown_image_list.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - markdown_image_list_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - markdown_section.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
@@ -1,7 +1,7 @@
//
// Crafting Guide - markdown_section.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - markdown_section_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
+1 -1
View File
@@ -1,7 +1,7 @@
//
// Crafting Guide - recipe.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,14 +1,14 @@
#
# Crafting Guide - recipe_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
BaseController = require '../../base_controller'
CraftingGridController = require '../crafting_grid/crafting_grid_controller'
SlotController = require '../slot/slot_controller'
{StringBuilder} = require 'crafting-guide-common'
{StringBuilder} = require('crafting-guide-common').util
########################################################################################################################
+1 -1
View File
@@ -1,7 +1,7 @@
//
// Crafting Guide - slot.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - slot_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
+1 -1
View File
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - stack.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
+1 -1
View File
@@ -1,7 +1,7 @@
//
// Crafting Guide - stack.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - stack_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#
+1 -1
View File
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - twitter.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
+1 -1
View File
@@ -1,7 +1,7 @@
//
// Crafting Guide - news_page.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
+1 -1
View File
@@ -1,7 +1,7 @@
//-
//- Crafting Guide - video.jade
//-
//- Copyright © 2014-2016 by Redwood Labs
//- Copyright © 2014-2017 by Redwood Labs
//- All rights reserved.
//-
+1 -1
View File
@@ -1,7 +1,7 @@
//
// Crafting Guide - video.scss
//
// Copyright © 2014-2016 by Redwood Labs
// Copyright © 2014-2017 by Redwood Labs
// All rights reserved.
//
@@ -1,7 +1,7 @@
#
# Crafting Guide - video_controller.coffee
#
# Copyright © 2014-2016 by Redwood Labs
# Copyright © 2014-2017 by Redwood Labs
# All rights reserved.
#