Thread View: pl.comp.lang.javascript
1 messages
1 total messages
Started by KoleS46
Thu, 21 Jul 2011 08:20
Odp: prosba o wyjasnienie
Author: KoleS46
Date: Thu, 21 Jul 2011 08:20
Date: Thu, 21 Jul 2011 08:20
9 lines
1620 bytes
1620 bytes
W dniu środa, 20 lipca 2011, 23:46:50 UTC+2 użytkownik smerf napisał:
>
> (function ($, undefined) {
> ..
> })(jQuery)
>
> I po co to undefined ?
undefined jest "przekazane" (defacto nie jest przekazane jest jQuery pod postacia $) po to zeby w funkcji można było sie odwołać do jej orginalnej wartości zeby nikt nie mógł jej nadpisac i popsuć działania tego co jest w srodku
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads