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

Side by Side Diff: src/appengine/scripts/redirector.py

Issue 35913002: Try Dart 1 hour experience first draft (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: updated image of dart editor with new directory name Created 7 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/appengine/app.yaml ('k') | src/diagrams/codelabs/darrrt/anatomyclass.graffle » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 from webapp2 import * 1 from webapp2 import *
2 2
3 NEWS_POSTS = { 3 NEWS_POSTS = {
4 '/2012/01/26/revisiting-equality.html' : '/2012/01/propo sed-changes-for-equality.html', 4 '/2012/01/26/revisiting-equality.html' : '/2012/01/propo sed-changes-for-equality.html',
5 '/2012/01/20/dart-language-spec-0.07.html' : '/2012/01/dart- language-spec-v007-now-available.html', 5 '/2012/01/20/dart-language-spec-0.07.html' : '/2012/01/dart- language-spec-v007-now-available.html',
6 '/2012/01/17/new-editor-build.html' : '/2012/01/new-d art-editor-build-3331.html', 6 '/2012/01/17/new-editor-build.html' : '/2012/01/new-d art-editor-build-3331.html',
7 '/2012/01/10/new-editor-build.html' : '/2012/01/new-d art-editor-build-3101.html', 7 '/2012/01/10/new-editor-build.html' : '/2012/01/new-d art-editor-build-3101.html',
8 '/2012/01/06/getting-started-with-dart.html' : '/2012/01/getti ng-started-with-dart-screencast.html', 8 '/2012/01/06/getting-started-with-dart.html' : '/2012/01/getti ng-started-with-dart-screencast.html',
9 '/2011/12/21/new-api-docs.html' : '/2011/12/new-a pi-docs-site.html', 9 '/2011/12/21/new-api-docs.html' : '/2011/12/new-a pi-docs-site.html',
10 '/2011/12/19/new-editor-build.html' : '/2011/12/new-d art-editor-build-2380.html', 10 '/2011/12/19/new-editor-build.html' : '/2011/12/new-d art-editor-build-2380.html',
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 defaults={'_uri': '/community/'}), 171 defaults={'_uri': '/community/'}),
172 Route('/articles/profiling/', RedirectHandler, 172 Route('/articles/profiling/', RedirectHandler,
173 defaults={'_uri': '/articles/benchmarking/'}), 173 defaults={'_uri': '/articles/benchmarking/'}),
174 Route('/docs/editor/getting-started/', RedirectHandler, 174 Route('/docs/editor/getting-started/', RedirectHandler,
175 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}), 175 defaults={'_uri': '/docs/dart-up-and-running/contents/ch01.html#ch01-edito r'}),
176 Route('/docs/dart2js/', RedirectHandler, 176 Route('/docs/dart2js/', RedirectHandler,
177 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 177 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
178 Route('/docs/standalone-dart-vm/', RedirectHandler, 178 Route('/docs/standalone-dart-vm/', RedirectHandler,
179 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart-vm.h tml'}), 179 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart-vm.h tml'}),
180 Route('/codelab', RedirectHandler, 180 Route('/codelab', RedirectHandler,
181 defaults={'_uri': '/codelabs/web-ui-writer/'}), 181 defaults={'_uri': '/codelabs/darrrt/'}),
182 Route('/codelabs/', RedirectHandler,
183 defaults={'_uri': '/codelabs/darrrt/'}),
182 Route('/docs/tutorials/web-ui/', RedirectHandler, 184 Route('/docs/tutorials/web-ui/', RedirectHandler,
183 defaults={'_uri': '/docs/tutorials/polymer-intro/'}), 185 defaults={'_uri': '/docs/tutorials/polymer-intro/'}),
184 Route('/docs/tutorials/templates/', RedirectHandler, 186 Route('/docs/tutorials/templates/', RedirectHandler,
185 defaults={'_uri': '/docs/tutorials/polymer-intro/'}), 187 defaults={'_uri': '/docs/tutorials/polymer-intro/'}),
186 Route('/docs/tutorials/custom-elements/', RedirectHandler, 188 Route('/docs/tutorials/custom-elements/', RedirectHandler,
187 defaults={'_uri': '/docs/tutorials/polymer-intro/'}), 189 defaults={'_uri': '/docs/tutorials/polymer-intro/'}),
188 Route('/codelabs/web-ui-writer/codelab.pdf', RedirectHandler, 190 Route('/codelabs/web-ui-writer/codelab.pdf', RedirectHandler,
189 defaults={'_uri': '/codelabs/web-ui-writer/'}), 191 defaults={'_uri': '/codelabs/darrrt/'}),
192 Route('/codelabs/web-ui-writer/', RedirectHandler,
193 defaults={'_uri': '/codelabs/darrrt/'}),
190 Route('/tools/analyzer', RedirectHandler, 194 Route('/tools/analyzer', RedirectHandler,
191 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart_anal yzer.html'}), 195 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart_anal yzer.html'}),
192 Route('/atom.xml', RedirectHandler, 196 Route('/atom.xml', RedirectHandler,
193 defaults={'_uri': 'http://news.dartlang.org/feeds/posts/default'}), 197 defaults={'_uri': 'http://news.dartlang.org/feeds/posts/default'}),
194 Route('/+lexicalscope', RedirectHandler, 198 Route('/+lexicalscope', RedirectHandler,
195 defaults={'_uri': '/docs/dart-up-and-running/contents/ch02.html#ch02-lexic al-scope'}), 199 defaults={'_uri': '/docs/dart-up-and-running/contents/ch02.html#ch02-lexic al-scope'}),
196 Route('/+pub', RedirectHandler, 200 Route('/+pub', RedirectHandler,
197 defaults={'_uri': 'https://pub.dartlang.org/'}), 201 defaults={'_uri': 'https://pub.dartlang.org/'}),
198 Route('/+dart2js', RedirectHandler, 202 Route('/+dart2js', RedirectHandler,
199 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}), 203 defaults={'_uri': '/docs/dart-up-and-running/contents/ch04-tools-dart2js.h tml'}),
200 Route('/+isolates', RedirectHandler, 204 Route('/+isolates', RedirectHandler,
201 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}), 205 defaults={'_uri': '/docs/dart-up-and-running/contents/ch03.html#ch03-darti solate---concurrency-with-isolates'}),
202 Route('/+', RedirectHandler, 206 Route('/+', RedirectHandler,
203 defaults={'_uri': 'https://google.com/+dartlang'}), 207 defaults={'_uri': 'https://google.com/+dartlang'}),
204 Route('/mailing-list', RedirectHandler, 208 Route('/mailing-list', RedirectHandler,
205 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}), 209 defaults={'_uri': 'https://groups.google.com/a/dartlang.org/forum/#!forum/ misc'}),
206 Route('/<path:[^.]*[^/]$>', RedirectHandler, 210 Route('/<path:[^.]*[^/]$>', RedirectHandler,
207 defaults={'_uri': trailing_slash})], 211 defaults={'_uri': trailing_slash})],
208 debug=True) 212 debug=True)
OLDNEW
« no previous file with comments | « src/appengine/app.yaml ('k') | src/diagrams/codelabs/darrrt/anatomyclass.graffle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698