Skip to content

Commit

Permalink
refactor(Collection): Change GaspardElements' class to Collection
Browse files Browse the repository at this point in the history
BREAKING CHANGE: import GaspardElements shouldn't work anymore, use Collection
  • Loading branch information
lucaperret committed Aug 12, 2017
1 parent 2688454 commit 59168d7
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion dist/gaspard.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/gaspard.umd.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GaspardElements } from '../src'
const elements = new GaspardElements('#app2')
elements.css('background-color', 'red').addClass('test').fadeOut(2000)
import { Collection } from '../src'
const elements = new Collection('#app2')
elements.css('background-color', 'red').fadeIn(2000)
console.log(elements)
Loading

0 comments on commit 59168d7

Please sign in to comment.