PageSourceSearch

https://moonrock-apps.herokuapp.com/framework/unit.service.js

js moonrock-apps.herokuapp.com collected 2026-10-03 14:50:43 UTC 297 bytes, 10 lines download raw bytes

1angular.module('MoonrockApps')
2    .factory('UnitFactory', ['$resource', function($resource) {
3        return $resource('/api/unit/:_id', { id: '@_id' },
4            {
5              'update': {
6                  url:'/api/unit',
7                  method: 'PUT' }
8            }
9        );
10    }]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.