1 var _indexOf, getBoolString, html_escape, indexOf, isFunction, isInt;
3 _indexOf = function(array, item) {
5 for (i = j = 0, len = array.length; j < len; i = ++j) {
14 indexOf = function(array, item) {
16 return array.indexOf(item);
18 return _indexOf(array, item);
23 return typeof n === 'number' && n % 1 === 0;
26 isFunction = function(v) {
27 return typeof v === 'function';
30 html_escape = function(string) {
31 return ('' + string).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''').replace(/\//g, '/');
34 getBoolString = function(value) {
44 getBoolString: getBoolString,
45 html_escape: html_escape,
48 isFunction: isFunction