MCPcopy
hub / github.com/angular-ui/ui-router / manualUppercase

Function manualUppercase

test/angular/1.4/angular.js:223–228  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

221 : s;
222};
223var manualUppercase = function(s) {
224 /* jshint bitwise: false */
225 return isString(s)
226 ? s.replace(/[a-z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) & ~32);})
227 : s;
228};
229
230
231// String#toLowerCase and String#toUpperCase don't produce correct results in browsers with Turkish

Callers

nothing calls this directly

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected