Remove unnecessary return statements
These statements were automatically added by CoffeeScript. I'm only removing the obvious cases; there might be more cases where the `return` statement isn't necessary.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// Generated by CoffeeScript 1.12.6
|
||||
(function() {
|
||||
"use strict";
|
||||
App.IeAlert = {
|
||||
@@ -8,11 +7,11 @@
|
||||
path: "/",
|
||||
expires: 365
|
||||
});
|
||||
return $(".ie-callout").remove();
|
||||
$(".ie-callout").remove();
|
||||
},
|
||||
initialize: function() {
|
||||
return $(".ie-callout-close-js").on("click", function(event) {
|
||||
return App.IeAlert.set_cookie_and_hide(event);
|
||||
$(".ie-callout-close-js").on("click", function(event) {
|
||||
App.IeAlert.set_cookie_and_hide(event);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user