mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Fixed a bug with logging missing documentation.
This commit is contained in:
parent
51923459e0
commit
20589db6be
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ module.exports = class SpellView extends View
|
|||
doc = _.find (e.allDocs['__' + prop] ? []), (doc) ->
|
||||
return true if doc.owner is owner
|
||||
return (owner is 'this' or owner is 'more') and (not doc.owner? or doc.owner is 'this')
|
||||
console.log 'could not find doc for', prop, 'from', e.allDocs['__' + prop], 'for', owner, 'of', propGroups unless doc
|
||||
console.log 'could not find doc for', prop, 'from', e.allDocs['__' + prop], 'for', owner, 'of', e.propGroups unless doc
|
||||
doc ?= prop
|
||||
if doc.snippets?
|
||||
entry =
|
||||
|
|
Loading…
Reference in a new issue