Glen Cheney
9023e29f16
Small tweaks and JSDoc additions.
10 years ago
Glen Cheney
da0029900a
Update dependencies
10 years ago
Glen Cheney
ec8944d25a
Update CONTRIBUTING.md
10 years ago
Glen Cheney
6af401825d
Add test for last 🐛 . Refactor similar tests into a new describe block.
10 years ago
Glen Cheney
1abab75943
Fix maintaining last sort object when called without arguments.
10 years ago
Glen Cheney
930a4bf3bb
Rename colYs to positions and position to point.
10 years ago
Glen Cheney
77ab29d945
Use point object and fix the outer width method. Attach Shuffle to the window.
...
It doesn't work when an element has been scaled and using getBoundingClientRect. The rect returns the actual width of the scaled element.
Shuffle is now a global variable - mostly so I can access it from tests. I don't know of a better way.
10 years ago
Glen Cheney
faae1c7e32
Ensure the shuffle container has css styles it needs applied to it #26
10 years ago
Glen Cheney
78d24cc8ee
Update docs and options descriptions.
10 years ago
Glen Cheney
82f2771b79
List public methods in docs #23
10 years ago
Glen Cheney
3150066f66
Add separate contributing file.
...
so GitHub will show it to people before submitting issues.
10 years ago
Glen Cheney
66ef613dff
Bump to 2.1.2
10 years ago
Glen Cheney
709172cf74
Explicitly use jQuery instead of $. #25
10 years ago
Glen Cheney
dcb16daf28
Refactor. Fix 🐛 calculating widths.
...
Refactor the getItemPosition method.
Fix `_getOuterWidth` for Firefox because offsetWidth/Height return
integers for Firefox. Now it uses `getBoundingClientRect` to determine
the width.
Up the column threshold from `0.03` to `0.3` because Safari (desktop &
mobile) return integers for the client rect and offsetWidth.
Add a note about the native Android browser with 4.1.0 and 4.1.1 where
it incorrectly thinks it supports unprefixed transitions.
10 years ago
Glen Cheney
e6cb28bd1e
Explicitly use jQuery instead of $. #25
10 years ago
Glen Cheney
e1cc848631
Gandalf wouldn't let them pass.
10 years ago
Glen Cheney
7ad8133147
Fix callback events when using jQuery.animate.
...
Replaced setTimeout/proxy with a defer method which can take a context.
Changed jQuery to use v1 instead of v2 in testing so that old IE can
use the tests.
Add a few specs where `supported = false` so jQuery.animate will be
tested.
Add isTransitioning flag to determine when shuffle is already doing
something.
10 years ago
Glen Cheney
a40cc67a90
Specs, refactoring, JSDoc.
10 years ago
Glen Cheney
c829b3f54a
Remove usage of `self` and the single-var pattern.
10 years ago
Glen Cheney
17d6365487
Move to Shuffle.prototype.method = function.
10 years ago
Glen Cheney
3cec446b93
Fixing up `revealAppended`
...
Also removed usage of `self` from adding-removing.js
10 years ago
Glen Cheney
36fad3200a
Refactor all the things.
...
Removed shrink, shrunk, filter, and filtered events.
10 years ago
Glen Cheney
c9105289e1
Update add items 3rd mode to mix in to the current set.
...
When the items are sorted, using the mix in method is much better
looking, but adding items to the end is better for infinite scrolling
and DOM order.
* Mix in.
* Add to end.
* Add to end with sequential delay.
10 years ago
Glen Cheney
b96ff65dac
Forgot to commit build files. Travis failed.
10 years ago
Glen Cheney
ebec8b6b14
Fix bug with callback.
...
where the `layout` and `filtered` weren't called because none of the
newly filtered items would change position.
10 years ago
Glen Cheney
8b56618499
Add travis badge to readme
10 years ago
Glen Cheney
6a3cb72508
Tell travis to install bower
10 years ago
Glen Cheney
b4c5aaef2f
Add travis ci config.
10 years ago
Glen Cheney
0a2ee22470
Add more specs
10 years ago
Glen Cheney
cceb641d50
Add grunt-contrib-jasmine for unit tests.
...
Add jasmine-jquery for help with fixtures and testing jQuery objects.
Add four test specs.
10 years ago
Glen Cheney
04a49ace41
Refactoring. Made some methods static, refactored the filtering methods.
10 years ago
Glen Cheney
ec67cdecdf
v2.1.1 for #21
10 years ago
Glen Cheney
5a7f9f3784
Docs update/fixes
10 years ago
Glen Cheney
0842133655
Add `visibility: hidden` to concealed items so that overlapping hidden items cannot be clicked. Closes #21 .
...
Other assorted improvements to event handling. Broke up `_transition` into smaller methods.
10 years ago
Glen Cheney
eb272e80a6
Fix bootstrap 3 grid demo at mobile issue.
10 years ago
Glen Cheney
41dffdd507
Some refactoring and more constant formatting.
...
Add jshintrc file. Clean up transition method to get ready for #21 .
10 years ago
Glen Cheney
060b83bb29
Update README
10 years ago
Glen Cheney
a21330e735
Bump to 2.1.0. Bower support, separate Modernizr file.
10 years ago
Glen Cheney
7225f88f42
Add social links and anchor links for each header.
10 years ago
Glen Cheney
23476b272b
commas are important.
10 years ago
Glen Cheney
3d14058dfc
Should have committed bower.json before registering...
...
bump to 2.0.7
10 years ago
Glen Cheney
454bfbf49b
Add shuffle to bower `shufflejs`. Update read me.
10 years ago
Glen Cheney
b786120e69
Update banner
10 years ago
Glen Cheney
e94747bd84
Document adding and removing collections. Closes #19
...
Add an arrow icon and more obvious links to demos from each section.
10 years ago
Glen Cheney
2cf8187f35
Add the require js demo to config file with images.
10 years ago
Glen Cheney
ea30d642bb
Add AMD support. Add RequireJS demo. Ref #15
10 years ago
Glen Cheney
60e156d274
Prefix remaining private methods which didn't have an underscore with an underscore. #16 #17
10 years ago
Glen Cheney
af08bc2908
Separate Modernizr and Shuffle. Create custom build of Shuffle with custom Modernizr.
...
Ref #15
Also replace the global throttle/debounce with Underscore’s and define
it locally for Shuffle.
Next up: AMD support.
10 years ago
Glen Cheney
51b4b8849c
Update link to Eightfold Studios to Facebook page.
10 years ago
Glen Cheney
96ac963674
Add grunt. Replace compass with autoprefixer. Progress towards #15
...
You currently need two terminal tabs to watch/serve.
One for Jekyll to regenerate the _site folder, and one for sass. `grunt
serve` in one, `grunt watch` in the other.
10 years ago