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

Side by Side Diff: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.js

Issue 9289057: Changing manifest to v2 extension samples (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Cleaning up warnings 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Obtain the count of sandwiches from the page URL.
Mike West 2012/01/27 16:06:32 Needs a copyright notice.
2 var count = window.location.hash.substring(1);
3 if (count) {
4 // Replace the placeholder text with the actual count.
5 var domcount = document.querySelector('#count');
6 domcount.innerText = count;
7 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698