Sha256: 86dee283b64e3a6811b3e0131325fefd8977386b5f92c54c698f83a005894681
Contents?: true
Size: 247 Bytes
Versions: 1
Compression:
Stored size: 247 Bytes
Contents
module BBLib def self.in_opal? RUBY_ENGINE == 'opal' end end if BBLib.in_opal? class Element alias_native :replace_with, :replaceWith alias_native :prepend alias_native :get_context, :getContext end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bblib-0.3.0 | lib/opal/bbopal.rb |