Lines Matching refs:val

6331 (module.exports = function (O, key, val, safe) {
6332 var isFunction = typeof val == 'function';
6333 if (isFunction) has(val, 'name') || hide(val, 'name', key);
6334 if (O[key] === val) return;
6335 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
6337 O[key] = val;
6340 hide(O, key, val);
6342 O[key] = val;
6344 hide(O, key, val);
6929 val;
6968 val = [[typeof value === 'string' ? String.prototype.trim.call(value || '') : value]];
6970 val = [[value]];
6974 this.saveValue(val, ctrlDown);
7311 var i, prop, val;
7347 val = from[prop];
7348 if (!isUndefined(val)) {
7349 to[prop] = val;
7570 this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
7571 return val.slice(1);
10194 return function (val, period) {
10200 tmp = val; val = period; period = tmp;
10203 val = typeof val === 'string' ? +val : val;
10204 dur = createDuration(val, period);
13150 numbro.validate = function(val, culture) {
13162 if (typeof val !== 'string') {
13163 val += '';
13165 console.warn('Numbro.js: Value is not string. It has been co-erced to: ', val);
13170 val = val.trim();
13173 val = val.replace(/^[+-]?/, '');
13176 if ( !! val.match(/^\d+$/)) {
13181 if (val === '') {
13204 temp = val.match(/^[^\d\.\,]+/);
13206 val = val.substr(1);
13213 temp = val.match(/[^\d]+$/);
13215 val = val.slice(0, -1);
13224 if (!val.match(/[^\d.,]/g)) {
13225 _valArray = val.split(_decimalSep);
13675 var val, res;
13677 val = self[index];
13678 res = f(val, index, O);
13683 case 5: return val; // find
13685 case 2: result.push(val); // filter
16424 this.setCellMeta = function (row, col, key, val) {
16440 priv.cellSettings[physicalRow][physicalColumn][key] = val;
16441 instance.runHooks('afterSetCellMeta', row, col, key, val);
19331 var fn, val;
19332 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
19333 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
19334 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
23696 val;
23705 val = arr[r][c];
23707 if (typeof val === 'string') {
23708 if (val.indexOf('\n') > -1) {
23709 str += '"' + val.replace(/"/g, '""') + '"';
23711 str += val;
23713 } else if (val === null || val === void 0) {
23717 str += val;
35542 var val;
35549 val = [[String.prototype.trim.call(this.getValue())]];
35551 val = [[this.getValue()]];
35554 this.saveValue(val);