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 27 matching lines...) Expand all Loading... |
38 KEY__IMAGESETS__DESCRIPTION: 'description', | 38 KEY__IMAGESETS__DESCRIPTION: 'description', |
39 | 39 |
40 // NOTE: Keep these in sync with ../results.py | 40 // NOTE: Keep these in sync with ../results.py |
41 KEY__EXPECTATIONS__BUGS: 'bugs', | 41 KEY__EXPECTATIONS__BUGS: 'bugs', |
42 KEY__EXPECTATIONS__IGNOREFAILURE: 'ignore-failure', | 42 KEY__EXPECTATIONS__IGNOREFAILURE: 'ignore-failure', |
43 KEY__EXPECTATIONS__REVIEWED: 'reviewed-by-human', | 43 KEY__EXPECTATIONS__REVIEWED: 'reviewed-by-human', |
44 KEY__EXTRACOLUMN__BUILDER: 'builder', | 44 KEY__EXTRACOLUMN__BUILDER: 'builder', |
45 KEY__EXTRACOLUMN__CONFIG: 'config', | 45 KEY__EXTRACOLUMN__CONFIG: 'config', |
46 KEY__EXTRACOLUMN__RESULT_TYPE: 'resultType', | 46 KEY__EXTRACOLUMN__RESULT_TYPE: 'resultType', |
47 KEY__EXTRACOLUMN__TEST: 'test', | 47 KEY__EXTRACOLUMN__TEST: 'test', |
| 48 KEY__HEADER: 'header', |
| 49 KEY__HEADER__DATAHASH: 'dataHash', |
| 50 KEY__HEADER__IS_EDITABLE: 'isEditable', |
| 51 KEY__HEADER__IS_EXPORTED: 'isExported', |
| 52 KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading', |
48 KEY__HEADER__RESULTS_ALL: 'all', | 53 KEY__HEADER__RESULTS_ALL: 'all', |
49 KEY__HEADER__RESULTS_FAILURES: 'failures', | 54 KEY__HEADER__RESULTS_FAILURES: 'failures', |
| 55 KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable', |
| 56 KEY__HEADER__TIME_UPDATED: 'timeUpdated', |
| 57 KEY__HEADER__TYPE: 'type', |
50 KEY__NEW_IMAGE_URL: 'newImageUrl', | 58 KEY__NEW_IMAGE_URL: 'newImageUrl', |
51 KEY__RESULT_TYPE__FAILED: 'failed', | 59 KEY__RESULT_TYPE__FAILED: 'failed', |
52 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', | 60 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', |
53 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', | 61 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', |
54 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', | 62 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', |
55 | 63 |
56 // NOTE: Keep these in sync with ../server.py | 64 // NOTE: Keep these in sync with ../server.py |
57 KEY__EDITS__MODIFICATIONS: 'modifications', | 65 KEY__EDITS__MODIFICATIONS: 'modifications', |
58 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', | 66 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', |
59 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', | 67 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', |
60 KEY__HEADER: 'header', | |
61 KEY__HEADER__DATAHASH: 'dataHash', | |
62 KEY__HEADER__IS_EDITABLE: 'isEditable', | |
63 KEY__HEADER__IS_EXPORTED: 'isExported', | |
64 KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading', | |
65 KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable', | |
66 KEY__HEADER__TIME_UPDATED: 'timeUpdated', | |
67 KEY__HEADER__TYPE: 'type', | |
68 } | 68 } |
69 })()) | 69 })()) |
OLD | NEW |