Lines Matching refs:rawProps
1131 EventSource.prototype.applyManualStandardProps = function (rawProps) {
1132 if (rawProps.id != null) {
1133 this.id = EventSource.normalizeId(rawProps.id);
1136 if ($.isArray(rawProps.className)) {
1137 this.className = rawProps.className;
1139 else if (typeof rawProps.className === 'string') {
1140 this.className = rawProps.className.split(/\s+/);
1288 SingleEventDef.prototype.applyManualStandardProps = function (rawProps) {
1289 var superSuccess = _super.prototype.applyManualStandardProps.call(this, rawProps);
1290 …var dateProfile = EventDateProfile_1.default.parse(rawProps, this.source); // returns null on fail…
1294 if (rawProps.date != null) {
1295 this.miscProps.date = rawProps.date;
1741 EventDateProfile.parse = function (rawProps, source) {
1742 var startInput = rawProps.start || rawProps.date;
1743 var endInput = rawProps.end;
1750 var forcedAllDay = rawProps.allDay;
3095 EventDef.prototype.applyManualStandardProps = function (rawProps) {
3096 if (rawProps.id != null) {
3097 this.id = EventDef.normalizeId((this.rawId = rawProps.id));
3102 if (rawProps._id != null) { // accept this prop, even tho somewhat internal
3103 this.uid = String(rawProps._id);
3109 if ($.isArray(rawProps.className)) {
3110 this.className = rawProps.className;
3112 if (typeof rawProps.className === 'string') {
3113 this.className = rawProps.className.split(/\s+/);
3117 EventDef.prototype.applyMiscProps = function (rawProps) {
3118 $.extend(this.miscProps, rawProps);
3186 EventDefMutation.createFromRawProps = function (eventInstance, rawProps, largeUnit) {
3198 for (propName in rawProps) {
3200 dateProps[propName] = rawProps[propName];
3203 standardProps[propName] = rawProps[propName];
3205 else if (eventDef.miscProps[propName] !== rawProps[propName]) { // only if changed
3206 miscProps[propName] = rawProps[propName];
5511 ParsableModelMixin.prototype.applyProps = function (rawProps) {
5516 for (propName in rawProps) {
5518 this[propName] = rawProps[propName];
5521 manualProps[propName] = rawProps[propName];
5524 miscProps[propName] = rawProps[propName];
5534 ParsableModelMixin.prototype.applyManualStandardProps = function (rawProps) {
5540 ParsableModelMixin.prototype.applyMiscProps = function (rawProps) {
5654 RecurringEventDef.prototype.applyProps = function (rawProps) {
5655 var superSuccess = EventDef_1.default.prototype.applyProps.call(this, rawProps);
5656 if (rawProps.start) {
5657 this.startTime = moment.duration(rawProps.start);
5659 if (rawProps.end) {
5660 this.endTime = moment.duration(rawProps.end);
5662 if (rawProps.dow) {
5663 this.setDow(rawProps.dow);
5975 var rawProps;
5978 rawProps = rawInput; property
5981 rawProps = { events: rawInput }; property
5983 if (rawProps) {
5984 return EventSource_1.default.parse.call(this, rawProps, calendar);
6023 ArrayEventSource.prototype.applyManualStandardProps = function (rawProps) {
6024 var superSuccess = _super.prototype.applyManualStandardProps.call(this, rawProps);
6025 this.setRawEventDefs(rawProps.events);
9287 var rawProps;
9290 rawProps = rawInput; property
9293 rawProps = { events: rawInput }; property
9295 if (rawProps) {
9296 return EventSource_1.default.parse.call(this, rawProps, calendar);
9313 FuncEventSource.prototype.applyManualStandardProps = function (rawProps) {
9314 var superSuccess = _super.prototype.applyManualStandardProps.call(this, rawProps);
9315 this.func = rawProps.events;
9342 var rawProps;
9345 rawProps = rawInput; property
9348 rawProps = { url: rawInput }; property
9350 if (rawProps) {
9351 return EventSource_1.default.parse.call(this, rawProps, calendar);
9432 JsonFeedEventSource.prototype.applyMiscProps = function (rawProps) {
9433 this.ajaxSettings = rawProps;