Index: appengine_apps/trooper_o_matic/model/cq-graph-item.html |
diff --git a/appengine_apps/trooper_o_matic/model/cq-graph-item.html b/appengine_apps/trooper_o_matic/model/cq-graph-item.html |
deleted file mode 100644 |
index 1a860041b210297e4437c2b73bfb6500f39f9443..0000000000000000000000000000000000000000 |
--- a/appengine_apps/trooper_o_matic/model/cq-graph-item.html |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-<!-- |
-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="../lib/log.html"> |
-<link rel="import" href="../lib/net.html"> |
-<link rel="import" href="../lib/sugar.html"> |
- |
-<script> |
-function CQGraphItem(value, unit, issue, patchset, alertThreshold) { |
- this.value = value; |
- this.unit = unit; |
- this.issue = issue; |
- this.patchset = patchset; |
- this.alertThreshold = alertThreshold; |
- |
- var reviewHost = 'https://codereview.chromium.org'; |
- this.reviewURL = '{1}/{2}#{3}'.assign(reviewHost, this.issue, this.patchset); |
- this.reviewTitle = null; |
- var issueURL = '{1}/api/{2}'.assign(reviewHost, this.issue); |
- var self = this; |
- net.json({url: issueURL, cache: true}).then(function(json) { |
- self.reviewTitle = json.subject; |
- }).catch(log); |
-} |
-</script> |