summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ttyd/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-03 10:00:06 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-03 10:00:06 +0200
commit3c4bc228a1f7b5731cf464f3f407c9ed9ace3cd2 (patch)
treed9ac0458c66dfa3c5d4922314df9d41499f578bc /applications/luci-app-ttyd/htdocs/luci-static/resources
parent1099aebdee29b8e5408688d0fd64d49e6ec4bd35 (diff)
treewide: import utility classes explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-ttyd/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js3
-rw-r--r--applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
index e92880d53c..9934ecebd7 100644
--- a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
+++ b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
@@ -1,8 +1,9 @@
'use strict';
+'require view';
'require form';
'require tools.widgets as widgets';
-return L.view.extend({
+return view.extend({
render: function() {
var m, s, o;
diff --git a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js
index 4725f7a5bc..26756a3692 100644
--- a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js
+++ b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js
@@ -1,7 +1,8 @@
'use strict';
+'require view';
'require uci';
-return L.view.extend({
+return view.extend({
load: function() {
return uci.load('ttyd');
},