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