Convert CofeeScript to JavaScript

Compiled using `coffee -c` with CoffeeScript 1.12.6.
This commit is contained in:
Javi Martín
2019-07-03 00:11:16 +02:00
parent 2ff2100ebb
commit d93a029ce5
121 changed files with 2428 additions and 1924 deletions

View File

@@ -0,0 +1,20 @@
// Generated by CoffeeScript 1.12.6
(function() {
"use strict";
App.IeAlert = {
set_cookie_and_hide: function(event) {
event.preventDefault();
$.cookie("ie_alert_closed", "true", {
path: "/",
expires: 365
});
return $(".ie-callout").remove();
},
initialize: function() {
return $(".ie-callout-close-js").on("click", function(event) {
return App.IeAlert.set_cookie_and_hide(event);
});
}
};
}).call(this);