Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

rm jQuery dependency and add plain JavaScript API#80

Open
janKollars wants to merge 1 commit intofilamentgroup:masterfrom
janKollars:remove-jquery
Open

rm jQuery dependency and add plain JavaScript API#80
janKollars wants to merge 1 commit intofilamentgroup:masterfrom
janKollars:remove-jquery

Conversation

@janKollars
Copy link
Copy Markdown

@janKollars janKollars commented Jul 11, 2020

Refactoring of the code to remove jQuery as a dependency and introduction of a plain JavaScript API

  • Add snapper function to window which takes Elements as first parameter
  • Add documentation of the available events and methods for JS and jQuery API

Closes #1

Refactoring of the code to remove jQuery as a dependency and introduction of a plain JavaScript API

- Add `snapper` function to window which takes the carousel Elements as first parameter
- Add tests for JS API
- Add documentation of the available events and methods for the JS and jQuery API

Closes filamentgroup#1
@janKollars
Copy link
Copy Markdown
Author

I do not like how I duplicated the tests for the two APIs. Can you see a better solution?

@janKollars
Copy link
Copy Markdown
Author

The code formatting is quite awful, sorry. Do you have linter rules which I can apply?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

drop dom lib dependency

1 participant