Fix deprecation location reporting in spec runner

Esse commit está contido em:
Nathan Sobo
2015-01-06 11:50:16 -07:00
commit c9eb84f2a4
+1 -1
Ver Arquivo
@@ -117,7 +117,7 @@ class AtomReporter extends View
@div class: 'result-message fail deprecation-message', => @div class: 'result-message fail deprecation-message', =>
@raw marked(deprecation.message) @raw marked(deprecation.message)
for stack in deprecation.stacks for stack in deprecation.getStacks()
fullStack = stack.map ({functionName, location}) -> fullStack = stack.map ({functionName, location}) ->
if functionName is '<unknown>' if functionName is '<unknown>'
" at #{location}" " at #{location}"