Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error $.path is undefined #31

Open
dilipvora07 opened this issue Aug 19, 2017 · 0 comments
Open

Getting error $.path is undefined #31

dilipvora07 opened this issue Aug 19, 2017 · 0 comments

Comments

@dilipvora07
Copy link

dilipvora07 commented Aug 19, 2017

function animate()
{
  var path = {
            start: {
              x: 50,
              y: 50,
              angle: 315.012,
              length: 0.707
            },
            end: {
              x: 540,
              y: 540,
              angle: 315.012,
              length: 0.707
            }
          };

  $('.animatingDiv').animate(
      {
        path : new $.path.bezier(path)
      },
      2000,
      animate
    );
}

Trying above code but getting - TypeError: $.path is undefined

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant