Here is the code that fails under Exhibit 3:
configuration script:
https://afdsi.org/test/exhibit/protein/config.js
Calendar override script:
<script type='text/javascript'>
var oldLabelInterval =
Timeline.GregorianDateLabeller.prototype.labelInterval;
Timeline.GregorianDateLabeller.prototype.labelInterval = function(date,
intervalUnit) {
if (date.getUTCFullYear() < 1) {
return { text: "", emphasized: false };
}
else if (date.getUTCFullYear() > 1640) {
return { text: "", emphasized: false };
}
else {
return oldLabelInterval.call(this, date, intervalUnit);
}
};
// override
http://static.simile.mit.edu/exhibit/extensions-2.0/time/scripts/timeline-view.js
Exhibit.TimelineView.prototype._fillInfoBubble = function(evt, elmt,
theme, labeller) {
var doc = elmt.ownerDocument;
// var title = evt._itemID;
var title = evt.getProperty('name');
var divTitle = doc.createElement("div");
var textTitle = doc.createTextNode(title);
divTitle.appendChild(textTitle);
theme.event.bubble.titleStyler(divTitle);
elmt.appendChild(divTitle);
var desc = evt.getProperty('description');
var divDesc = doc.createElement("div");
var textDesc = doc.createTextNode(desc);
divDesc.appendChild(textDesc);
theme.event.bubble.bodyStyler(divDesc);
elmt.appendChild(divDesc);
// this._uiContext.getLensRegistry().createLens(evt._itemID, elmt,
this._uiContext);
};
</script>
On Tuesday, February 7, 2017 at 1:08:13 PM UTC-6, Jay Gray wrote:
>
> Updated images:
>
> https://afdsi.org/test/exhibit/protein/Substrate_Amyloid_screen_300w.png
>
>
> https://afdsi.org/test/exhibit/protein/Substrate_Cartilage_screen_300.png
>
> https://afdsi.org/test/exhibit/protein/Substrate_collagen_screen_300.png
>
>
> On Tuesday, February 7, 2017 at 10:01:06 AM UTC-6, Jay Gray wrote:
>>
>> Updated reference:
>>
>> https://afdsi.org/test/exhibit/protein/index.html
>>
>> /jay
>>
>> On Monday, December 12, 2016 at 3:53:02 AM UTC-6, Jay Gray wrote:
>>>
>>> A while back we successfully implemented a customized Exhibit Timeline
>>> using
>>> http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js
>>>
>>> http://static.simile.mit.edu/exhibit/extensions-2.0/time/time-extension.js
>>>
>>> The instance no longer works.
>>> Fortunately, we have screen shots of the working instance, shown here:
>>> https://afdsi.org/test/protein/images.html
>>>
>>> Customization overrides
>>>
>>> http://static.simile.mit.edu/exhibit/extensions-2.0/time/scripts/timeline-view.js
>>> with start and stop 'dates' that represent the beginning and end of gene
>>> sequences.
>>>
>>> Withing the last six months the previously working instance stopped
>>> working.
>>> Here is a site where working instances are now non-working instances:
>>> http://substrate.burnham.org/
>>>
>>> We have upgraded the previously working instances to Exhibit 3, as shown
>>> here:
>>> https://afdsi.org/test/protein/index.html
>>> but the timeline modified to show gene sequences still does not work.
>>>
>>> Would it be possible to unwind the changes to Exhibit version 2 that
>>> broke the previously working instances?
>>> Then we can see how to make sure those features also are present in
>>> Exhibit 3.
>>>
>>> /jay gray
>>>
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.