# HG changeset patch # User drewp@bigasterisk.com # Date 2018-05-04 01:27:39 # Node ID 05248a7c2c51121271ffd3c7419b55eb57c019b3 # Parent 15babcd58d48c2f9a54dd3909d908dcda2296b5a coffee maps. attempt at resource-display update for polymer2 Ignore-this: 178c4147db8048043c1feb38ac0c8d11 diff --git a/light9/web/index.html b/light9/web/index.html --- a/light9/web/index.html +++ b/light9/web/index.html @@ -5,7 +5,7 @@ - + diff --git a/light9/web/resource-display.html b/light9/web/resource-display.html --- a/light9/web/resource-display.html +++ b/light9/web/resource-display.html @@ -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() { diff --git a/makefile b/makefile --- a/makefile +++ b/makefile @@ -75,7 +75,7 @@ env-mypy/bin/mypy: ### 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