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

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: Adding zip files after rebasing with master Created 8 years, 10 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Obtain the count of sandwiches from the page URL.
6 var count = window.location.hash.substring(1);
7 if (count) {
8 // Replace the placeholder text with the actual count.
9 var domcount = document.querySelector('#count');
10 domcount.innerText = count;
11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698