opal/opal-jquery/http.rb in opal-jquery-0.1.0 vs opal/opal-jquery/http.rb in opal-jquery-0.1.1

- old
+ new

@@ -1,5 +1,6 @@ require 'json' +require 'native' class HTTP attr_reader :body, :error_message, :method, :status_code, :url, :xhr def self.get(url, opts={}, &block)