Skip to content

Commit

Permalink
Update casing of references to Flickity
Browse files Browse the repository at this point in the history
Closes #77
  • Loading branch information
benjamincharity committed Jun 20, 2017
1 parent 3cc57b0 commit a10c2a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/flickity.service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Flickity from 'flickity';
import flickity from 'flickity';

export class FlickityService {

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a10c2a8

Please sign in to comment.