Sha256: da1f968323b10c5072eb1abf0e04812d8a9edfcf21da6e2955679ff1ce5ff47b
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
require({cache:{ 'url:dojox/calendar/templates/MobileVerticalRenderer.html':"<div class=\"dojoxCalendarEvent dojoxCalendarVertical\">\n\t<div class=\"bg\"></div>\t\n\t<div data-dojo-attach-point=\"resizeStartHandle\" class=\"resizeStartHandle resizeHandle\"><div></div></div>\n\t<dl style=\"width:100%;\">\t\t\t\t\n\t\t<dd data-dojo-attach-point=\"beforeIcon\" class=\"beforeIcon\">▲</dd>\n\t\t<dd data-dojo-attach-point=\"startTimeLabel\" class=\"startTime\"></dd>\n\t\t<dd data-dojo-attach-point=\"summaryLabel\" class=\"summary\"></dd>\n\t</dl>\n\t<span data-dojo-attach-point=\"afterIcon\" class=\"afterIcon\">▼</span>\t\n\t<div data-dojo-attach-point=\"resizeEndHandle\" class=\"resizeEndHandle resizeHandle\"><div></div></div>\n\t<span data-dojo-attach-point=\"endTimeLabel\" class=\"endTime\"></span>\n</div>\n"}}); define("dojox/calendar/MobileVerticalRenderer", ["dojo/_base/declare", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dojox/calendar/_RendererMixin", "dojo/text!./templates/MobileVerticalRenderer.html"], function(declare, _WidgetBase, _TemplatedMixin, _RendererMixin, template){ return declare("dojox.calendar.MobileVerticalRenderer", [_WidgetBase, _TemplatedMixin, _RendererMixin], { // summary: // The mobile specific item vertical renderer. templateString: template, mobile: true, visibilityLimits: { resizeStartHandle: 75, resizeEndHandle: -1, summaryLabel: 55, startTimeLabel: 75, endTimeLabel: 20 }, postCreate: function() { this.inherited(arguments); this._applyAttributes(); }, _isElementVisible: function(elt, startHidden, endHidden, size){ var d; switch(elt){ case "startTimeLabel": d = this.item.startTime; if(this.item.allDay || this.owner.isStartOfDay(d)){ return false; } break; case "endTimeLabel": d = this.item.endTime; if(this.item.allDay || this.owner.isStartOfDay(d)){ return false; } break; } return this.inherited(arguments); } }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dojox-rails-0.11.0 | vendor/assets/javascripts/calendar/MobileVerticalRenderer.js.uncompressed.js |