Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8954829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:24:02+00:00 2026-06-15T14:24:02+00:00

I have been working quite a bit with Raphael SVG/VML library, the website states

  • 0

I have been working quite a bit with Raphael SVG/VML library, the website states it supports Firefox 3.0+.

I have however encountered a problem using the latest version of Raphael and jQuery 1.8.3.

I am able to create a paper var paper = Raphael('divID',500,500); and create shapes on this paper, for example var rect1 = paper.rect(0,0,100,100);

The problem occurs when I then try and get a bounding box for this rect. In the console I get a this.join is not a function

I also get the same problem while creating paths.

From what I can see it seems to be a problem with the getBBox function or the pathToString function. Has anyone encountered this problem and does anyone know what I could change to fix the problem?

EDIT: The reason I ask specifically about 3.0.12 is my customer has no choice but to run on that browser, unfortunately.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:24:03+00:00Added an answer on June 15, 2026 at 2:24 pm

    The problem is inside clone function inside Raphael library. This function doesn’t clone functions properly in old version of Firefox. One of the solutions is to modify code to return functions without clone them (just like it’s doing with simple JavaScript types)

    So, your final code for Raphael’s clone function will look like this:

    function clone(obj) {
        if (Object(obj) !== obj || typeof obj === 'function') {
            return obj;
        }
        var res = new obj.constructor;
        for (var key in obj) if (obj[has](key)) {
            res[key] = clone(obj[key]);
        }
        return res;
    }
    

    I hope this will not broke anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working with SharpSVN quite a bit lately and I'm currently trying
I am refurbishing a big CMS that I have been working on for quite
I have been working on it for quite a while, but still can't figure
I have been working on this for some time now and just cant quite
I have been working on a large java application. It is quite parallel, and
I have been working on XNA for quite some time, but was asked to
I am very new to javascript and have been using the JQuery library quite
For quite a bit of time now I have been trying to figure out
I've been working quite a bit on something I can only describe as a
I've been working quite a bit on a game, not too fancy, and i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.