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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // | 67 // |
68 KEY__RESULT_TYPE__FAILED: 'failed', | 68 KEY__RESULT_TYPE__FAILED: 'failed', |
69 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', | 69 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', |
70 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', | 70 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', |
71 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', | 71 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', |
72 | 72 |
73 // NOTE: Keep these in sync with ../server.py | 73 // NOTE: Keep these in sync with ../server.py |
74 KEY__EDITS__MODIFICATIONS: 'modifications', | 74 KEY__EDITS__MODIFICATIONS: 'modifications', |
75 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', | 75 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', |
76 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', | 76 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', |
| 77 |
| 78 // These are just used on the client side, no need to sync with server code. |
| 79 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan', |
77 } | 80 } |
78 })()) | 81 })()) |
OLD | NEW |