Commit Graph

109 Commits (a4d99b9af924a6f5ed4bbc030161d8273d460c3f)

Author SHA1 Message Date
Glen Cheney b6c7dbb367 Fix stagger amount affected by items which don't move. 8 years ago
Glen Cheney b6d9f23e2b Finish converting tests to mocha+chai. Add helper for onTransitionEnd. 8 years ago
Glen Cheney cfa68c76de Switch to mocha/chai for tests with gulp-mocha-phantomjs
JSDom's getComputedStyle wasn't working.
8 years ago
Glen Cheney 6adb041ba1 Put home page demo items inside aspect boxes. 8 years ago
Glen Cheney 244f89aaba Move gulp tasks to separate files. Replace grid. Add autoprefixer. 8 years ago
Glen Cheney 601b29736f Use npm modules instead of custom implementations. 8 years ago
Glen Cheney acdc379679 Use options object instead of adding to the instance directly. 8 years ago
Glen Cheney d294a42913 Update adding and removing items. 8 years ago
Glen Cheney 1dd55b0505 Use web pack multi compiler. 8 years ago
Glen Cheney 4307010c18 Add default gulp task. Use short name for gulp dep. 8 years ago
Glen Cheney 88f8813361 Add gulp watch task which builds jekyll. 8 years ago
Glen Cheney 37e6a86ff3 Added stagger option. More refactoring. Working home page demo again. 8 years ago
Glen Cheney efc1f8087a Remove ES6 built-ins so I don't have to include babel-polyfill 8 years ago
Glen Cheney eebf0b42a2 Start ES6 conversion and jQuery / Modernizr removal. 8 years ago
Glen Cheney f63df88dd2 Use the <html> element when the body doesn't exists when testing computed style. 9 years ago
Glen Cheney 8b2b3ccc13 3.1.0 9 years ago
Glen Cheney 16b42ec0b9 Handle decimal column widths better #46. New columnThreshold option. 9 years ago
Glen Cheney 86c8d2e77a Allow speed to be zero. Fixes #64 9 years ago
Glen Cheney 1c077779c4 Cancel previous animations instead of ignoring the new one. Fixes #69 9 years ago
Glen Cheney 8957979aa9 Add directions for installing with npm. Closes #62 9 years ago
Glen Cheney c176157367 Remove from jQuery plugin registry.
"The jQuery Plugin Registry is in read-only mode.
New plugin releases will not be processed.
We recommend moving to npm, using "jquery-plugin" as the keyword in your package.json."
10 years ago
Robert Rothermel 71b2b7f722 Add CommonJS support 10 years ago
Glen Cheney 75ad7aef58 Release v3 10 years ago
Glen Cheney 65ba679912 Merge branch 'refactoring' 10 years ago
Glen Cheney 3e9125ef65 Update the change log and build files 10 years ago
Glen Cheney 5b51302b27 Remove padding offset fixes. Add info about it to FAQ. 10 years ago
Glen Cheney f2367d24e2 Add explanation of column set and another test to go with it. 10 years ago
Glen Cheney 9023e29f16 Small tweaks and JSDoc additions. 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 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 0a2ee22470 Add more 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 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 41dffdd507 Some refactoring and more constant formatting.
Add jshintrc file. Clean up transition method to get ready for #21.
10 years ago
Glen Cheney a21330e735 Bump to 2.1.0. Bower support, separate Modernizr file. 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 b786120e69 Update banner 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