acquire.js
function(source, callback) {
        callback = callback || noop;

        //if there's a queue
        if (queue[source] instanceof Array) {
            //just call the callback
            return callback();
        }

        //otherwise there is not a queue
        //so let's create one
        queue[source] = [];

        var style     = document.createElement('link');
        var head     = document.getElementsByTagName('head')[0];

        style.type = 'text/css';
        style.rel = 'stylesheet';
        style.href = source;

        head.appendChild(style);
        callback();
    }
function(source, callback) {
        callback = callback || noop;

        //if there's a queue
        if (queue[source] instanceof Array) {
            //just call the callback
            return callback();
        }

        //otherwise there is not a queue
        //so let's create one
        queue[source] = [];

        var style     = document.createElement('link');
        var head     = document.getElementsByTagName('head')[0];

        style.type = 'text/css';
        style.rel = 'stylesheet';
        style.href = source;

        head.appendChild(style);
        callback();
    }
function ( source , callback ) { callback = callback || noop ; //if there's a queue if ( queue [ source ] instanceof Array ) { //just call the callback return callback ( ) ; } //otherwise there is not a queue //so let's create one queue [ source ] = [ ] ; var style = document . createElement ( 'link' ) ; var head = document . getElementsByTagName ( 'head' ) [ 0 ] ; style . type = 'text/css' ; style . rel = 'stylesheet' ; style . href = source ; head . appendChild ( style ) ; callback ( ) ; }
Gets a style remotely
and caches it.

@param string
@param function
@return void
Gets a style remotely and caches it .