~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
  <title>Updater</title>

  <!-- YUI and test setup -->
  <script type="text/javascript"
          src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
  </script>
  <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
  <script type="text/javascript"
          src="../../../app/javascript/testing/testrunner.js"></script>
  <script type="text/javascript"
          src="../../../app/javascript/testing/mockio.js"></script>
  <script type="text/javascript" src="../../../app/javascript/client.js"></script>
  <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
  <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
  <script type="text/javascript"
          src="../../../app/javascript/extras/extras.js"></script>

  <!-- expected variable -->
  <script type="text/javascript">
    var LP = {
        cache: {},
        links: {}
    };
  </script>

  <!-- The module under test -->
  <script type="text/javascript" src="../branchmergeproposal.updater.js"></script>

  <!-- The test suite -->
  <script type="text/javascript" src="test_branchmergeproposal.updater.js"></script>

</head>
<body class="yui3-skin-sam">
  <div id="placeholder" style="display:none;">
  </div>

  <script type="text/x-template" id="pending-mp">
    <div id="diff-area">
      <div class="pending-update" id="diff-pending-update">
        <h3>Updating diff...</h3>
        <p>An updated diff will be available in a few minutes.</p>
      </div>
    </div>
  </script>

  <script type="text/x-template" id="current-mp">
    <div id="diff-area">
      <div id="review-diff">
        <h2>Preview Diff</h2>
        <div class="diff-content">Example diff</div>
      </div>
    </div>
  </script>

</body>
</html>