Home | History | Annotate | Download | only in model
      1 <!--
      2 Copyright 2014 The Chromium Authors. All rights reserved.
      3 Use of this source code is governed by a BSD-style license that can be
      4 found in the LICENSE file.
      5 -->
      6 
      7 <link rel='import' href='ct-commit-log.html'>
      8 
      9 <link rel='import' href='ct-commit-mock.html'>
     10 
     11 <script>
     12 (function () {
     13 
     14 window.CTCommitLogMock = function() {
     15   var repository = 'blink';
     16   var log = new CTCommitLog();
     17   var commit = new CTCommitMock();
     18   log.commits[repository][commit.revision] = commit;
     19   log._updateLastRevision('blink')
     20   return log;
     21 };
     22 
     23 })();
     24 </script>
     25