Lines Matching defs:replace

26         /**Build will replace this comment with a scoped djConfig **/
1598 uri += (uri.indexOf("?") == -1 ? "?" : "&") + String(d.config.cacheBust).replace(/\W+/g,"");
2141 function(str){ return str.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); };
2144 dojo.replace = function(tmpl, map, pattern){
2154 // string (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace
2165 // | dojo.replace("Hello, {name.first} {name.last} AKA {nick}!",
2177 // | dojo.replace("Hello, {0} {2}!",
2187 // | dojo.replace(
2205 // | dojo.replace("Hello, ${0} ${2}!",
2213 dojo.replace = function(tmpl, map, pattern){
2214 return tmpl.replace(pattern || _pattern, d.isFunction(map) ?
4189 return ('"' + str.replace(/(["\\])/g, '\\$1') + '"').
4190 replace(/[\f]/g, "\\f").replace(/[\b]/g, "\\b").replace(/[\n]/g, "\\n").
4191 replace(/[\t]/g, "\\t").replace(/[\r]/g, "\\r"); // string
5045 // DO NOT replace the following to use dojo.body(), in IE, document.documentElement should be used
5504 // | * replace
5508 // "first" and "last" indicate positions as children of refNode, "replace" replaces refNode,
5551 case "replace":
6752 // though can be set to "first","after","before","last", "replace" or "only"
7041 cls = cls.replace(" " + classStr[i] + " ", " ");
7846 // | "replace"
7879 // | "replace"
7981 // | "replace" (replaces nodes in this NodeList with new content)
8286 currentPart.id = ts(inId, x).replace(/\\/g, "");
8296 currentPart.classes.push(ts(inClass+1, x).replace(/\\/g, ""));
9237 query = query.replace(infixSpaceRe, infixSpaceFunc);
9557 // | // replace the form with the response
9638 str = str.replace(/^\s+/, '');