mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -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,13 +1,11 @@
|
|||
|
||||
modulejs.define('ext/download', ['_', '$', 'core/settings', 'core/resource', 'core/event', 'core/ajax'], function (_, $, allsettings, resource, event, ajax) {
|
||||
|
||||
var defaults = {
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
execution: 'php',
|
||||
format: 'zip'
|
||||
},
|
||||
|
||||
settings = _.extend({}, defaults, allsettings.download),
|
||||
}, allsettings.download),
|
||||
|
||||
// formats = ['tar', 'zip'],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue