1jQuery.noConflict(); 2jQuery(document).ready(function () { 3 if (Bw) { 4 if (Bw.classloaderConfig) { 5 var cfg = Bw.classloaderConfig; 6 for (i = 0; i < cfg.length; i++) { 7 currentCfg = cfg[i]; 8 if (currentCfg.className) { 9 if (typeof currentCfg.options === 'undefined') currentCfg.options = null; 10 var namespaces = currentCfg.className.split('.'); 11 var func = namespaces.pop(); 12 var context = window; 13 14 for (let j = 0; j < namespaces.length; j++) { 15 context = context[namespaces[j]]; 16 } 17 18 // check if context[func] is constructor 19 if (typeof context[func] === 'function') { 20 Bw[currentCfg.instanceName] = new context[func](currentCfg.options); 21 } else { 22 console.log(func, 'object not found'); 23 } 24 } 25 } 26 } 27 } 28}); 29 30
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.