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

Side by Side Diff: gm/rebaseline_server/static/constants.js

Issue 368933002: rebaseline_server: add urlSchemaVersion parameter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use str.format() Created 6 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 unified diff | Download patch
« no previous file with comments | « gm/rebaseline_server/server.py ('k') | gm/rebaseline_server/static/loader.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Constants used by our imagediff-viewing Javascript code. 2 * Constants used by our imagediff-viewing Javascript code.
3 */ 3 */
4 var module = angular.module( 4 var module = angular.module(
5 'ConstantsModule', 5 'ConstantsModule',
6 [] 6 []
7 ); 7 );
8 8
9 module.constant('constants', (function() { 9 module.constant('constants', (function() {
10 return { 10 return {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // 66 //
67 KEY__RESULT_TYPE__FAILED: 'failed', 67 KEY__RESULT_TYPE__FAILED: 'failed',
68 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', 68 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored',
69 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', 69 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison',
70 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', 70 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded',
71 71
72 // NOTE: Keep these in sync with ../server.py 72 // NOTE: Keep these in sync with ../server.py
73 KEY__EDITS__MODIFICATIONS: 'modifications', 73 KEY__EDITS__MODIFICATIONS: 'modifications',
74 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', 74 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash',
75 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', 75 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType',
76 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion',
77 URL_VALUE__SCHEMA_VERSION__CURRENT: 0,
78 // always interpret as then-current schema version;
79 // used for toplevel links on index page
80 URL_VALUE__SCHEMA_VERSION__ALWAYS_CURRENT: 'current',
76 81
77 // These are just used on the client side, no need to sync with server code. 82 // These are just used on the client side, no need to sync with server code.
78 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan', 83 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan',
79 } 84 }
80 })()) 85 })())
OLDNEW
« no previous file with comments | « gm/rebaseline_server/server.py ('k') | gm/rebaseline_server/static/loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698