-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Postpone introduction of the new event name
rails_admin:dom_ready
to make the upcoming release a patch one. This partially reverts commit 2ee43de.
- Loading branch information
Showing
8 changed files
with
12 additions
and
32 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
spec/dummy_app/app/assets/javascripts/rails_admin/custom/ui.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
window.domReadyTriggered = []; | ||
|
||
document.addEventListener("rails_admin:dom_ready", function () { | ||
window.domReadyTriggered.push("plainjs/colon"); | ||
}); | ||
|
||
document.addEventListener("rails_admin.dom_ready", function () { | ||
window.domReadyTriggered.push("plainjs/dot"); | ||
}); | ||
|
||
$(document).on("rails_admin:dom_ready", function () { | ||
window.domReadyTriggered.push("jquery/colon"); | ||
}); | ||
|
||
$(document).on("rails_admin.dom_ready", function () { | ||
window.domReadyTriggered.push("jquery/dot"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters