1/** 2 * function that does nothing and it is used for the syntactic sugaring. 3 * 4 * like 5 * 6 * <pre><code> 7 * (func || _noop)(args) 8 * </code></pre> 9 * 10 * instead of 11 * 12 * <pre><code> 13 * if (func) { 14 * func(args) 15 * } 16 * </code></pre> 17 */ 18function noop() { 19} 20 21/** 22 * Checks whether javascript is running inside a iframe. 23 * 24 * @returns true or false 25 */ 26function inIframe() { 27 try { 28 return window.location !== window.parent.location; 29 } catch (e) { 30 return true; 31 } 32}
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.