mirror of
https://github.com/nextcloud/server.git
synced 2026-02-09 22:05:33 -05:00
This makes it possible to retrieve the icon for mimetypes in javascript. It makes no additional queries to the server to retrieve the mimetype. * config/mimetypealiases.json added * mimetype.js: this is where the logic resides to convert from mimetype to icon url * mimetypelist.js: generated file with a list of mimetype mapping (aliases) and the list of icon files * ./occ maintenance:mimetypesjs : new command for occ to gernerate mimetypes.js * unit tests updated and still work * javascript tests added * theming support * folder of the theme is now present in javascript (OC.theme.folder)
34 lines
665 B
JSON
34 lines
665 B
JSON
{
|
|
"vendor": [
|
|
"jquery/jquery.min.js",
|
|
"jquery-migrate/jquery-migrate.min.js",
|
|
"jquery-ui/ui/jquery-ui.custom.js",
|
|
"underscore/underscore.js",
|
|
"moment/min/moment-with-locales.js",
|
|
"handlebars/handlebars.js",
|
|
"blueimp-md5/js/md5.js"
|
|
],
|
|
"libraries": [
|
|
"jquery-showpassword.js",
|
|
"jquery-tipsy.js",
|
|
"jquery.avatar.js",
|
|
"placeholder.js"
|
|
],
|
|
"modules": [
|
|
"compatibility.js",
|
|
"jquery.ocdialog.js",
|
|
"oc-dialogs.js",
|
|
"js.js",
|
|
"l10n.js",
|
|
"share.js",
|
|
"octemplate.js",
|
|
"eventsource.js",
|
|
"config.js",
|
|
"multiselect.js",
|
|
"oc-requesttoken.js",
|
|
"setupchecks.js",
|
|
"../search/js/search.js",
|
|
"mimetype.js",
|
|
"mimetypelist.js"
|
|
]
|
|
}
|