aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html')
-rw-r--r--tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html b/tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html
index 7429c87b87..10cf83b2e9 100644
--- a/tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html
+++ b/tensorflow/tensorboard/components/tf_scalar_dashboard/demo/index.html
@@ -45,14 +45,17 @@ limitations under the License.
<tf-scalar-dashboard id="demo" backend="[[backend]]"></tf-scalar-dashboard>
</template>
<script>
+ import {Backend} from "../tf-backend/backend";
+ import {router} from "../tf-backend/router";
+
Polymer({
is: "scalar-dash-demo",
properties: {
backend: {
type: Object,
value: function() {
- var router = new TF.Backend.router("/data", true);
- return new TF.Backend.Backend(router);
+ var router = new router("/data", true);
+ return new Backend(router);
},
},
},