miso 1.5.1.0 → 1.5.2.0
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- jsbits/delegate.js +2/−1
- miso.cabal +1/−1
jsbits/delegate.js view
@@ -115,11 +115,12 @@ /* If obj is a non-list-like object */ newObj = {};+ var isInput = obj['localName'] === 'input'; for (var i in obj){ /* bug in safari, throws TypeError if the following fields are referenced on a checkbox */ /* https://stackoverflow.com/a/25569117/453261 */ /* https://html.spec.whatwg.org/multipage/input.html#do-not-apply */- if (obj['type'] == 'checkbox' && (i === 'selectionDirection' || i === 'selectionStart' || i === 'selectionEnd'))+ if (isInput && (i === 'selectionDirection' || i === 'selectionStart' || i === 'selectionEnd')) continue; if (typeof obj[i] == 'string' || typeof obj[i] == 'number' || typeof obj[i] == 'boolean') newObj[i] = obj[i];
miso.cabal view
@@ -1,5 +1,5 @@ name: miso-version: 1.5.1.0+version: 1.5.2.0 category: Web, Miso, Data Structures license: BSD3 license-file: LICENSE