Sha256: f0bd85d4b0dc3c171daba356563019fa1420911b7221f51b6d52425bb2165361
Contents?: true
Size: 597 Bytes
Versions: 87
Compression:
Stored size: 597 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'), 'immediate': translate('Immediate') }; this.downloadPolicyName = function (policy) { return this.downloadPolicies[policy]; }; }] );
Version data entries
87 entries across 87 versions & 1 rubygems