Skip to content

Commit

Permalink
autosize lib is part of vendor.min - no need to load explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Oct 5, 2017
1 parent d6b63f0 commit bce2701
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion controller/viewcontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ private function getTemplateParams() {
'supportsClass' => $supportsClass,
'isIE' => $isIE,
'webCalWorkaround' => $webCalWorkaround,
'needsAutosize' => true,
'defaultColor' => '#1d2d44',
'shareeCanEditShares' => $shareeCanEditShares ? 'yes' : 'no',
'shareeCanEditCalendarProperties' => $shareeCanEditCalendarProperties ? 'yes' : 'no',
Expand Down
3 changes: 0 additions & 3 deletions templates/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
} else {
$scripts[] = 'public/vendor.min';
}
if ($_['needsAutosize']) {
$scripts[] = 'vendor/autosize/dist/autosize';
}

$scripts[] = 'public/app.min';

Expand Down
5 changes: 0 additions & 5 deletions tests/php/controller/viewcontrollerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ public function testIndex($isAssetPipelineEnabled, $showAssetPipelineError, $ser
'webCalWorkaround' => $expectsWebcalWorkaround,
'isPublic' => false,
'isEmbedded' => false,
'needsAutosize' => true,
'isIE' => $isIE,
'token' => '',
'shareeCanEditShares' => 'no',
Expand Down Expand Up @@ -259,7 +258,6 @@ public function testIndexFirstRunDetection($initialView, $expectedFirstRun, $exp
// 'webCalWorkaround' => $expectsWebcalWorkaround,
// 'isPublic' => false,
// 'isEmbedded' => false,
// 'needsAutosize' => true,
// 'isIE' => $isIE,
// 'token' => '',
// 'shareeCanEditShares' => 'no',
Expand Down Expand Up @@ -289,7 +287,6 @@ public function testIndexFirstRunDetection($initialView, $expectedFirstRun, $exp
'webCalWorkaround' => 'no',
'isPublic' => false,
'isEmbedded' => false,
'needsAutosize' => true,
'isIE' => false,
'token' => '',
'shareeCanEditShares' => 'no',
Expand Down Expand Up @@ -399,7 +396,6 @@ public function testPublicIndex($isAssetPipelineEnabled, $showAssetPipelineError
'webCalWorkaround' => 'no',
'isPublic' => true,
'isEmbedded' => true,
'needsAutosize' => true,
'isIE' => $isIE,
'shareURL' => 'fancy_protocol://owncloud-host.tld/request/uri/123/42',
'previewImage' => 'fancy_protocol://foo.bar/core/img/foo',
Expand Down Expand Up @@ -507,7 +503,6 @@ public function testPublicIndexWithBranding($isAssetPipelineEnabled, $showAssetP
'webCalWorkaround' => 'no',
'isPublic' => true,
'isEmbedded' => false,
'needsAutosize' => true,
'isIE' => $isIE,
'shareURL' => 'fancy_protocol://owncloud-host.tld/request/uri/123/42',
'previewImage' => 'fancy_protocol://foo.bar/core/img/foo',
Expand Down

0 comments on commit bce2701

Please sign in to comment.