Skip to content

Commit 662fe03

Browse files
committed
Merge branch 'master' of github.com:jquerytools/jquerytools
2 parents 28b63c5 + 94f4f7c commit 662fe03

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[jQuery Tools](http://flowplayer.org/tools/) - The Missing UI library for the Web
22
================================
33

4-
jQuery Tools is a collection of the most important user-interface components for modern websites. Used by large sites all over the world.
4+
jQuery Tools is a collection of the most important user-interface components for modern websites. Used by large sites all over the world.
5+
6+
##Contributing
7+
8+
Please issue pull requests to the [dev branch](https://github.com/jquerytools/jquerytools/tree/dev).
9+
This is where active development takes place, we then merge changes into master for releases. That will become v1.2.6.
10+
Most of the development goes to 2.0 which is currently a private repository.
11+
12+

src/scrollable/scrollable.autoscroll.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
timer = clearInterval(timer);
5858
};
5959

60+
// resume playing if not stopped
61+
api.resume = function() {
62+
stopped || api.play();
63+
};
64+
6065
// when stopped - mouseover won't restart
6166
api.stop = function() {
6267
api.pause();
@@ -65,7 +70,7 @@
6570

6671
/* when mouse enters, autoscroll stops */
6772
if (opts.autopause) {
68-
api.getRoot().add(api.getNaviButtons()).hover(api.pause, api.play);
73+
api.getRoot().add(api.getNaviButtons()).hover(api.pause, api.resume);
6974
}
7075

7176
if (opts.autoplay) {

src/validator/validator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
return numRe.test(v);
229229
});
230230

231-
v.fn("[max]", "Please enter a value smaller than $1", function(el, v) {
231+
v.fn("[max]", "Please enter a value no larger than $1", function(el, v) {
232232

233233
// skip empty values and dateinputs
234234
if (v === '' || dateInput && el.is(":date")) { return true; }
@@ -237,7 +237,7 @@
237237
return parseFloat(v) <= parseFloat(max) ? true : [max];
238238
});
239239

240-
v.fn("[min]", "Please enter a value larger than $1", function(el, v) {
240+
v.fn("[min]", "Please enter a value of at least $1", function(el, v) {
241241

242242
// skip empty values and dateinputs
243243
if (v === '' || dateInput && el.is(":date")) { return true; }

0 commit comments

Comments
 (0)