mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Cleans js. Fixes js. Updates ru translation.
This commit is contained in:
parent
aa92ab9e83
commit
6b5556f338
27 changed files with 83 additions and 168 deletions
|
@ -1,15 +1,13 @@
|
|||
|
||||
modulejs.define('ext/thumbnails', ['_', 'core/settings', 'core/entry', 'core/event', 'core/ajax'], function (_, allsettings, entry, event, ajax) {
|
||||
|
||||
var defaults = {
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
img: ['bmp', 'gif', 'ico', 'image', 'jpg', 'png', 'tiff'],
|
||||
mov: ['video'],
|
||||
doc: ['pdf', 'ps'],
|
||||
delay: 1000
|
||||
},
|
||||
|
||||
settings = _.extend({}, defaults, allsettings.thumbnails),
|
||||
}, allsettings.thumbnails),
|
||||
|
||||
checkEntry = function (entry) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue