Lines Matching refs:Progress
639 require.register("browser/progress.js", function(module, exports, require){
641 * Expose `Progress`.
644 module.exports = Progress;
647 * Initialize a new `Progress` indicator.
650 function Progress() {
658 * Set progress size to `n`.
661 * @return {Progress} for chaining
665 Progress.prototype.size = function(n){
674 * @return {Progress} for chaining
678 Progress.prototype.text = function(str){
687 * @return {Progress} for chaining
691 Progress.prototype.fontSize = function(n){
700 * @return {Progress} for chaining
703 Progress.prototype.font = function(family){
712 * @return {Progress} for chaining
715 Progress.prototype.update = function(n){
724 * @return {Progress} for chaining
727 Progress.prototype.draw = function(ctx){
762 } catch (ex) {} //don't fail if we can't render progress
766 }); // module: browser/progress.js
2643 , Progress = require('../browser/progress')
2667 + '<li class="progress"><canvas width="40" height="40"></canvas></li>'
2696 , progress
2708 progress = new Progress;
2732 if (progress) progress.size(40);
2759 if (progress) progress.update(percent).draw(ctx);
2940 exports.Progress = require('./progress');
3858 require.register("reporters/progress.js", function(module, exports, require){
3868 * Expose `Progress`.
3871 exports = module.exports = Progress;
3874 * General progress bar color.
3877 Base.colors.progress = 90;
3880 * Initialize a new `Progress` bar test reporter.
3887 function Progress(runner, options) {
3928 process.stdout.write(color('progress', ' ' + options.open));
3931 process.stdout.write(color('progress', options.close));
3933 process.stdout.write(color('progress', ' ' + complete + ' of ' + total));
3952 Progress.prototype = new F;
3953 Progress.prototype.constructor = Progress;
3956 }); // module: reporters/progress.js