src/client/vogue-client.js
function reloadStylesheet(href) {
      var newHref = stylesheets[href].href +
            (href.indexOf("?") >= 0 ? "&" : "?") +
            "_vogue_nocache=" + (new Date).getTime(),
          stylesheet;
      // Check if the appropriate DOM Node is there.
      if (!stylesheets[href].setAttribute) {
        // Create the link.
        stylesheet = document.createElement("link");
        stylesheet.setAttribute("rel", "stylesheet");
        stylesheet.setAttribute("href", newHref);
        head.appendChild(stylesheet);

        // Update the reference to the newly created link.
        stylesheets[href] = stylesheet;
      } else {
        // Update the href to the new URL.
        stylesheets[href].href = newHref;
      }
    }
function reloadStylesheet(href) {
      var newHref = stylesheets[href].href +
            (href.indexOf("?") >= 0 ? "&" : "?") +
            "_vogue_nocache=" + (new Date).getTime(),
          stylesheet;
      // Check if the appropriate DOM Node is there.
      if (!stylesheets[href].setAttribute) {
        // Create the link.
        stylesheet = document.createElement("link");
        stylesheet.setAttribute("rel", "stylesheet");
        stylesheet.setAttribute("href", newHref);
        head.appendChild(stylesheet);

        // Update the reference to the newly created link.
        stylesheets[href] = stylesheet;
      } else {
        // Update the href to the new URL.
        stylesheets[href].href = newHref;
      }
    }
function reloadStylesheet ( href ) { var newHref = stylesheets [ href ] . href + ( href . indexOf ( "?" ) >= 0 ? "&" : "?" ) + "_vogue_nocache=" + ( new Date ) . getTime ( ) , stylesheet ; // Check if the appropriate DOM Node is there. if ( ! stylesheets [ href ] . setAttribute ) { // Create the link. stylesheet = document . createElement ( "link" ) ; stylesheet . setAttribute ( "rel" , "stylesheet" ) ; stylesheet . setAttribute ( "href" , newHref ) ; head . appendChild ( stylesheet ) ; // Update the reference to the newly created link. stylesheets [ href ] = stylesheet ; } else { // Update the href to the new URL. stylesheets [ href ] . href = newHref ; } }
Reload a stylesheet.

@param {String} href The URL of the stylesheet to be reloaded.
Reload a stylesheet .