Skip to content

Commit

Permalink
[minor] added an api method to make it more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoreed committed Jun 20, 2011
1 parent 97520c0 commit b9fa608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cliff.js
Expand Up @@ -128,7 +128,7 @@ cliff.stringifyRows = function (rows, colors) {
// Extracts the lists of `properties` from the specified `objs`
// and formats them according to `cliff.stringifyRows`.
//
cliff.rowifyObjects = function (objs, properties, colors) {
cliff.stringifyObjectRows = cliff.rowifyObjects = function (objs, properties, colors) {
var rows = [properties].concat(objs.map(function (obj) {
return cliff.extractFrom(obj, properties);
}));
Expand Down

0 comments on commit b9fa608

Please sign in to comment.