MCPcopy Create free account
hub / github.com/angular-ui/ui-router / safeDecodeURIComponent

Function safeDecodeURIComponent

test/angular/1.3/angular.js:5233–5239  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

5231 var cookiePath = self.baseHref();
5232
5233 function safeDecodeURIComponent(str) {
5234 try {
5235 return decodeURIComponent(str);
5236 } catch (e) {
5237 return str;
5238 }
5239 }
5240
5241 /**
5242 * @name $browser#cookies

Callers 1

BrowserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected