Skip to content
Browse files

update util.js

  • Loading branch information...
1 parent 21aa57d commit 7c16427b9a74a9d51a9380ace5f44598af11fb1b @lenbo-ma committed Mar 19, 2013
Showing with 0 additions and 19 deletions.
  1. +0 −19 util.js
View
19 util.js
@@ -47,22 +47,3 @@ exports.notModified = function(res) {
exports.removeContentHeaders(res);
res.statusCode = 304;
};
-
-
-/**
- * Merge multiple json object.
- *
- * @param {Array} jsonArr
- * @return {Object} newJson
- * @api private
- */
-
-exports.mergeJson = function (jsonArr) {
- var newJson = {};
- for (var index in jsonArr) {
- for (var attr in jsonArr[index]) {
- newJson[attr] = jsonArr[index][attr];
- }
- }
- return newJson;
-};

0 comments on commit 7c16427

Please sign in to comment.
Something went wrong with that request. Please try again.