Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1820 closed enhancement (invalid)

patch: do not use the $ function in ui.calendar.js

Reported by: csi Owned by:
Priority: trivial Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

That would be great if official plugins showed the good example and do no use the shortcut function $ instead of unconflicted one jQuery.

Here is a patch for ui.calendar.js (1.0)

Attachments (1)

no_dollar_func.patch (5.6 KB) - added by csi 16 years ago.

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by csi

Attachment: no_dollar_func.patch added

comment:1 Changed 16 years ago by rworth

Resolution: invalid
Status: newclosed

calendar has the dollar sign ($) correctly handled by doing

(function($)

...

})(jQuery);

This allows for use of the dollar sign ($) within the function without conflicts.

Note: See TracTickets for help on using tickets.