dwf: more doc commits
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
/**
|
||||
* Base class for pretty printing for expectation results.
|
||||
*/
|
||||
jasmine.PrettyPrinter = function() {
|
||||
this.ppNestLevel_ = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
* Formats a value in a nice, human-readable string.
|
||||
*
|
||||
* @param value
|
||||
* @returns {String}
|
||||
*/
|
||||
jasmine.PrettyPrinter.prototype.format = function(value) {
|
||||
if (this.ppNestLevel_ > 40) {
|
||||
// return '(jasmine.pp nested too deeply!)';
|
||||
|
||||
Reference in New Issue
Block a user