Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
new assets compressed with uglifyjs
Browse files Browse the repository at this point in the history
  • Loading branch information
iloire committed Apr 29, 2012
1 parent d65d203 commit 0ed0405
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 10 deletions.
18 changes: 18 additions & 0 deletions public/javascripts/bootstrap-popover.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions public/javascripts/bootstrap-twipsy.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/javascripts/directory.js
Expand Up @@ -530,7 +530,7 @@ $(document).ready(function () {
});

$('a.fav').live ('click', function(){
var id = $(this).attr('idProfile');
var id = $(this).attr('idProfile');
var params = {favstatus:$(this).attr('fav'), id:id};
directory.favorite (params, function(err, user_fav){
directory.invalidate_cache();
Expand Down
1 change: 1 addition & 0 deletions public/javascripts/directory.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 11 additions & 9 deletions public/javascripts/jquery.timeago.js
Expand Up @@ -3,7 +3,7 @@
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
*
* @name timeago
* @version 0.10.0
* @version 0.11.1
* @requires jQuery v1.2.3+
* @author Ryan McGeary
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
Expand Down Expand Up @@ -45,6 +45,7 @@
months: "%d months",
year: "about a year",
years: "%d years",
wordSeparator: " ",
numbers: []
}
},
Expand Down Expand Up @@ -76,14 +77,15 @@
minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
minutes < 90 && substitute($l.hour, 1) ||
hours < 24 && substitute($l.hours, Math.round(hours)) ||
hours < 48 && substitute($l.day, 1) ||
days < 30 && substitute($l.days, Math.floor(days)) ||
days < 60 && substitute($l.month, 1) ||
days < 365 && substitute($l.months, Math.floor(days / 30)) ||
years < 2 && substitute($l.year, 1) ||
substitute($l.years, Math.floor(years));
hours < 42 && substitute($l.day, 1) ||
days < 30 && substitute($l.days, Math.round(days)) ||
days < 45 && substitute($l.month, 1) ||
days < 365 && substitute($l.months, Math.round(days / 30)) ||
years < 1.5 && substitute($l.year, 1) ||
substitute($l.years, Math.round(years));

return $.trim([prefix, words, suffix].join(" "));
var separator = $l.wordSeparator === undefined ? " " : $l.wordSeparator;
return $.trim([prefix, words, suffix].join(separator));
},
parse: function(iso8601) {
var s = $.trim(iso8601);
Expand Down Expand Up @@ -143,4 +145,4 @@
// fix for IE6 suckage
document.createElement("abbr");
document.createElement("time");
}(jQuery));
}(jQuery));

0 comments on commit 0ed0405

Please sign in to comment.