Cleans js. Fixes js. Updates ru translation.

This commit is contained in:
Lars Jung 2012-09-16 21:02:40 +02:00
parent aa92ab9e83
commit 6b5556f338
27 changed files with 83 additions and 168 deletions

View file

@ -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'],