From 3c4bc228a1f7b5731cf464f3f407c9ed9ace3cd2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 3 Apr 2020 10:00:06 +0200 Subject: treewide: import utility classes explicitly Signed-off-by: Jo-Philipp Wich --- applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-ksmbd/htdocs/luci-static/resources') diff --git a/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js b/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js index 6cf9f3edae..4a9de896f9 100644 --- a/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js +++ b/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js @@ -1,9 +1,10 @@ 'use strict'; +'require view'; 'require fs'; 'require form'; 'require tools.widgets as widgets'; -return L.view.extend({ +return view.extend({ load: function() { return Promise.all([ L.resolveDefault(fs.stat('/sbin/block'), null), -- cgit v1.2.3