1/** 2 * @module jira/data/local-storage 3 */ 4define('jira/data/local-storage', ['jquery'], function (jQuery) { 5 'use strict'; 6 7 if (typeof localStorage === "undefined") { 8 // Define the localStorage interface so that JIRA doesn't fall over for older browsers that don't support it. 9 localStorage = { 10 //eslint-disable-line no-global-assign 11 getItem: jQuery.noop, 12 setItem: jQuery.noop, 13 removeItem: jQuery.noop, 14 clear: jQuery.noop 15 }; 16 } 17 return localStorage; 18});
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.