Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fixes #53 since my search and replace was a little to aggressive :)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdowdy committed Oct 31, 2017
1 parent 02966c9 commit b0979d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/BetterThumbsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function image( $sourceImage, $name = 'betterthumbs', array $options = []
];

// TODO: put the srcset.thumb.html template back in before commit
$renderTemplate = $this->renderTemplate( '@betterthumbs/thumb.html.twig', $context );
$renderTemplate = $this->renderTemplate( '@betterthumbs/srcset.thumb.html.twig', $context );

return new \Twig_Markup( $renderTemplate, 'UTF-8' );
}
Expand Down Expand Up @@ -193,23 +193,23 @@ protected function registerAssets()
$betterthumbsJS = new JavaScript();
$betterthumbsJS->setFileName('js/betterthumbs.js')
->setAttributes(['defer'])
->setPriority(99)
->setPriority(5)
->setZone(Zone::BACKEND);

$ioObserverPoly = new JavaScript();
$ioObserverPoly->setFileName('js/intersection-observer.51a7683a.js')
->setPriority(99)
->setPriority(5)
->setZone(Zone::BACKEND);

$ioLazy = new JavaScript();
$ioLazy->setFilename('js/iolazy.min.7665ef3e.js')
->setAttributes(['defer'])
->setPriority(99)
->setPriority(5)
->setZone(Zone::BACKEND);

$betterthumbsCSS = new Stylesheet();
$betterthumbsCSS->setFileName('css/betterthumbs.css')
->setPriority(10)
->setPriority(1)
->setZone(Zone::BACKEND);

// $this->backendAssets();
Expand Down

0 comments on commit b0979d9

Please sign in to comment.