Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed Dec 9, 2019
1 parent 4a33e35 commit f7631a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 45 deletions.
51 changes: 6 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,14 @@ noUiSlider is licensed [MIT](https://choosealicense.com/licenses/mit/). You can
-------
An extensive documentation, including **examples**, **options** and **configuration details**, is available here: [noUiSlider documentation](https://refreshless.com/nouislider/).

Devices
-------
Devices/browsers tested:
- Surface Pro 3 (Windows 10)
- iPad Air 2 (iOS 9.3)
- iPad 3 (iOS 8.4)
- Moto E (Android 5.1, Chrome)
- Lumia 930 (WP8.1, IE10 mobile)
- Lumia 930 (WM10, Edge)
- OnePlus 3 (Android 6)
+ Chrome
+ Firefox
- Asus S400C (Windows 10, Touch + mouse)
+ Chrome
+ Firefox
+ Edge
+ IE11
+ IE10 (Emulated)
+ IE9 (Emulated)

Testing
-------
Contributing
------------

Cross-browser testing kindly provided by BrowserStack.
See [Contributing](CONTRIBUTING.md).

[![Tested with BrowserStack](documentation/assets/browserstack-logo-600x315.png)](http://browserstack.com/)

Webpack
Tooling
-------
In order to use this with webpack, the easiest way to work with it is by using the [`ProvidePlugin`](https://webpack.js.org/plugins/provide-plugin/):

```javascript
// webpack.config.js
var webpack = require('webpack');
...
plugins: [
new webpack.ProvidePlugin({
noUiSlider: 'nouislider'
})
]
...
```

If you're using ES6 imports, a simple [import with side effect](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_a_module_for_its_side_effects_only)
is enough:
Cross-browser testing kindly provided by BrowserStack.

```
import 'nouislider';
import 'nouislider/distribute/nouislider.css';
```
[![Tested with BrowserStack](documentation/assets/browserstack-logo-380x90.png)](http://browserstack.com/)
Binary file added documentation/assets/browserstack-logo-380x90.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed documentation/assets/browserstack-logo-600x315.png
Binary file not shown.

0 comments on commit f7631a7

Please sign in to comment.