o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1333042350.7590778 ”»:@value{ I"length:EFiÞI"digest;
F"%17f6dfe84b86774b3d814e3e4355295bI"source;
FI"Þ(function() {
$(function() {
var setTimeAgoInWords;
setTimeAgoInWords = function() {
return $('.ago').each(function() {
var date, t;
t = $(this);
if (t.attr('datetime')) {
date = new Date(t.attr('datetime'));
t.attr('title', date.toString());
return t.text(date.timeAgoInWords() + ' ago');
}
});
};
setTimeAgoInWords();
setInterval(setTimeAgoInWords, 10000);
$('.popup').livequery(function() {
return $(this).fancybox({
overlayColor: "#fff",
transitionIn: "none",
transitionOut: "none",
titlePosition: "outside",
showCloseButton: false,
titleFormat: function(title, currentArray, currentIndex, currentOpts) {
if (title === '') return;
return '
';
}
});
});
$('#fancybox-content .close').live('click', function(e) {
e.preventDefault();
return $.fancybox.close();
});
$('input[type="date"]').livequery(function() {
return $(this).datepicker({
numberOfMonths: 2,
dateFormat: 'yy-mm-dd',
showOn: 'focus'
});
});
$('textarea.autoGrow').livequery(function() {
return $(this).autogrow();
});
$("select:not(.chzn), input:checkbox, input:radio, input:file").livequery(function() {
return $(this).uniform();
});
$('select.chzn').livequery(function() {
return $(this).chosen();
});
$('input.autoSuggest').livequery(function() {
var autoSuggestData;
autoSuggestData = [
{
value: "21",
name: "Mick Jagger"
}, {
value: "43",
name: "Johnny Storm"
}, {
value: "46",
name: "Richard Hatch"
}
];
return $(this).autoSuggest(autoSuggestData, {
startText: "AutoSuggesting",
selectedItemProp: "name",
searchObjProps: "name"
});
});
$('input, textarea').livequery(function() {
return $(this).placeholder();
});
return $('.dataTable').livequery(function() {
return $(this).dataTable({
"bPaginate": false,
"aaSorting": []
});
});
});
}).call(this);
;
FI"
_version;
F"%43efe3418add2f81ed34239839848e2f