Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1541)

Unified Diff: appengine/monorail/templates/framework/js-placeholders.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/monorail/templates/framework/js-placeholders.ezt
diff --git a/appengine/monorail/templates/framework/js-placeholders.ezt b/appengine/monorail/templates/framework/js-placeholders.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..dd6b32a293a71eec0cb733afe8a68761ad410a2b
--- /dev/null
+++ b/appengine/monorail/templates/framework/js-placeholders.ezt
@@ -0,0 +1,13 @@
+[# Empty function definitions because we load the JS at bottom of page.
+ Without this, some rollovers or on-click handlers might give errors for
+ the first 200ms or so after the page loads. With them, they simply are
+ no-ops. ]
+<script type="text/javascript" nonce="[nonce]">
+runOnLoad(function() {
+function _showBelow(){}
+function _toggleStar(){}
+function _goIssue(){}
+function _goFile(){}
+});
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698