From a10c2a8d1bc0f28f943dd06615c0fdc196a0c54b Mon Sep 17 00:00:00 2001 From: Benjamin Charity Date: Tue, 20 Jun 2017 07:56:07 -0400 Subject: [PATCH] Update casing of references to Flickity Closes #77 --- src/flickity.service.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flickity.service.js b/src/flickity.service.js index fd473b5..0310ba7 100644 --- a/src/flickity.service.js +++ b/src/flickity.service.js @@ -1,4 +1,4 @@ -import Flickity from 'flickity'; +import flickity from 'flickity'; export class FlickityService { @@ -51,7 +51,7 @@ export class FlickityService { // Define the new instance const instance = { id: id, - instance: new Flickity(element, options), + instance: new flickity(element, options), }; // Save this instance to the array @@ -339,7 +339,7 @@ export class FlickityService { */ getByElement(element) { return new Promise((resolve, reject) => { - const instance = Flickity.data(element) + const instance = flickity.data(element) if (instance) { // Return the instance