Skip to content

Commit

Permalink
Возникала ошибка при сжатии и объединении js (http://altocms.ru/1177.…
Browse files Browse the repository at this point in the history
  • Loading branch information
aVadim483 committed May 27, 2015
1 parent 0dcb73f commit b22386f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions common/templates/frontend/libs/js/engine/altoMultiUploader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jAltoUploader.js
* altoMultiUploader.js
* Файл jquery-плагина для мультизагрузки изображений Alto
*
* @author Андрей Воронов <andreyv@gladcode.ru>
Expand Down Expand Up @@ -56,7 +56,8 @@
*/
init: function () {

/*jslint unparam: true*/// Для onCheckFiles поскольку первый параметр не используется
/*jslint unparam: true*/
// Для onCheckFiles поскольку первый параметр не используется
var $this = this,
previewConfig = {
el: '.js-file-preview',
Expand Down Expand Up @@ -98,7 +99,8 @@
},
multiple: true,
onFileComplete: function (evt, uiEvt) {
/*jslint nomen: true*/// Специфическое поле FileAPI
/*jslint nomen: true*/
// Специфическое поле FileAPI
evt.widget.remove(evt.widget.__fileId);
/*jslint nomen: false*/
$this.addPhoto(uiEvt.result);
Expand Down

0 comments on commit b22386f

Please sign in to comment.