1(function(){ 2 /** 3 * If we have a temp variable of type function it means lodash was loaded before underscore so we need to 4 * remove the reference to underscore from window._ by using the method .noConflict() from underscore, after 5 * this point we need to revert back the value of window._ which was lodash. 6 * 7 * In the second scenario when underscore is loaded before lodash, this will not be executed as window._ will remain as lodash. 8 * 9 * On a third scenario when lodash is not included this will either be executed which will allow to use something like: window.underscore || window._ to fallback to the correct value of underscore in the plugins. 10 */ 11 if ( window._lodash_tmp !== false && typeof window._lodash_tmp === 'function' ) { 12 // Remove reference to _ if is underscore 13 window.underscore = _.noConflict(); 14 // Restore reference to lodash if present 15 window._ = window._lodash_tmp; 16 } 17})();
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.