OLD | NEW |
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 76 |
77 // These are just used on the client side, no need to sync with server code. | 77 // These are just used on the client side, no need to sync with server code. |
78 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan', | 78 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan', |
79 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion', | 79 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion', |
80 URL_VALUE__SCHEMA_VERSION__CURRENT: 0, | 80 URL_VALUE__SCHEMA_VERSION__CURRENT: 1, |
81 } | 81 } |
82 })()) | 82 })()) |
OLD | NEW |