![]() Closes #174, Don't load images and attached files when detecting content type in linkFromURL() If mime type not provided, Scholar.Files.linkFromURL() now uses XMLHTTPRequest HEAD request to get the content type without loading file (thanks Simon for the idea) If title not provided, try to figure it out from URL, though not particularly intelligently (last slash) Note that order of title and mimeType parameters is now swapped This code should be a bit smarter about unexpected conditions |
||
---|---|---|
.. | ||
cite.js | ||
data_access.js | ||
db.js | ||
history.js | ||
ingester.js | ||
notifier.js | ||
schema.js | ||
scholar.js | ||
search.js | ||
translate.js | ||
utilities.js |