aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/lib/init/color_schemes.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/lib/init/color_schemes.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/lib/init/color_schemes.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/lib/init/color_schemes.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/lib/init/color_schemes.js
new file mode 100644
index 00000000..3ff78079
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/lib/init/color_schemes.js
@@ -0,0 +1,28 @@
+var COLORS_ON = {
+ RESET: '\x1B[39m',
+ ANSWER: '\x1B[36m', // NYAN
+ SUCCESS: '\x1B[32m', // GREEN
+ QUESTION: '\x1B[1m', // BOLD
+ question: function (str) {
+ return this.QUESTION + str + '\x1B[22m'
+ },
+ success: function (str) {
+ return this.SUCCESS + str + this.RESET
+ }
+}
+
+var COLORS_OFF = {
+ RESET: '',
+ ANSWER: '',
+ SUCCESS: '',
+ QUESTION: '',
+ question: function (str) {
+ return str
+ },
+ success: function (str) {
+ return str
+ }
+}
+
+exports.ON = COLORS_ON
+exports.OFF = COLORS_OFF