Sha256: 40f42d65427313b2c3aeb81c9471116de7aec2078e79fdc09cd250fb20916b55
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
# Role.js, extension for querySelectorAll function v1.0.2 ~ https://github.com/kossnocorp/role elements = [] elements << Document if Document? elements << Element if Element? for elm in elements do (elm) -> nativeQuery = elm::querySelectorAll elm::querySelectorAll = (selector) -> nativeQuery.call( @, selector.replace(/@(\w+)/g, "[role~=\"$1\"]") )
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
role-rails-1.2.0 | vendor/role/src/role.coffee |