Skip to content

Commit f0a35fb

Browse files
authored
fix readme typos (#104)
1 parent 143dbf1 commit f0a35fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ $('#element').pressure({
9999
```
100100

101101
## Options
102-
With Pressure, the third paramater is an optional object of options that can be passed in.
102+
With Pressure, the third parameter is an optional object of options that can be passed in.
103103

104104
### Polyfill Support
105-
Using the "polyfill" keyword, you can disable polyfill support for the element. The polyfill is enabled by default and is useful if the device or browser does not support pressure, it will fall back to using time. For example instead of force from 0 to 1, it counts up from 0 to 1 over the course of one second, as long as you are holding the element. Try some of the examples on the main page on a devices that does not support pressure and see for yourself how it works.
105+
Using the "polyfill" keyword, you can disable polyfill support for the element. The polyfill is enabled by default and is useful if the device or browser does not support pressure, it will fall back to using time. For example instead of force from 0 to 1, it counts up from 0 to 1 over the course of one second, as long as you are holding the element. Try some of the examples on the main page on a device that does not support pressure and see for yourself how it works.
106106
```javascript
107107
Pressure.set('#example', {
108108
change: function(force, event){
@@ -165,7 +165,7 @@ Pressure.set('#example',{
165165
```
166166

167167
### Change the preventSelect option
168-
The preventDefault option in "true" by default and it prevents the default actions that happen on 3D "peel and pop" actions and the Force "define word" actions as well as other defaults. To allow the defaults to run set preventDefault to "false"
168+
The preventDefault option is "true" by default and it prevents the default actions that happen on 3D "peel and pop" actions and the Force "define word" actions as well as other defaults. To allow the defaults to run set preventDefault to "false"
169169
```javascript
170170
Pressure.set('#example',{
171171
change: function(force, event){
@@ -179,7 +179,7 @@ Pressure.set('#example',{
179179
### Config
180180
You can use ```Pressure.config()``` to set default configurations for site wide setup. All of the configurations are the same as the options listed above.
181181

182-
*Heads Up: If you have a config set, you can always overide the config on individual Pressure elements by passing in any of the options listed above to a specific Pressure block.*
182+
*Heads Up: If you have a config set, you can always override the config on individual Pressure elements by passing in any of the options listed above to a specific Pressure block.*
183183

184184
**When using the jQuery Pressure library, use ```$.pressureConfig()``` rather than ```Pressure.map()```**
185185
```javascript

0 commit comments

Comments
 (0)