Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1184)

Unified Diff: Tools/GardeningServer/ui/ct-tree-status.html

Issue 443243002: Move treestatus.js to a model class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/ct-tree-status.html
diff --git a/Tools/GardeningServer/ui/ct-tree-status.html b/Tools/GardeningServer/ui/ct-tree-status.html
index f285246f8254605442e6ccfc41d56f73fb6fd50a..8e69c162cde1af488f0f7c9386df5df73f22ce34 100644
--- a/Tools/GardeningServer/ui/ct-tree-status.html
+++ b/Tools/GardeningServer/ui/ct-tree-status.html
@@ -4,6 +4,8 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
+<link rel="import" href="../model/tree-status.html">
+
<polymer-element name="ct-tree-status">
<template>
<style>
@@ -45,7 +47,8 @@ found in the LICENSE file.
},
_url: function(project) {
- return treestatus.urlByName(this.project);
+ var treeStatus = new TreeStatus();
+ return treeStatus.urlByName(this.project);
},
update: function() {
ojan 2014/08/06 22:34:17 Now that we have a proper model class, lets get th
dsinclair 2014/08/07 18:09:23 Done.

Powered by Google App Engine
This is Rietveld 408576698