Browse Source

clean code

Yuki Takei 8 years ago
parent
commit
24e8dfb95f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resource/js/app.js

+ 2 - 2
resource/js/app.js

@@ -80,9 +80,9 @@ const crowiRenderer = new GrowiRenderer(crowi, null, {
 window.crowiRenderer = crowiRenderer;
 window.crowiRenderer = crowiRenderer;
 
 
 // FIXME
 // FIXME
-var isEnabledPlugins = $('body').data('plugin-enabled');
+const isEnabledPlugins = $('body').data('plugin-enabled');
 if (isEnabledPlugins) {
 if (isEnabledPlugins) {
-  var crowiPlugin = window.crowiPlugin;
+  const crowiPlugin = window.crowiPlugin;
   crowiPlugin.installAll(crowi, crowiRenderer);
   crowiPlugin.installAll(crowi, crowiRenderer);
 }
 }