mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Set textContent when reporting progress
This commit is contained in:
@@ -113,7 +113,7 @@ class AtomReporter extends View
|
||||
specCount = "#{@completeSpecCount - @skippedCount}/#{@totalSpecCount - @skippedCount} (#{@skippedCount} skipped)"
|
||||
else
|
||||
specCount = "#{@completeSpecCount}/#{@totalSpecCount}"
|
||||
@specCount.text specCount
|
||||
@specCount[0].textContent = specCount
|
||||
|
||||
updateStatusView: (spec) ->
|
||||
if @failedCount > 0
|
||||
@@ -127,7 +127,7 @@ class AtomReporter extends View
|
||||
|
||||
time = "#{Math.round((spec.endedAt - @startedAt.getTime()) / 10)}"
|
||||
time = "0#{time}" if time.length < 3
|
||||
@time.text "#{time[0...-2]}.#{time[-2..]}s"
|
||||
@time[0].textContent = "#{time[0...-2]}.#{time[-2..]}s"
|
||||
|
||||
addSpecs: (specs) ->
|
||||
coreSpecs = 0
|
||||
|
||||
Reference in New Issue
Block a user