Sha256: 7e8392bf147a44c5fd753d4df49817f0e114cc3d21be7b5567ae8dfb2234ca4a

Contents?: true

Size: 212 Bytes

Versions: 10

Compression:

Stored size: 212 Bytes

Contents

module Kernel
  # Alert the given message using `window.alert()`. This is a blocking
  # method.
  #
  # @param msg [String] message to alert
  # @return [nil]
  def alert(msg)
    `alert(msg)`
    nil
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
opal-jquery-0.5.0 lib/opal/jquery/kernel.rb
opal-jquery-0.4.6 lib/opal/jquery/kernel.rb
opal-jquery-0.4.5 lib/opal/jquery/kernel.rb
opal-jquery-0.4.4 lib/opal/jquery/kernel.rb
opal-jquery-0.4.3 lib/opal/jquery/kernel.rb
opal-jquery-0.4.2 lib/opal/jquery/kernel.rb
opal-jquery-0.4.1 lib/opal/jquery/kernel.rb
opal-jquery-0.4.0 lib/opal/jquery/kernel.rb
opal-jquery-0.3.0 lib/opal/jquery/kernel.rb
opal-jquery-0.3.0.beta2 lib/opal/jquery/kernel.rb