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

Unified Diff: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html

Issue 9289057: Changing manifest to v2 extension samples (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding zip files after rebasing with master Created 8 years, 11 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: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html
diff --git a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html
index 3a765a5ff91cabe6aaf2437d0c98fece74ea0600..82558cce92f4efa15b7601da0a9d5e7e5d6a9e00 100644
--- a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html
+++ b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html
@@ -29,14 +29,6 @@
The word <em>sandwich</em> appears <em id="count">X</em> times on this
page.
</div>
- <script>
- // Obtain the count of sandwiches from the page URL.
- var count = window.location.hash.substring(1);
- if (count) {
- // Replace the placeholder text with the actual count.
- var domcount = document.querySelector('#count');
- domcount.innerText = count;
- }
- </script>
+ <script src="infobar.js"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698