1(function( $ ) { 2 'use strict'; 3 // The initViz function. Refer Tableau JS API for details on how this works (https://onlinehelp.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api.htm) 4 function initViz() { 5 var containerDiv = document.getElementById("vizContainer"), 6 url = $('#vizContainer').attr("data-url"), 7 options = { 8 hideTabs: true, 9 onFirstInteractive: function () { 10 console.log("The viz has finished loading."); 11 } 12 }; 13 14 // Create a viz object and embed it in the container div. 15 var viz = new tableau.Viz(containerDiv, url, options); 16 17 } 18 //Document ready fuction 19 $(document).ready(function() { 20 //if the data attribute is populated, initialize the Tableau Viz. 21 if ($('#vizContainer').length && $('#vizContainer').attr("data-url") != ''){ 22 initViz(); 23 } 24 }); 25})( jQuery );
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.