Permalink
Browse files

add a line break to the separatedData var declaration for better read…

…ability
  • Loading branch information...
1 parent 98e90b7 commit 1f04fa59d56a3acf081eba510e03648ab85dda6e @cjstewart88 committed Sep 9, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 sortByTimeAgo.jquery.js
  2. +2 −1 sortByTimeAgo.js
View
@@ -1,7 +1,8 @@
(function ($) {
$.sortByTimeAgo = function (data) {
var sortedData = [],
- separatedData = { secondsAgo: [], minutesAgo: [], hoursAgo: [], daysAgo: [], weeksAgo: [], monthsAgo: [], yearsAgo: [] };
+ separatedData = { secondsAgo: [], minutesAgo: [], hoursAgo: [], daysAgo: [],
+ weeksAgo: [], monthsAgo: [], yearsAgo: [] };
$.each(data, function () {
var peiceOfData = this;
View
@@ -1,7 +1,8 @@
var sortByTimeAgo = (function () {
var unsortedData = [],
sortedData = [],
- separatedData = { secondsAgo: [], minutesAgo: [], hoursAgo: [], daysAgo: [], weeksAgo: [], monthsAgo: [], yearsAgo: [] };
+ separatedData = { secondsAgo: [], minutesAgo: [], hoursAgo: [], daysAgo: [],
+ weeksAgo: [], monthsAgo: [], yearsAgo: [] };
var separateData = function () {
var categories = ["second", "minute", "hour", "day", "week", "month", "year"];

0 comments on commit 1f04fa5

Please sign in to comment.