1
0
Fork 0

stringifying collections should honor colors

This commit is contained in:
Jan Steemann 2013-03-08 17:38:20 +01:00
parent 83c0326145
commit 0206076fda
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ ArangoCollection.prototype._PRINT = function () {
var colors = require("internal").colors;
output("[ArangoCollection ",
colors.COLOR_STRING, this._id, colors.COLOR_RESET,
colors.COLOR_NUMBER, this._id, colors.COLOR_RESET,
", \"",
colors.COLOR_STRING, this.name(), colors.COLOR_RESET,
"\" (type ", type, ", status ", status, ")]");

View File

@ -146,7 +146,7 @@ ArangoCollection.prototype._PRINT = function () {
var colors = require("internal").colors;
output("[ArangoCollection ",
colors.COLOR_STRING, this._id, colors.COLOR_RESET,
colors.COLOR_NUMBER, this._id, colors.COLOR_RESET,
", \"",
colors.COLOR_STRING, this.name(), colors.COLOR_RESET,
"\" (type ", type, ", status ", status, ")]");