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