MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / prettyPrint

Function prettyPrint

lib/test/angular/1.7.0/angular-mocks.js:1379–1383  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

1377 xhr.upload.$$events = uploadEventHandlers;
1378
1379 function prettyPrint(data) {
1380 return (angular.isString(data) || angular.isFunction(data) || data instanceof RegExp)
1381 ? data
1382 : angular.toJson(data);
1383 }
1384
1385 function wrapResponse(wrapped) {
1386 if (!$browser && timeout) {

Callers 1

$httpBackendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected