mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
let instead of var
This commit is contained in:
parent
b0680655db
commit
52255511bb
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ public abstract class Application {
|
|||
StringBuffer js = new StringBuffer();
|
||||
js.append("\n<script id=\"app_js_" + js.hashCode() + "\">\n");
|
||||
js.append("(function() {\n");
|
||||
js.append("var $z = {\n");
|
||||
js.append("let $z = {\n");
|
||||
js.append("id : \"" + context.getApplicationInstanceId() + "\",\n");
|
||||
js.append("scope : angular.element(\"#app_js_" + js.hashCode() + "\").scope()\n");
|
||||
js.append("};\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue