Sha256: d1c8603e980d622c93c1d7d31b493caf01f1980066ae46879dd1f5148dbd9cc5

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bblib-0.4.1 lib/opal/bbopal.rb