MCPcopy Create free account
hub / github.com/Justineo/github-hovercard / testRegExp

Function testRegExp

extensions/firefox/mustache.js:51–53  ·  view source on GitHub ↗
(re, string)

Source from the content-addressed store, hash-verified

49 // See https://github.com/janl/mustache.js/issues/189
50 var regExpTest = RegExp.prototype.test;
51 function testRegExp (re, string) {
52 return regExpTest.call(re, string);
53 }
54
55 var nonSpaceRe = /\S/;
56 function isWhitespace (string) {

Callers 1

isWhitespaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected