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.
5 // Obtain the count of sandwiches from the page URL.
6 var count = window.location.hash.substring(1);
8 // Replace the placeholder text with the actual count.
9 var domcount = document.querySelector('#count');
10 domcount.innerText = count;