Skip to content

Commit df4fe18

Browse files
committed
update builds
1 parent d4dc6f6 commit df4fe18

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

dist/rilti.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
: typeof define === 'function' && define.amd ? define(['exports'], factory)
1111
: (factory((global.rilti = {})))
1212
}(this, function (exports) {
13-
'use strict'
14-
1513
/* global Node NodeList Element SVGElement HTMLInputElement HTMLTextAreaElement */
1614
const ProxyNodeSymbol = Symbol('Proxy Node')
1715

@@ -190,7 +188,7 @@
190188
* and anything implementing .forEach
191189
*/
192190
const each = (iterable, fn) => {
193-
if (isDef(iterable)) {
191+
if (iterable != null) {
194192
if (isObj(iterable)) {
195193
for (const key in iterable) {
196194
fn(iterable[key], key, iterable)
@@ -1129,8 +1127,7 @@
11291127
*/
11301128

11311129
const Initiated = new Map()
1132-
const beenInitiated = (name, el) =>
1133-
Initiated.has(name) && Initiated.get(name)(el)
1130+
const beenInitiated = (name, el) => Initiated.has(name) && Initiated.get(name)(el)
11341131

11351132
const attributeObserver = (el, name, opts) => {
11361133
el = $(el)

0 commit comments

Comments
 (0)