Skip to content

Commit

Permalink
changelog and semver re-implemeneted
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisantonellis committed May 3, 2016
1 parent 5735247 commit b3f284f
Show file tree
Hide file tree
Showing 5 changed files with 124 additions and 44 deletions.
117 changes: 117 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@

# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.0.8] - 2016-05-03
### Added
- Semver versioning re-introduced
- Changelog updated to match format propsed by [http://keepachangelog.com/](http://keepachangelog.com/)

## [3.0.7] - 2016-04-27
### Fixed
- Core methods are now exposed to the jQuery object

## [3.0.6] - 2016-04-11
### Changed
- Attribution-ShareAlike 3.0 to MIT License

## [3.0.5] - 2016-03-17
### Added
- Thanks to [Browserstack](http://www.browserstack.com/) to the readme for their sponshorship!

## [3.0.4] - 2016-02-11
### Added
- Infinity as a value for animation duration

## [3.0.3] - 2016-02-07
### Added
- Private methods to protect some parts the user shouldnt be touching
### Fixed
- Trigger / release functions so they don't fire if the selector doesn't match
any captured images

## [3.0.2] - 2016-02-01
### Added
- Responsive image support

## [3.0.1] - 2016-01-23
### Fixed
- Documentation updated and general code cleanup

## [3.0.0] - 2016-01-09
### Added
- Totally new code! Complete rewrite
### Removed
- All the old code!
### Fixed
- Broke the script down into smaller functions
- Simplified input options

## [2.0.4] - 2015-01-15
### Fixed
- Added '?' to extension when filtering out non .gif files to allow for images
with file extensions that prevent caching such as my_image.gif?2384792384723

## [2.0.3] - 2014-09-10
### Fixed
- Typo in support_touch_devices variable

## [2.0.2] - 2014-08-29
### Added
- Bower.json file

## [2.0.1] - 2014-02-09
### Fixed
- More jQuery no conflict issues

## [2.0.1] - 2014-01-07
### Fixed
- Bug wth selecting images, number of classnames is no longer an issue

## [2.0.0] - 2014-30-1
### Added
- Attribution-ShareAlike 3.0 License
### Changed
- Boolean ```freezeframe``` attribute to classname
### Removed
- Broken debug functions and variables
- Ability to create freezeframe instance yourself, instead freezeframe just
runs on page load

## [1.2.1] - 2013-08-17
### Added
- Cross origin image support

## [1.2.0] - 2013-03-27
### Fixed
- Bug with touch device detection
- Bug with jQuery .load not firing correctly for cached images
- Bug with jQuery conflicts
- Bug with dynamically resized images

### Added
- Using [isMouseEventSupported by kangax](http://perfectionkills.com/detecting-event-support-without-browser-sniffing/)
for feature testing
- Using [imagesLoaded by desandro](https://github.com/desandro/imagesloaded)

## [1.1.0] - 2012-12-07
### Added
- Icon to represent animation and supporting variables
- Support for touch devices and supporting variables
- Ability to disable loading and animation icons

### Changed
- Variables for loading background style

## [1.0.2] - 2012-11-30
### Fixed
- Filename and version syntax

## [1.0.1] - 2012-11-28
### Fixed
- Image positioning bug

## [1.0.0] - 2012-11-25
### Added
- Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## freezeframe.js
## freezeframe.js 3.0.8

freezeframe.js is a script that pauses animated .gifs and enables them to
animate on mouse hover / mouse click / touch event, or with trigger / release
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
],
"repository": {
"type": "git",
"url": "https://github.com/Ctrl-Freaks/freezeframe.js"
"url": "https://github.com/ctrl-freaks/freezeframe.js"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "freezeframe.js",
"version": "3.0.1",
"version": "3.0.8",
"description": "freezeframe.js is a script that automatically pauses animated .gifs and enables them to start animation on mouse hover or click",
"main": "/build/freezeframe.js",
"directories": {
Expand Down
45 changes: 4 additions & 41 deletions src/js/freezeframe.js
Original file line number Diff line number Diff line change
@@ -1,44 +1,7 @@

// determine browser support for html5 canvas features:
// [ canvas ].getContext
// [ canvas ].drawimage

// determine browser support for jquery functions:
// .hasClass
// .siblings
// .addClass
// .removeClass
// .attr
// .mouseenter = .on(mouseenter)
// .mouseleave
// .click
// .insertbefore
// .add
// .wrapall
// .on
// .not

// IE9 = add this tag so canvas stuff works

// cut the mustard
// http://responsivenews.co.uk/post/18948466399/cutting-the-mustard

// make generic private trigger and release functions
// finish default state variable for paused or playinghack
//
// add class to image css to support image ready / active
// hide gif when canvas is active
//
// write function to test for features needed, write failure to console
// if unsupported, attach simple image replacement
// fallback image needed
//
// test compatibility with browserstack using feature test function
//
// make warn method public
//
// pass references around in a cleaner way
// remove jquery dependency
/*!
* freezeframe.js v3.0.8
* MIT License
*/

var freezeframe = (function($) {

Expand Down

0 comments on commit b3f284f

Please sign in to comment.