Loading ...
Sorry, an error occurred while loading the content.

524Re: [jslint] Undefined variable

Expand Messages
  • Nagy Endre
    May 27, 2009
    • 0 Attachment
      YUI resolves in this way:

      if (typeof YAHOO == "undefined" || !YAHOO) {
          /**
           * The YAHOO global namespace object.  If YAHOO is already defined, the
           * existing YAHOO object will not be overwritten so that defined
           * namespaces are preserved.
           * @class YAHOO
           * @static
           */
          var YAHOO = {};
      }

      but still using the YAHOO before var YAHOO .






      [Non-text portions of this message have been removed]
    • Show all 25 messages in this topic