17 lines
446 B
JavaScript
17 lines
446 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular.module('ariaNg').constant('ariaNgConstants', {
|
|
title: 'Aria Ng',
|
|
appPrefix: 'AriaNg'
|
|
}).constant('ariaNgDefaultOptions', {
|
|
localeName: 'en-US',
|
|
protocol: 'http',
|
|
globalStatRefreshInterval: 1000,
|
|
downloadTaskRefreshInterval: 1000
|
|
}).constant('aria2RpcConstants', {
|
|
rpcServiceVersion: '2.0',
|
|
rpcServiceName: 'aria2'
|
|
});
|
|
})();
|