#111 ✓resolved
nickg

Image is not defined

Reported by nickg | March 15th, 2010 @ 11:47 AM | in 1.2.x

looks like Image is missing in envjs.

Image is a weirdo in the DOM, since it actually has a constructor, and doesn't need an OwnerDocument.

For ref, https://developer.mozilla.org/En/DOM/Image

$ ./tester.sh
Rhino 1.7 release 2 2009 03 22
js> load("client9-env-js/dist/env.rhino.js");
[  Envjs/1.6 (Rhino; U; Mac OS X x86_64 10.6.2; en-US; rv:1.7.0.rc2) Resig/20070309 PilotFish/1.2.0.6  ]
js> Image
js: "<stdin>", line 3: uncaught JavaScript runtime exception: ReferenceError: "Image" is not defined.
    at <stdin>:3

js>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

a javascript browser environment

People watching this ticket

Pages