|
|
@@ -1,5 +1,3 @@
|
|
|
-/* eslint-disable
|
|
|
- */
|
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
|
// Fix any style issues and re-enable lint.
|
|
|
/*
|
|
|
@@ -42,12 +40,12 @@ export default App.directive('fineUpload', $timeout => ({
|
|
|
validation.sizeLimit = scope.sizeLimit
|
|
|
}
|
|
|
const maxConnections = scope.maxConnections || 1
|
|
|
- const onComplete = scope.onCompleteCallback || function () {}
|
|
|
- const onUpload = scope.onUploadCallback || function () {}
|
|
|
- const onError = scope.onErrorCallback || function () {}
|
|
|
- const onValidateBatch = scope.onValidateBatch || function () {}
|
|
|
- const onSubmit = scope.onSubmitCallback || function () {}
|
|
|
- const onCancel = scope.onCancelCallback || function () {}
|
|
|
+ const onComplete = scope.onCompleteCallback || function() {}
|
|
|
+ const onUpload = scope.onUploadCallback || function() {}
|
|
|
+ const onError = scope.onErrorCallback || function() {}
|
|
|
+ const onValidateBatch = scope.onValidateBatch || function() {}
|
|
|
+ const onSubmit = scope.onSubmitCallback || function() {}
|
|
|
+ const onCancel = scope.onCancelCallback || function() {}
|
|
|
if (scope.autoUpload == null) {
|
|
|
autoUpload = true
|
|
|
} else {
|