Lines Matching refs:val

554     var val;
557 val = computeRangeAs(unit, start, end);
558 if (val >= 1 && isInt(val)) {
685 var val;
693 val = propObjs[j][name];
694 if (typeof val === 'object') {
695 complexObjs.unshift(val);
697 else if (val !== undefined) {
698 dest[name] = val; // if there were no objects, this value will be used
819 $.each(cssProps, function (name, val) {
820 if (val != null) {
821 statements.push(name + ':' + val);
831 $.each(attrs, function (name, val) {
832 if (val != null) {
833 parts.push(name + '="' + htmlEscape(val) + '"');
2332 executor(function (val) {
2333 deferred.resolve(val);
2334 attachImmediatelyResolvingThen(promise, val);
2342 resolve: function (val) {
2343 var deferred = $.Deferred().resolve(val);
2345 attachImmediatelyResolvingThen(promise, val);
2356 function attachImmediatelyResolvingThen(promise, val) {
2359 return PromiseStub.resolve(onResolve(val));
4375 var val = this.opt(name);
4376 if (typeof val === 'function') {
4377 val = val.apply(null, Array.prototype.slice.call(arguments, 1));
4379 if (val) {
4380 return this.calendar.parseUnzonedRange(val);
4744 var val;
4745 for (i = 0; i < objs.length && !val; i++) {
4746 val = objs[i].eventBackgroundColor || objs[i].eventColor ||
4749 if (!val) {
4750 val = this.opt('eventBackgroundColor') || this.opt('eventColor');
4752 return val;
4758 var val;
4759 for (i = 0; i < objs.length && !val; i++) {
4760 val = objs[i].eventBorderColor || objs[i].eventColor ||
4763 if (!val) {
4764 val = this.opt('eventBorderColor') || this.opt('eventColor');
4766 return val;
4772 var val;
4773 for (i = 0; i < objs.length && !val; i++) {
4774 val = objs[i].eventTextColor ||
4777 if (!val) {
4778 val = this.opt('eventTextColor');
4780 return val;
5243 Model.prototype.set = function (name, val) {
5247 newProps[name] = val === undefined ? null : val;
5285 var val;
5287 val = newProps[name];
5291 if (typeof val === 'object' ||
5292 val !== this._props[name]) {
5293 changedProps[name] = val;
5300 val = changedProps[name];
5301 this.trigger('before:change', name, val);
5302 this.trigger('before:change:' + name, val);
5305 val = changedProps[name];
5306 if (val === undefined) {
5310 this._props[name] = val;
5312 this.trigger('change:' + name, val);
5313 this.trigger('change', name, val);
5325 res.then(function (val) {
5326 _this.set(name, val);
5354 var onBeforeDepChange = function (depName, val, isOptional) {
5364 var onDepChange = function (depName, val, isOptional) {
5365 if (val === undefined) { // unsetting a value?
5377 values[depName] = val;
5403 bind('before:change:' + depName, function (val) {
5404 onBeforeDepChange(depName, val, isOptional);
5406 bind('change:' + depName, function (val) {
5407 onDepChange(depName, val, isOptional);