Download pool/shard003/JavaScript/0019021_dataFactory.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard003/JavaScript/0019021_dataFactory.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard003/JavaScript/0019021_dataFactory.js
-
curl -L -o 0019021_dataFactory.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard003/JavaScript/0019021_dataFactory.js
1.26 kB
| /** | |
| * @ngdoc service | |
| * @name AQ.factory:data | |
| * | |
| * @description | |
| * Factory stores retrieved data. | |
| */ | |
| AQ.factory('data', function () { | |
| 'use strict'; | |
| var data = {}; | |
| /** | |
| * @ngdoc property | |
| * @name AQ.factory:data#authentication | |
| * @propertyOf AQ.factory:data | |
| * @type {Object} | |
| * | |
| * @description | |
| * Returned from the API authentication object. | |
| */ | |
| data.authentication = {}; | |
| /** | |
| * @ngdoc property | |
| * @name AQ.factory:data#locations | |
| * @propertyOf AQ.factory:data | |
| * @type {Object} | |
| * | |
| * @description | |
| * Returned from the API locations object. | |
| */ | |
| data.locations = null; | |
| /** | |
| * @ngdoc property | |
| * @name AQ.factory:data#location | |
| * @propertyOf AQ.factory:data | |
| * @type {Object} | |
| * | |
| * @description | |
| * Single location. | |
| */ | |
| data.location = null; | |
| /** | |
| * @ngdoc property | |
| * @name AQ.factory:data#projects | |
| * @propertyOf AQ.factory:data | |
| * @type {Object} | |
| * | |
| * @description | |
| * Returned from the API projects object. | |
| */ | |
| data.projects = null; | |
| /** | |
| * @ngdoc property | |
| * @name AQ.factory:data#unsynced | |
| * @propertyOf AQ.factory:data | |
| * @type {Object} | |
| * | |
| * @description | |
| * All unsynced data. | |
| */ | |
| data.unsynced = { | |
| locations: [] | |
| }; | |
| return data; | |
| }); | |