refactor code
This commit is contained in:
parent
6406e6816b
commit
c526d323be
|
@ -1,8 +1,8 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
angular.module('ariaNg').factory('ariaNgFileService', ['ariaNgCommonService', function (ariaNgCommonService) {
|
||||
var isSupportFileReader = !!FileReader;
|
||||
angular.module('ariaNg').factory('ariaNgFileService', ['$window', 'ariaNgCommonService', function ($window, ariaNgCommonService) {
|
||||
var isSupportFileReader = !!$window.FileReader;
|
||||
|
||||
var getAllowedExtensions = function (fileFilter) {
|
||||
var extensions = [];
|
||||
|
|
Reference in a new issue