1"use strict"; 2/******************************************************************************/ 3/******************************************************************************/ 4 5function Autospa_ThemeHelper() 6{ 7 /**************************************************************************/ 8 9 this.getValueFromClass=function(object,pattern) 10 { 11 var reg=new RegExp(pattern); 12 var className=jQuery(object).attr('class').split(' '); 13 14 for(var i in className) 15 { 16 if(reg.test(className[i])) 17 return(className[i].substring(pattern.length)); 18 } 19 20 return(false); 21 }; 22 23 /**************************************************************************/ 24 25 this.parseBool=function(value) 26 { 27 return(parseInt(value,10)===1 ? true : false); 28 } 29 30 /**************************************************************************/ 31}; 32 33/******************************************************************************/ 34/******************************************************************************/
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.