if RUBY_ENGINE == 'opal' require 'native' require_relative "react/react.rb" require_relative "react/dsl.rb" require_relative "react/window.rb" require_relative "react/component.rb" require_relative "react/version" else require 'opal' Opal.append_path File.expand_path('..', __FILE__).untaint end