This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.media-wrapper { | |
position: relative; | |
width: 100%; | |
height: 0; | |
padding-bottom: percentage(589/1047); | |
overflow: hidden; | |
margin: 0; | |
img, video { | |
position: absolute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
import 'whatwg-fetch'; | |
import serialize from 'form-serialize'; | |
export default class AjaxCart { | |
constructor(options) { | |
const defaults = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
import 'whatwg-fetch'; | |
import serialize from 'form-serialize'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
import 'whatwg-fetch'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { | |
cartModal: '.js-ajax-cart-modal', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { | |
cartModal: '.js-ajax-cart-modal', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { | |
cartModal: '.js-ajax-cart-modal', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { | |
cartModal: '.js-ajax-cart-modal', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
import {formatMoney} from '@shopify/theme-currency/currency'; | |
export default class AjaxCart { | |
constructor() { | |
this.defaults = { | |
cartModal: '.js-ajax-cart-modal', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable promise/catch-or-return,promise/always-return */ | |
import {formatMoney} from '@shopify/theme-currency/dist/currency.es5'; | |
import {Power3, TweenMax} from 'gsap/TweenMax'; | |
import $ from 'jquery'; | |
export function AjaxCart() { | |
const defaults = { | |
cartModal: '.js-ajax-cart-modal', // classname | |
cartModalClose: '.js-ajax-cart-modal-close', // classname |