bitcoinaddress.js
function() {

        var template = document.getElementById(this.config.template);

        if(!template) {
            throw new Error("Bitcoin address template element missing:" + this.config.template);
        }

        template = $(template);

        if(template.size() != 1) {
            throw new Error("Bitcoin address template DOM does not contain a single element");
        }

        return template;
    }
function() {

        var template = document.getElementById(this.config.template);

        if(!template) {
            throw new Error("Bitcoin address template element missing:" + this.config.template);
        }

        template = $(template);

        if(template.size() != 1) {
            throw new Error("Bitcoin address template DOM does not contain a single element");
        }

        return template;
    }
function ( ) { var template = document . getElementById ( this . config . template ) ; if ( ! template ) { throw new Error ( "Bitcoin address template element missing:" + this . config . template ) ; } template = $ ( template ) ; if ( template . size ( ) != 1 ) { throw new Error ( "Bitcoin address template DOM does not contain a single element" ) ; } return template ; }
Get the template element defined in the options.
@return {[type]} [description]
Get the template element defined in the options .