Skip to content

Commit 3e552aa

Browse files
committed
Update README.md
Update .eslintrc
1 parent 76e871d commit 3e552aa

File tree

8 files changed

+18
-10
lines changed

8 files changed

+18
-10
lines changed

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
},
1414
"rules": {
1515
"new-cap": "off"
16+
},
17+
"globals": {
18+
"VERSION": true
1619
}
1720
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ Since version `0.4.x` Pickr is event-driven. Use the `on(event, cb)` and `off(ev
187187
| `show` | Pickr got opened | `PickrInstance` |
188188
| `save` | User clicked the save / clear button. Also fired on clear with `null` as color. | `HSVaColorObject or null, PickrInstance` |
189189
| `clear` | User cleared the color. | `PickrInstance` |
190-
| `change` | Color has changed (but not saved). Also fired on `swatchselect` | `HSVaColorObject, PickrInstance` |
191-
| `changestop` | User stopped to change the color | ` PickrInstance` |
190+
| `change` | Color has changed (but not saved). Also fired on `swatchselect` | `HSVaColorObject, eventSource, PickrInstance` |
191+
| `changestop` | User stopped to change the color | `eventSource, PickrInstance` |
192192
| `cancel` | User clicked the cancel button (return to previous color). | `PickrInstance` |
193193
| `swatchselect` | User clicked one of the swatches | `HSVaColorObject, PickrInstance` |
194194

@@ -401,7 +401,7 @@ As default color representation is hsva (`hue`, `saturation`, `value` and `alpha
401401
* hsva.toCMYK() _- Converts the object to a cmyk array._
402402
* hsva.clone() _- Clones the color object._
403403

404-
The `toString()` is overridden so you can get a color representation string.
404+
The `toString()` is overridden, so you can get a color representation string.
405405

406406
```javascript
407407
hsva.toRGBA(); // Returns [r, g, b, a]

dist/pickr.es5.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pickr.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/themes/classic.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/themes/monolith.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/themes/nano.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ <h1>Pickr. Keep it simple.</h1>
7272
<p>(Tap it)</p>
7373
</main>
7474

75+
<iframe id="inlineFrameExample"
76+
title="Inline Frame Example"
77+
src="https://www.openstreetmap.org/export/embed.html?bbox=-0.004017949104309083%2C51.47612752641776%2C0.00030577182769775396%2C51.478569861898606&layer=mapnik">
78+
</iframe>
79+
7580
<script src="dist/pickr.es5.min.js"></script>
7681
<script src="st/script.js"></script>
7782
</body>

0 commit comments

Comments
 (0)