I'm trying to add a function to raphael that draws a calender with no success.
Here is my code:
Raphael.fn.calenderView = function () {
};
$(function () {
var paper = Raphael('body');
paper.calenderView();
});
The error that I am getting is that paper has no method calenderView. There is probably something blatantly wrong and maybe I'm just to tired to see it