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.WatchFormChanges = {
|
||||
@@ -25,8 +24,8 @@
|
||||
return;
|
||||
}
|
||||
$(document).off("page:before-change").on("page:before-change", App.WatchFormChanges.checkChanges);
|
||||
return App.WatchFormChanges.forms().each(function() {
|
||||
return $(this).data("watchChanges", $(this).serialize());
|
||||
App.WatchFormChanges.forms().each(function() {
|
||||
$(this).data("watchChanges", $(this).serialize());
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user