Skip to content

Commit

Permalink
0.10.3
Browse files Browse the repository at this point in the history
Minor release - 0.10.3
  • Loading branch information
adchsm committed May 7, 2015
1 parent 9a20999 commit 2033c35
Show file tree
Hide file tree
Showing 54 changed files with 231 additions and 5,098 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
site
docs
images

Slidebars.esproj
.DS_Store
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ Slidebars is a jQuery framework for quickly and easily implementing app style of

See the [Slidebars website](http://plugins.adchsm.me/slidebars/) for information on getting started, usage documentation and compatibility tables.

Slidebars is stable, but still in early development. It's markup, installation and functionality is likely to change at any time, therefore I advise you to read up on any usage changes when updating to ensure it goes smoothly.

## Development on Hold

Fortunately, life is good and work is busy, I currently have no time to spend developing Slidebars. This doesn't mean its finished or abandoned, its just temporarily on hold, until winter, or when work calms down.

I also need to spend some time refining my skills and learning more pure JS, I want Slidebars to run independently and not rely on other libraries such as jQuery. 0.11 and 0.12 will expand and improve the current jQuery version, but after that it's likely to change.
Version 0.10.3 is the last release of Slidebars in its current format. Development on an entirely new version will be starting soon.

## Extentions

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Slidebars",
"version": "0.10.2",
"version": "0.10.3",
"dependencies": {
"jquery": ">=1.8"
}
Expand Down
8 changes: 8 additions & 0 deletions dev/slidebars.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*!
* Slidebars
* Description: A jQuery framework for off-canvas menus and sidebars.
* Version: Development
* URL: http://plugins.adchsm.me/slidebars/
* Author: Adam Smith - http://www.adchsm.me/
* License: MIT - http://opensource.org/licenses/MIT
*/
8 changes: 8 additions & 0 deletions dev/slidebars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*!
* Slidebars
* Description: A jQuery framework for off-canvas menus and sidebars.
* Version: Development
* URL: http://plugins.adchsm.me/slidebars/
* Author: Adam Smith - http://www.adchsm.me/
* License: MIT - http://opensource.org/licenses/MIT
*/
1 change: 0 additions & 1 deletion development/readme.txt

This file was deleted.

2 changes: 1 addition & 1 deletion development/slidebars.css → dist/slidebars.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -----------------------------------
* Slidebars
* Development version 0.10.3, do not use this in a production site, use the latest in the distribution folder.
* Version 0.10.3
* http://plugins.adchsm.me/slidebars/
*
* Written by Adam Smith
Expand Down
18 changes: 7 additions & 11 deletions development/slidebars.js → dist/slidebars.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// -----------------------------------
// Slidebars
// Development version 0.10.3, do not use this in a production site, use the latest in the distribution folder.
// Version 0.10.3
// http://plugins.adchsm.me/slidebars/
//
// Written by Adam Smith
Expand Down Expand Up @@ -165,35 +165,31 @@
// Apply animation
if ( animation === 'translate' ) {
if ( amount === '0px' ) {
removeStyleAttributes();
removeAnimation();
} else {
selector.css( 'transform', 'translate( ' + amount + ' )' ); // Apply the animation.
}

} else if ( animation === 'side' ) {
if ( amount === '0px' ) {
removeStyleAttributes();
removeAnimation();
} else {
if ( amount[0] === '-' ) amount = amount.substr( 1 ); // Remove the '-' from the passed amount for side animations.
selector.css( side, '0px' ); // Add a 0 value so css transition works.
setTimeout( function () { // Set a timeout to allow the 0 value to be applied above.
selector.css( side, amount ); // Apply the animation.
}, 1 );
}

} else if ( animation === 'jQuery' ) {
if ( amount[0] === '-' ) amount = amount.substr( 1 ); // Remove the '-' from the passed amount for jQuery animations.
var properties = {};
properties[side] = amount;
selector.stop().animate( properties, 400 ); // Stop any current jQuery animation before starting another.

if ( amount === '0px' ) {
setTimeout( removeStyleAttributes, 400 );
}
}

function removeStyleAttributes() {
// Remove animation
// Remove animation
function removeAnimation () {
selector.removeAttr( 'style' );
css();
}
Expand Down
2 changes: 2 additions & 0 deletions dist/slidebars.min.css

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

2 changes: 2 additions & 0 deletions dist/slidebars.min.js

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

213 changes: 0 additions & 213 deletions distribution/0.10.1/slidebars.css

This file was deleted.

Loading

0 comments on commit 2033c35

Please sign in to comment.