DmitryBaranovskiy/raphael — Issue #467: IE7: window.Raphael.svg is null or not an object
Author: danyalejandro
Created: 2011-11-24 17:24:18+00:00
State: open

When I try to use any of the demos in http://raphaeljs.com , IE7 gets an alert message saying "Real time error. Would you like to debug it? Line 3407 Error: 'window.Raphael.svg' is null or not an object"

When I click "No", another alert appears saying "'Raphael' is undefined". Then no javascript works at all.

This happens in all the pages that try to use Raphael, including the official demos.

My current system configuration is:
Windows XP Service Pack 3 installed trough an unattended package.
Internet Explorer 7.0.5730.13

This error persists on different hardware (with the same windows an IE7).

The code involved in the Raphael.js library is the svg module start:

// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.svg && function (R) {