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

Unified Diff: chrome/common/extensions/docs/examples/extensions/buildbot/try_status.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/try_status.js
diff --git a/chrome/common/extensions/docs/examples/extensions/buildbot/try_status.js b/chrome/common/extensions/docs/examples/extensions/buildbot/try_status.js
index d909d080aada4938f990064742994ca20a31614b..164158087050fd1a7299db4a44b78554d1ac9143 100644
--- a/chrome/common/extensions/docs/examples/extensions/buildbot/try_status.js
+++ b/chrome/common/extensions/docs/examples/extensions/buildbot/try_status.js
@@ -2,11 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var RUNNING = -1;
-var SUCCESS = 0;
-var WARNINGS = 1;
-var FAILURE = 2;
-var SKIPPED = 3;
-var EXCEPTION = 4;
-var RETRY = 5;
-var NOT_STARTED = 6;
+(function() {
+
+window.buildbot = window.buildbot || {};
+
+buildbot.RUNNING = -1;
+buildbot.SUCCESS = 0;
+buildbot.WARNINGS = 1;
+buildbot.FAILURE = 2;
+buildbot.SKIPPED = 3;
+buildbot.EXCEPTION = 4;
+buildbot.RETRY = 5;
+buildbot.NOT_STARTED = 6;
+
+})();

Powered by Google App Engine
This is Rietveld 408576698