summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/samples/getviews/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/samples/getviews/common.js')
-rw-r--r--chrome/test/data/extensions/samples/getviews/common.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/test/data/extensions/samples/getviews/common.js b/chrome/test/data/extensions/samples/getviews/common.js
deleted file mode 100644
index 055dc20..0000000
--- a/chrome/test/data/extensions/samples/getviews/common.js
+++ /dev/null
@@ -1,15 +0,0 @@
-function claim() {
- var views = chrome.extension.getViews();
- for (var i = 0; i < views.length; i++) {
- views[i].respond(document.getElementById("me").innerHTML);
- }
-}
-
-function respond(val) {
- var me = document.getElementById("me");
- if (val == me.innerHTML) {
- me.className = "strong";
- } else {
- me.className = "weak";
- }
-} \ No newline at end of file