JQuery function call from out of context
<p>A js/css template is provided to me.
It is very talented in interactive event handling, but i am not talented on js/jquery.</p>

<p>In its js library, there is a .js file,
and the file has some code like:</p>

<pre><code>(function ($) {
...
})(jQuery);
</code></pre>

<p>most of thing happens in it.</p>

<p>There are some "little independent functions" in this upper function.</p>

<p>And some lines in this upper/wrapper/non-named function, call these "little-independent functions".</p>

<p>Also, i want to call these "little independent functions" BUT i could not find out how.</p>

<p>Because in the lines in "<code>(function ($) {...})(jQuery);</code>" those call these "little independent functions" there are some local variables.</p>

<p>I think some code help me to tell:</p>

<pre><code>(function ($) {

if(...){
var items;

addItem(items)
}

function addItem(funcitems){}
...
})(jQuery);
</code></pre>

<p>My question is that, how can i call additem, how can i pass "items" into it?</p>

<p>I want to call it in a custom part of my page after a custom event.</p>
