Chromium Code Reviews| Index: Tools/GardeningServer/model/ct-commit-log-mock.html |
| diff --git a/Tools/GardeningServer/model/ct-commit-log-mock.html b/Tools/GardeningServer/model/ct-commit-log-mock.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8d48ec079bbdd0d92d959a48c74c3eebe4745b35 |
| --- /dev/null |
| +++ b/Tools/GardeningServer/model/ct-commit-log-mock.html |
| @@ -0,0 +1,22 @@ |
| +<!-- |
| +Copyright 2014 The Chromium Authors. All rights reserved. |
| +Use of this source code is governed by a BSD-style license that can be |
| +found in the LICENSE file. |
| +--> |
| + |
| +<link rel='import' href='ct-commit-log.html'> |
| + |
| +<link rel='import' href='ct-commit-mock.html'> |
|
abarth-chromium
2014/07/19 02:40:04
can we drop the ct prefix?
ojan
2014/07/19 02:44:22
I thought about that, but the model is intimately
michaelpg
2014/07/21 07:28:48
I wouldn't mind something like
<ct-model-commit>
ojan
2014/07/21 19:58:04
ct == chromium-tools. In a future world in which w
michaelpg
2014/07/22 05:47:37
Oops, I didn't realize that there actually was a c
|
| + |
| +<script> |
| +(function () { |
| + |
| +window.CTCommitLogMock = function() { |
| + var log = new CTCommitLog(); |
| + var commit = new CTCommitMock(); |
| + log[commit.revision] = commit; |
| + return log; |
| +}; |
| + |
| +})(); |
| +</script> |