lib/assets/javascripts/esphinx/util/cookie.js in esphinx-rails-1.1.2 vs lib/assets/javascripts/esphinx/util/cookie.js in esphinx-rails-1.1.3
- old
+ new
@@ -65,11 +65,11 @@
if (duration.seconds) {
options.maxAge = duration.seconds;
} else if (duration.minutes) {
options.maxAge = duration.minutes * 60;
} else if (duration.hours) {
- options.maxAge = optdurationons.hours * 60 * 60;
+ options.maxAge = duration.hours * 60 * 60;
} else if (duration.days) {
options.maxAge = duration.days * 24 * 60 * 60;
}
}
@@ -146,22 +146,22 @@
return collection[1];
}
}
return "";
- },
+ }
- reset: function(key, durationOptions) {
+ // reset: function(key, durationOptions) {
- },
+ // },
- delete: function(key) {
+ // delete: function(key) {
- },
+ // },
- restart: function(key) {
+ // restart: function(key) {
- }
+ // }
});
}(esPhinx));