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

Function prettyPrint

lib/test/angular/1.4.3/angular-mocks.js:1144–1148  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

1142 wasExpected = false;
1143
1144 function prettyPrint(data) {
1145 return (angular.isString(data) || angular.isFunction(data) || data instanceof RegExp)
1146 ? data
1147 : angular.toJson(data);
1148 }
1149
1150 function wrapResponse(wrapped) {
1151 if (!$browser && timeout) {

Callers 1

$httpBackendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected