Skip to content

Commit

Permalink
Release v0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingSurge authored and amazingSurge committed Jan 8, 2017
1 parent b8ae336 commit 174d9d7
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-asScrollable",
"version": "0.4.6",
"version": "0.4.7",
"description": "A jquery plugin that make a block element scrollable.",
"main": "dist/jquery-asScrollable.js",
"copyright": "amazingSurge",
Expand Down
2 changes: 1 addition & 1 deletion dist/css/asScrollable.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery asScrollable v0.4.6
* jQuery asScrollable v0.4.7
* https://github.com/amazingSurge/jquery-asScrollable
*
* Copyright (c) amazingSurge
Expand Down
2 changes: 1 addition & 1 deletion dist/css/asScrollable.min.css

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

11 changes: 7 additions & 4 deletions dist/jquery-asScrollable.es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery asScrollable v0.4.6
* jQuery asScrollable v0.4.7
* https://github.com/amazingSurge/jquery-asScrollable
*
* Copyright (c) amazingSurge
Expand Down Expand Up @@ -449,14 +449,17 @@ class AsScrollable {
this._states[state] = 0;
}

this._states[state]++;
// this._states[state]++;
this._states[state] = 1;
}

/**
* Leaves a state.
*/
leave(state) {
this._states[state]--;
// this._states[state]--;

this._states[state] = -1;
}

eventName(events) {
Expand Down Expand Up @@ -837,7 +840,7 @@ class AsScrollable {
}

var info = {
version:'0.4.6'
version:'0.4.7'
};

const NAMESPACE = 'asScrollable';
Expand Down
11 changes: 7 additions & 4 deletions dist/jquery-asScrollable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery asScrollable v0.4.6
* jQuery asScrollable v0.4.7
* https://github.com/amazingSurge/jquery-asScrollable
*
* Copyright (c) amazingSurge
Expand Down Expand Up @@ -584,12 +584,15 @@
this._states[state] = 0;
}

this._states[state]++;
// this._states[state]++;
this._states[state] = 1;
}
}, {
key: 'leave',
value: function leave(state) {
this._states[state]--;
// this._states[state]--;

this._states[state] = -1;
}
}, {
key: 'eventName',
Expand Down Expand Up @@ -1040,7 +1043,7 @@
}();

var info = {
version: '0.4.6'
version: '0.4.7'
};

var NAMESPACE = 'asScrollable';
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery-asScrollable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery-asScrollable",
"title": "jQuery asScrollable",
"description": "A jquery plugin that make a block element scrollable.",
"version": "0.4.6",
"version": "0.4.7",
"homepage": "https://github.com/amazingSurge/jquery-asScrollable",
"author": {
"name": "amazingSurge",
Expand Down
7 changes: 5 additions & 2 deletions src/asScrollable.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,14 +375,17 @@ class AsScrollable {
this._states[state] = 0;
}

this._states[state]++;
// this._states[state]++;
this._states[state] = 1;
}

/**
* Leaves a state.
*/
leave(state) {
this._states[state]--;
// this._states[state]--;

this._states[state] = -1;
}

eventName(events) {
Expand Down
2 changes: 1 addition & 1 deletion src/info.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default {
version:'0.4.6'
version:'0.4.7'
};

0 comments on commit 174d9d7

Please sign in to comment.