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

Unified Diff: chrome/common/extensions/docs/server2/template_data_source.py

Issue 10828027: Extensions Docs Server: use addEventListener with branch.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 8 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/server2/template_data_source.py
diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py
index e2f03d9547078c354ac72feb94bc4c34a1261038..7092ce0fda74a6c3bf68670da736cfbdaa9f593e 100644
--- a/chrome/common/extensions/docs/server2/template_data_source.py
+++ b/chrome/common/extensions/docs/server2/template_data_source.py
@@ -13,10 +13,10 @@ def _MakeBranchDict(branch):
return {
'showWarning': branch != 'stable',
'branches': [
- { 'name': 'Stable', 'path': EXTENSIONS_URL + '/stable' },
- { 'name': 'Dev', 'path': EXTENSIONS_URL + '/dev' },
- { 'name': 'Beta', 'path': EXTENSIONS_URL + '/beta' },
- { 'name': 'Trunk', 'path': EXTENSIONS_URL + '/trunk' }
+ { 'name': 'Stable', 'path': 'stable' },
+ { 'name': 'Dev', 'path': 'dev' },
+ { 'name': 'Beta', 'path': 'beta' },
+ { 'name': 'Trunk', 'path': 'trunk' }
],
'current': branch
}

Powered by Google App Engine
This is Rietveld 408576698