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

Unified Diff: chrome/common/extensions/docs/examples/extensions/buildbot/options.js

Issue 18401004: Continuously update status in the buildbot extension popup window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add copyright Created 7 years, 5 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/extensions/buildbot/options.js
diff --git a/chrome/common/extensions/docs/examples/extensions/buildbot/options.js b/chrome/common/extensions/docs/examples/extensions/buildbot/options.js
index 38eeb64f6630d21508fa2d4703081b1f4b3e1098..78c2994dce009d8f4b735634204191b60a605b6b 100644
--- a/chrome/common/extensions/docs/examples/extensions/buildbot/options.js
+++ b/chrome/common/extensions/docs/examples/extensions/buildbot/options.js
@@ -2,7 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var prefs = new Prefs;
+(function() {
+
+window.buildbot = window.buildbot || {};
+
+var prefs = new buildbot.PrefStore;
// Initialize the checkbox checked state from the saved preference.
function main() {
@@ -24,3 +28,5 @@ function main() {
}
main();
+
+})();

Powered by Google App Engine
This is Rietveld 408576698