robmonie / jquery-week-calendar

Now actively maintained in the following fork - https://github.com/themouette/jquery-week-calendar
388 stars 391 forks source link

IE7: object doesnt support this property or method #18

Open gumho opened 14 years ago

gumho commented 14 years ago

I am using the latest jquery week calendar code as of yesterday. webkit works and FF and chrome but conks out on IE7. did not try IE 6 or 8. but odd...error is shown below:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Mon, 24 May 2010 03:31:27 UTC

Message: Expected identifier, string or number Line: 1436 Char: 4 Code: 0 URI: .../static/js/jquery.weekcalendar.js

Message: Object doesn't support this property or method Line: 140 Char: 17 Code: 0

gumho commented 14 years ago

found the issue: internet explorer doesnt like trailing commas:

$.extend($.ui.weekCalendar, { version: '1.2.2-pre',

});

nbnew25 commented 12 years ago

It's OK ;-)