UNPKG

luda

Version:

A library helps to build cross-framework UI components.

12 lines (8 loc) 278 B
import luda from '../base/luda.coffee' import splitValues from '../base/split-values.coffee' luda.include removeAttr: (attr) -> attrs = splitValues attr return this unless attrs.length @els.forEach (el) -> attrs.forEach (att) -> el.removeAttribute att this