comparison service/arduinoNode/static/index.html @ 1027:208b960fde31

hostname in page title Ignore-this: 84be0d921c173a4c2c154d6a65e15add darcs-hash:3e14370d849be2c6c0d30db8f7c575e4433bfda7
author drewp <drewp@bigasterisk.com>
date Fri, 22 Jan 2016 00:39:35 -0800
parents 3e6fac8569cd
children f609e1eee4db
comparison
equal deleted inserted replaced
1026:8e075449ba0a 1027:208b960fde31
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>arduinoNode</title> 4 <title>arduinoNode - </title>
5 <meta name=viewport content="width=device-width, initial-scale=1"> 5 <meta name=viewport content="width=device-width, initial-scale=1">
6 <meta charset="utf-8" /> 6 <meta charset="utf-8" />
7 <script src="/lib/polymer/1.0.9/webcomponentsjs/webcomponents.min.js"></script> 7 <script src="/lib/polymer/1.0.9/webcomponentsjs/webcomponents.min.js"></script>
8 <link rel="import" href="/lib/polymer/1.0.9/polymer/polymer.html"> 8 <link rel="import" href="/lib/polymer/1.0.9/polymer/polymer.html">
9 <link rel="import" href="/lib/polymer/1.0.9/iron-ajax/iron-ajax.html"> 9 <link rel="import" href="/lib/polymer/1.0.9/iron-ajax/iron-ajax.html">
151 </template> 151 </template>
152 <script> 152 <script>
153 HTMLImports.whenReady(function () { 153 HTMLImports.whenReady(function () {
154 Polymer({ 154 Polymer({
155 is: 'arduinonode-boards', 155 is: 'arduinonode-boards',
156 properties: {
157 ret: { type: Object, notify: true, observer: 'onBoards' }
158 },
159 onBoards: function() {
160 document.title = document.title + ' ' + this.ret.host;
161 },
156 behaviors: [BigastUri] 162 behaviors: [BigastUri]
157 }); 163 });
158 }); 164 });
159 </script> 165 </script>
160 </dom-module> 166 </dom-module>