Hyunje Alex Jun
4d060c7df5
Fix typo in .travis.yml
2015-03-03 02:37:59 +09:00
Hyunje Alex Jun
4984102cd3
Remove bower_components from .gitignore
...
It's not used.
2015-03-03 02:32:27 +09:00
Hyunje Alex Jun
fb5c6ef74f
Add .npmignore
2015-03-03 02:32:26 +09:00
Hyunje Alex Jun
c280c270b8
Merge pull request #287 from DanielApt/nojs-fallback
...
No longer require to manually add overflow:hidden, plugin does this. [#285 ]
2015-02-22 19:16:43 +01:00
DanielApt
73ff93984b
overflow:hidden no longer required - Update README.md
2015-02-21 20:37:42 +00:00
DanielApt
9ca1539ab4
Use overflow:auto instead of scroll
2015-02-21 12:53:42 +00:00
Hyunje Alex Jun
05ccc0a5cb
Merge pull request #286 from rangermeier/master
...
False selection detection when typing something into input
2015-02-20 19:57:00 +01:00
Rupert Angermeier
42cf8d3679
Adapt fallback for selection
...
Thanks @darthmaim for pointing this out
2015-02-19 16:31:27 +01:00
DanielApt
313f62d2f8
Update examples to use no-js fallback of overflow: scroll
2015-02-18 16:36:10 +00:00
DanielApt
6af7500d6b
Hide overflow only on .ps-container
2015-02-18 16:17:42 +00:00
DanielApt
f7dbb9b485
Ignore .idea (jetbrains) files
2015-02-18 15:31:54 +00:00
Rupert Angermeier
8290c4f726
Fix issue with false selection detection
...
`selection.rangeCount` will return 1 when user is typing something in a
form widget. This will consequently trigger unvoluntary scrolling when
the mouse is moved outside of scrollable area. Checking the actual
length of selected text doesn't trigger this behaviour.
2015-02-18 13:34:36 +01:00
Hyunje Alex Jun
b4a51fc454
Hide scrollbars only when updated manually.
...
Resolve #283 .
2015-02-17 01:46:13 +00:00
Hyunje Alex Jun
a12def5213
Fix typo in dom.matches
2015-02-17 01:28:33 +00:00
Hyunje Alex Jun
c4790bb656
Add IE support for dataset.
...
IE doesn't support dateset, so use a raw `data-ps-id`
attribute.
2015-02-17 01:26:44 +00:00
Hyunje Alex Jun
86a23cb74e
Don't use Bower in the same repo anymore.
...
It has been separated into another repo:
https://github.com/noraesae/perfect-scrollbar-bower
2015-02-12 22:50:29 +00:00
Hyunje Alex Jun
17aac6c8c8
Fix wrong links in example.
...
`.global.` is no more used.
2015-02-12 20:08:09 +00:00
Hyunje Alex Jun
41ca0246ad
Change the output dir name from out
to dist
.
2015-02-12 19:56:27 +00:00
Hyunje Alex Jun
9668a79468
Add automatic release with TravisCI.
2015-02-12 19:39:14 +00:00
Hyunje Alex Jun
30b4f27e03
Add a compress
task to Gulp.
2015-02-12 19:33:24 +00:00
Hyunje Alex Jun
11997131f4
Add AMD support.
2015-02-12 18:45:04 +00:00
Hyunje Alex Jun
7a8b47179c
Change global outputs' names to just perfect-scrollbar
.
2015-02-12 18:32:17 +00:00
Hyunje Alex Jun
ab40b55c8f
Add CommonJS support for the jQuery adaptor.
2015-02-12 18:25:17 +00:00
Hyunje Alex Jun
64ea58514b
Update README.md
2015-02-11 17:02:22 +00:00
Hyunje Alex Jun
68d468c465
Add NPM and CommonJS compatibility.
2015-02-11 17:00:48 +00:00
Hyunje Alex Jun
db2b282431
Remove postinstall script.
...
Temporarily until the development ends.
2015-02-11 17:00:48 +00:00
Hyunje Alex Jun
ff3a3c04b2
Add a table example.
2015-02-11 16:00:19 +00:00
Hyunje Alex Jun
81dd8e9eb0
Add a guard to check if activeElement exists.
2015-02-11 16:00:19 +00:00
Hyunje Alex Jun
b5d0958e82
If scrollbar's detached, reinitialise the plugin in update.
2015-02-11 16:00:19 +00:00
Hyunje Alex Jun
c8fe0b9269
Add missing updates in handlers.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
b000c771af
Fix typo in touch handler.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
a52a945226
Modularise handlers.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
0acf3602f0
Fix RTL outer width problem.
...
`offsetWidth` doesn't work for hidden elements.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
48eb80bd7f
Rewrite examples with a native JavaScript version.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
89c3bdb1cf
Fix typos.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
ee455fafa5
Implement adaptors.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
6f5a9088aa
Replace $.contains with Node.contains
...
Now completely independent from jQuery.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
f8b20a9fc9
Fix typo in helper.removePsClasses
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
70acad4941
Implment a native event manager.
...
Now we're about to be independent from jQuery!
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
95540bdd9e
Change to eslint from jshint.
...
It's way better. Original files have been linted.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
5d62b130e9
Remove .csslintrc
...
It's no longer used.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
80cfa8dc0e
Add a live reload task in Gulp.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
fa7e169b9f
Separate initialize, update and destroy functions.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
7ab6c5e5ef
Fix a CSS bug that an unwanted scrollbar appears.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
427284337f
Separate $.one event handler.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
796a0a9093
Remove output directory from the repository.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
bbab2a3c53
Separate env helpers.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
aa58a8298e
Remove variable cleaning.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
1541f73add
More independent.
2015-02-11 15:53:41 +00:00
Hyunje Alex Jun
ff5ca3d804
Remove includePadding
option.
...
It's supported by default.
2015-02-11 15:53:41 +00:00