diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-03 10:00:06 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-03 10:00:06 +0200 |
commit | 3c4bc228a1f7b5731cf464f3f407c9ed9ace3cd2 (patch) | |
tree | d9ac0458c66dfa3c5d4922314df9d41499f578bc /applications/luci-app-minidlna/htdocs | |
parent | 1099aebdee29b8e5408688d0fd64d49e6ec4bd35 (diff) |
treewide: import utility classes explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-minidlna/htdocs')
-rw-r--r-- | applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js | 3 | ||||
-rw-r--r-- | applications/luci-app-minidlna/htdocs/luci-static/resources/view/status/include/80_minidlna.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js index ff3cae13ee..083f2bafa2 100644 --- a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js +++ b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js @@ -1,4 +1,5 @@ 'use strict'; +'require view'; 'require fs'; 'require uci'; 'require form'; @@ -28,7 +29,7 @@ var CBIMiniDLNAStatus = form.DummyValue.extend({ } }); -return L.view.extend({ +return view.extend({ render: function() { var m, s, o; diff --git a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/status/include/80_minidlna.js b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/status/include/80_minidlna.js index f67e5f84b5..55a78c0cb6 100644 --- a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/status/include/80_minidlna.js +++ b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/status/include/80_minidlna.js @@ -1,8 +1,9 @@ 'use strict'; +'require baseclass'; 'require fs'; 'require uci'; -return L.Class.extend({ +return baseclass.extend({ title: _('miniDLNA Status'), load: function() { |