# HG changeset patch # User drewp@bigasterisk.com # Date 1525397259 0 # Node ID 05248a7c2c51121271ffd3c7419b55eb57c019b3 # Parent 15babcd58d48c2f9a54dd3909d908dcda2296b5a coffee maps. attempt at resource-display update for polymer2 Ignore-this: 178c4147db8048043c1feb38ac0c8d11 diff -r 15babcd58d48 -r 05248a7c2c51 light9/web/index.html --- 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 @@ - + diff -r 15babcd58d48 -r 05248a7c2c51 light9/web/resource-display.html --- 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() { diff -r 15babcd58d48 -r 05248a7c2c51 makefile --- 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