node_modules/mocha/mocha.js 1 location
|
@@ 282-282 (lines=1) @@
|
279 |
|
* @param {CanvasRenderingContext2d} ctx |
280 |
|
* @return {Progress} Progress instance. |
281 |
|
*/ |
282 |
|
Progress.prototype.draw = function (ctx) { |
283 |
|
try { |
284 |
|
var percent = Math.min(this.percent, 100); |
285 |
|
var size = this._size; |
node_modules/mocha/lib/browser/progress.js 1 location
|
@@ 83-83 (lines=1) @@
|
80 |
|
* @param {CanvasRenderingContext2d} ctx |
81 |
|
* @return {Progress} Progress instance. |
82 |
|
*/ |
83 |
|
Progress.prototype.draw = function (ctx) { |
84 |
|
try { |
85 |
|
var percent = Math.min(this.percent, 100); |
86 |
|
var size = this._size; |