From b4821b628365c06b05ed64a95dedee3603b81385 Mon Sep 17 00:00:00 2001 From: Hilton Janfield Date: Fri, 11 Sep 2015 22:05:31 -0700 Subject: [PATCH] Add CHANGELOG, update composer.json dependencies and package.json version. --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ README.md | 30 ++++++++---------------------- composer.json | 2 +- package.json | 2 +- 4 files changed, 39 insertions(+), 24 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2e84e56 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,29 @@ +# jQuery Enhanced Splitter Change Log + +## Branch v1.2.0 + +Changes made so far over v1.1.0. +- Updated composer.json to specify valid jQuery versions (1.8+ / 2.0+). +- (UX improvement) Implemented drag-delay if the user clicks on the collapse handle then starts dragging. + Drag will not begin until mouse has moved past 5 pixels in either direction. +- (UX improvement) Prevent click event if the user started and ended their drag on the collapse handle. +- Respect CSS min/max-width/height. + +## Release v1.1.0 + +This release adds a number of new options, as well as a few fixes and overall UX improvements. +- Added 'lowerLimit' and 'upperLimit' options, changed 'limit' to an alias to set both. +- Added 'collapse' option. +- Added 'fixed' option. +- Added 'splitterSize' option. +- Changed 'orientation' string setting to 'vertical' boolean setting. (BREAKING CHANGE) +- Fixed a few bugs. +- Significantly rewrote event handling, now smoother, faster, and tastier. + +## Release v1.0.1 + +More bug fixes, improved event handlers, improved CSS. + +## Release v1.0.0 + +Original release of fork, with significant changes and bug fixes. diff --git a/README.md b/README.md index b90ec39..7b38047 100644 --- a/README.md +++ b/README.md @@ -3,31 +3,17 @@ jquery.enhsplitter is a plugin to generate sliding splitters on your page. Useful for separating content, emulating the look of frames, collapsable tool windows, and more. Completely customizable look and feel, and touchscreen friendly. -## Release v1.1.0 +## Demo and Documentation -This release adds a number of new options, as well as a few fixes and overall UX improvements. -- Added 'lowerLimit' and 'upperLimit' options, changed 'limit' to an alias to set both. -- Added 'collapse' option. -- Added 'fixed' option. -- Added 'splitterSize' option. -- Changed 'orientation' string setting to 'vertical' boolean setting. -- Fixed a few bugs. -- Significantly rewrote event handling, now smoother, faster, and tastier. +A demo and basic documentation of options of the latest version are available at: -## Branch v1.2.0 - -Changes made so far. -- (UX improvement) Implemented drag-delay if the user clicks on the collapse handle then starts dragging. - Drag will not begin until mouse has moved past 5 pixels in either direction. -- (UX improvement) Prevent click event if the user started and ended their drag on the collapse handle. - -# Demo and Documentation + -A demo and basic documentation of options are available at: +## Requirements - +jquery.enhsplitter requires jQuery v1.8 or greater, or v2.0 or greater. -# Example +## Example A minimal call to jquery.enhsplitter in a jQuery ready function looks like this: @@ -77,13 +63,13 @@ jQuery(function ($) { ``` -# License +## License Copyright (C) 2015 Hilton Janfield Released under the terms of the [GNU Lesser General Public License](http://www.gnu.org/licenses/lgpl.html) -# Original Author and Contributors +## Original Author and Contributors This plugin was originally created by Jakub Jankiewicz. See https://github.com/jcubic/jquery.splitter diff --git a/composer.json b/composer.json index 27f6933..301fd9c 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "homepage": "https://github.com/hiltonjanfield/jquery.enhsplitter", "bugs": "https://github.com/hiltonjanfield/jquery.enhsplitter/issues", "dependencies": { - "jquery": ">=2.1" + "jquery": ">=1.8 || >=2.0" }, "main": [ "js/jquery.enhsplitter.js", diff --git a/package.json b/package.json index 7deee2e..db48341 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery.enhsplitter", - "version": "1.1.0", + "version": "1.2.0", "description": "Enhanced splitter bar for separation of content, tool bars, frame emulation, and more.", "main": "js/jquery.enhsplitter.js", "scripts": {