1(function(){this.jdYtSubscriber=function(){var defaults={prefix:"jd",channel:"",channelid:"",layout:"default",count:"default",theme:""};if(arguments[0]&&typeof arguments[0]==="object"){this.element=arguments[0]}else{throw"Call jdb subscribe on an HTML element."}if(arguments[1]&&typeof arguments[1]==="object"){this.options=extendDefaults(defaults,arguments[1])}if(this.options.channel===""&&this.options.channelid===""){return false}build.call(this)};function extendDefaults(source,properties){var property;for(property in properties){if(properties.hasOwnProperty(property)){source[property]=properties[property]}}return source}function build(){var _this=this;if(!(typeof window.gapi=="object"&&typeof window.gapi.ytsubscribe=="object")){var tag=document.createElement("script");tag.id=_this.options.prefix+"-youtube-subscriber-api";tag.src="https://apis.google.com/js/platform.js";if(document.getElementById(tag.id)===null){var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);document.getElementById(tag.id).addEventListener("load",function(){build.call(_this)})}return}var options={};if(_this.options.channelid!=""){options.channelid=_this.options.channelid}else{options.channel=_this.options.channel}options.layout=_this.options.layout;options.count=_this.options.count;if(_this.options.theme!=""){options.theme=_this.options.theme}gapi.ytsubscribe.render(_this.element,options)}})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.