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

Function manualUppercase

test/angular/1.3/angular.js:214–219  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

212 : s;
213};
214var manualUppercase = function(s) {
215 /* jshint bitwise: false */
216 return isString(s)
217 ? s.replace(/[a-z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) & ~32);})
218 : s;
219};
220
221
222// 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