Mercurial > code > home > repos > light9
changeset 1710:05248a7c2c51
coffee maps. attempt at resource-display update for polymer2
Ignore-this: 178c4147db8048043c1feb38ac0c8d11
author | drewp@bigasterisk.com |
---|---|
date | Fri, 04 May 2018 01:27:39 +0000 |
parents | 15babcd58d48 |
children | d6ad5c249820 |
files | light9/web/index.html light9/web/resource-display.html makefile |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/web/index.html Thu May 03 06:31:18 2018 +0000 +++ b/light9/web/index.html Fri May 04 01:27:39 2018 +0000 @@ -5,7 +5,7 @@ <meta charset="utf-8" /> <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script> <link rel="stylesheet" href="/style.css"> - <link rel="import" href="/node_modules/@polymer/polymer/polymer.html"> + <link rel="import" href="/lib/polymer/polymer.html"> </head> <body> <dom-module id="service-button-row">
--- a/light9/web/resource-display.html Thu May 03 06:31:18 2018 +0000 +++ b/light9/web/resource-display.html Fri May 04 01:27:39 2018 +0000 @@ -54,7 +54,7 @@ return minor ? 'resource minor' : 'resource'; }, onUri: function(graph, uri) { - if (!this.graph) return; + if (!this.graph || !this.uri) return; this.graph.runHandler(this.setLabel.bind(this), `label ${this.uri.value}`); }, setLabel: function() {
--- a/makefile Thu May 03 06:31:18 2018 +0000 +++ b/makefile Fri May 04 01:27:39 2018 +0000 @@ -75,7 +75,7 @@ ### build ### coffee: - zsh -c 'coffee -cw light9/web/{.,live,timeline,paint,effects}/*.coffee' + zsh -c 'coffee --map -cw light9/web/{.,live,timeline,paint,effects}/*.coffee' mypy-collector: env-mypy/bin/mypy env-mypy/bin/mypy --py2 --ignore-missing-imports --strict-optional --custom-typeshed-dir stubs --html-report /tmp/rep bin/collector light9/collector/*.py