Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix output clearing on new dropped file

  • Loading branch information...
commit 9b14543c0d51ddb1c89e26023031ec2aaae8e2d9 1 parent 2f7c7ce
@syrio authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  perf.coffee
  2. +1 −0  perf.js
View
1  perf.coffee
@@ -12,6 +12,7 @@ class Bench
constructor: ->
@output = $('#benchResults')
+ @output.text ""
runSync: (tested) ->
bench = new Benchmark('aes-test', tested, {maxTime: 20})
View
1  perf.js
@@ -13,6 +13,7 @@
Bench = (function() {
function Bench() {
this.output = $('#benchResults');
+ this.output.text("");
}
Bench.prototype.runSync = function(tested) {
var bench, mean, results, sample_size;
Please sign in to comment.
Something went wrong with that request. Please try again.