aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailsview.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-11-07 16:18:40 +0100
committerGitHub <noreply@github.com>2017-11-07 16:18:40 +0100
commitf55732a18facfe52167e346a8aa40cfc66707fa0 (patch)
tree50d8e2fc1d9b222d55d88d4aa7bc76ba971fe50c /apps/files/js/detailsview.js
parent8566f8b8ee421ae1549e988c92c494deaf2829c2 (diff)
parent5445b1ff172d5186530ab0352ac35cb028127312 (diff)
downloadnextcloud-server-f55732a18facfe52167e346a8aa40cfc66707fa0.tar.gz
nextcloud-server-f55732a18facfe52167e346a8aa40cfc66707fa0.zip
Merge pull request #7075 from nextcloud/remove-unused-variables
Remove unused variables
Diffstat (limited to 'apps/files/js/detailsview.js')
-rw-r--r--apps/files/js/detailsview.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index a896e84fdc0..7bfc3d5ad7b 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -78,9 +78,6 @@
this._detailFileInfoViews = [];
this._dirty = true;
-
- // uncomment to add some dummy tabs for testing
- //this._addTestTabs();
},
_onClose: function(event) {
@@ -102,21 +99,6 @@
this.selectTab(tabId);
},
- _addTestTabs: function() {
- for (var j = 0; j < 2; j++) {
- var testView = new OCA.Files.DetailTabView({id: 'testtab' + j});
- testView.index = j;
- testView.getLabel = function() { return 'Test tab ' + this.index; };
- testView.render = function() {
- this.$el.empty();
- for (var i = 0; i < 100; i++) {
- this.$el.append('<div>Test tab ' + this.index + ' row ' + i + '</div>');
- }
- };
- this._tabViews.push(testView);
- }
- },
-
template: function(vars) {
if (!this._template) {
this._template = Handlebars.compile(TEMPLATE);