Permalink
Browse files

[minor] oops `putRows` was already written

  • Loading branch information...
1 parent c1b3834 commit dc6a8ea44f8321dc2b08cb59e3cff210ebb48844 nicoreed committed Jun 20, 2011
Showing with 1 addition and 13 deletions.
  1. +1 −1 examples/put-rows.js
  2. +0 −12 lib/cliff.js
View
@@ -8,4 +8,4 @@ var rows = [
['Nick', 'vanilla', 'ice cream']
];
-cliff.putRows(rows);
+cliff.putRows('data', rows);
View
@@ -214,18 +214,6 @@ cliff.putObject = function (/*obj, [rewriters, padding] */) {
pad();
};
-//
-// ### function putRows (obj)
-// #### @level {String} Log-level to use for winston
-// #### @objs {Array} List of objects to create output for
-// #### @colors {Array} Set of colors to use for the headers
-// Logs a 2D array
-cliff.putRows = function (objs) {
- cliff.stringifyRows(objs).split('\n').forEach(function (str) {
- winston.log('info', str);
- });
-};
-
cliff.stringifyLiteral = function stringifyLiteral (literal) {
switch (cliff.typeOf(literal)) {
case 'number' : return literal + '';

0 comments on commit dc6a8ea

Please sign in to comment.