Sha256: f4af25c58f36acf83b92c20d2973454389fb3bcee7d678171fa226360f1464df
Contents?: true
Size: 610 Bytes
Versions: 51
Compression:
Stored size: 610 Bytes
Contents
/** * @ngdoc service * @name Bastion.repository.service:downloadPolicy * * @requires translate * * @description * Provides a downloadPolicy for repositories */ angular.module('Bastion.repositories').service('DownloadPolicy', ['translate', function (translate) { this.downloadPolicies = { 'on_demand': translate('On Demand'), 'background': translate('Background (Deprecated)'), 'immediate': translate('Immediate') }; this.downloadPolicyName = function (policy) { return this.downloadPolicies[policy]; }; }] );
Version data entries
51 entries across 51 versions & 1 rubygems