Do I need to tell jslint about functions that have not yet been defined inside another function?
<p>I have code like this:</p>

<pre><code>function dialog($link) {
    "use strict";

   function doDialogAjax() {
        $.ajax({
            cache: false,
            url: url,
            dataType: 'html'
        })
            .done(onDialogDone)
            .fail(onDialogFail);
   }

   function onDialogDone(data) {
        content = data;
   // ... 
   }
}
</code></pre>

<p>jslint complains that the onDialogDone has not yet been defined. Do I really need to define it as a global at the top of my code. The reason I am asking is because I don't think the function onDialogDone is a global. It's just a function not yet defined within the outer function. </p>

<p>Also am I correct in saying that a function defined this way should not have a semicolon at the end after the last curly brace?</p>
