Move model files to crafting-guide-common

This commit is contained in:
Andrew Miner
2017-05-02 18:34:53 -07:00
parent 69ca6b06b9
commit bd96bc6575
85 changed files with 134 additions and 5686 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ global.π = Math.PI
global.ε = 0.0001
global.w = require 'when'
{Logger} = require 'crafting-guide-common'
{Logger} = require('crafting-guide-common').util
global.logger = new Logger
Tracker = require './tracker'
@@ -63,7 +63,7 @@ storage = new Storage storage:global.localStorage
tracker.trackPageView()
{CraftingGuideClient} = require 'crafting-guide-common'
{CraftingGuideClient} = require('crafting-guide-common').api
client = _(new CraftingGuideClient(baseUrl:apiBaseUrl)).extend Backbone.Events
client.onStatusChanged = (client, oldStatus, newStatus)->
logger.info "Crafting Guide server status changed from #{oldStatus} to #{newStatus}"