mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
Add bundler-friendly dependency injection
This commit is contained in:
parent
3f95a21009
commit
d378ab2e63
3 changed files with 31 additions and 13 deletions
|
|
@ -180,7 +180,7 @@ export default function( revealElement, options ) {
|
|||
|
||||
// Flags if we should use zoom instead of transform to scale
|
||||
// up slides. Zoom produces crisper results but has a lot of
|
||||
// xbrowser quirks so we only use it in whitelsited browsers.
|
||||
// xbrowser quirks so we only use it in white-listed browsers.
|
||||
features.zoom = 'zoom' in testElement.style && !isMobileDevice &&
|
||||
( isChrome || /Version\/[\d\.]+.*Safari/.test( UA ) );
|
||||
|
||||
|
|
@ -5675,4 +5675,4 @@ export default function( revealElement, options ) {
|
|||
|
||||
return Reveal;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue