Merge branch 'master' into production

This commit is contained in:
Nick Winter 2015-01-30 07:52:03 -08:00
commit 0594d138ee
9 changed files with 8 additions and 10 deletions

View file

@ -8,7 +8,7 @@ module.exports = class ScriptModule extends CocoClass
constructor: (@noteGroup) ->
super()
if not @noteGroup.prepared
@analyzeNoteGroup(noteGroup)
@analyzeNoteGroup(@noteGroup)
@noteGroup.notes ?= []
@noteGroup.prepared = true

View file

@ -48,7 +48,6 @@ module.exports = class Dimmer extends CocoClass
@updateDimMask() if @on
setSprites: (@sprites) ->
console.log
dim: ->
@on = true

View file

@ -35,7 +35,7 @@ module.exports = class LankBoss extends CocoClass
@camera = @options.camera
@webGLStage = @options.webGLStage
@surfaceTextLayer = @options.surfaceTextLayer
@world = options.world
@world = @options.world
@options.thangTypes ?= []
@lanks = {}
@lankArray = [] # Mirror @lanks, but faster for when we just need to iterate

View file

@ -12,8 +12,7 @@ class VersionsViewCollection extends CocoCollection
initialize: (@url, @levelID, @model) ->
super()
@url = url + levelID + '/versions'
@model = model
@url = url + @levelID + '/versions'
module.exports = class VersionsModal extends ModalView
template: template

View file

@ -37,7 +37,7 @@ module.exports = class LadderView extends RootView
constructor: (options, @levelID) ->
super(options)
@level = @supermodel.loadModel(new Level(_id: @levelID), 'level').model
@sessions = @supermodel.loadCollection(new LevelSessionsCollection(levelID), 'your_sessions').model
@sessions = @supermodel.loadCollection(new LevelSessionsCollection(@levelID), 'your_sessions').model
@teams = []

View file

@ -390,7 +390,7 @@ class HoverPopup extends $.fn.popover.Constructor
calculatedOffset =
top: pos.top - actualHeight
left: pos.left + pos.width / 2 - actualWidth / 2
this.applyPlacement(calculatedOffset, 'top')
@applyPlacement(calculatedOffset, 'top')
getPosition: ->
top: @$element.offset().top

View file

@ -38,7 +38,7 @@ safeJSONStringify = (input, maxDepth) ->
module.exports = class DocFormatter
constructor: (@options) ->
@doc = _.cloneDeep options.doc
@doc = _.cloneDeep @options.doc
@fillOutDoc()
fillOutDoc: ->

View file

@ -61,7 +61,7 @@ module.exports = class Spell
setLanguage: (@language) ->
#console.log 'setting language to', @language, 'so using original source', @languages[language] ? @languages.javascript
@originalSource = @languages[language] ? @languages.javascript
@originalSource = @languages[@language] ? @languages.javascript
# Translate comments chosen spoken language.
return unless @commentContext
context = $.extend true, {}, @commentContext

View file

@ -52,7 +52,7 @@
"underscore.string": "2.3.x",
"async": "0.2.x",
"connect": "2.7.x",
"coffee-script": "1.7.x",
"coffee-script": "1.9.x",
"graceful-fs": "~2.0.1",
"node-force-domain": "~0.1.0",
"mailchimp-api": "2.0.x",