Skip to content

MooTools doesn't load -- object.prototype is undefined #15

@tysonmote

Description

@tysonmote
require 'rubygems'
require 'harmony'
h = Harmony::Page.new
h.load 'http://ajax.googleapis.com/ajax/libs/mootools/1.2.4/mootools.js'

Gives me:

Johnson::Error: object.prototype is undefined

at top level    in untitled document at line 43
at top level    in untitled document at line 43
at top level    in untitled document at line 1432
method evaluate_compiled_script in runtime.rb at line 49
method evaluate in runtime.rb at line 53
method extended in runtime.rb at line 189
method call in js_land_proxy.rb at line 16
method __send__ in js_land_proxy.rb at line 16
method send_with_possible_block in js_land_proxy.rb at line 16
method call_function_property   in ruby_land_proxy.rb at line 110
at top level    in env.js at line 105
method method_missing   in ruby_land_proxy.rb at line 110
method load in page.rb at line 76
method each in page.rb at line 75
method load in page.rb at line 75
at top level    in untitled at line 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions