diff options
Diffstat (limited to 'js/yui3/escape/escape-min.js')
-rw-r--r-- | js/yui3/escape/escape-min.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/yui3/escape/escape-min.js b/js/yui3/escape/escape-min.js new file mode 100644 index 000000000..8bab388b9 --- /dev/null +++ b/js/yui3/escape/escape-min.js @@ -0,0 +1,7 @@ +/* +YUI 3.7.3 (build 5687) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +YUI.add("escape",function(e,t){var n={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`"},r={html:function(e){return(e+"").replace(/[&<>"'\/`]/g,r._htmlReplacer)},regex:function(e){return(e+"").replace(/[\-$\^*()+\[\]{}|\\,.?\s]/g,"\\$&")},_htmlReplacer:function(e){return n[e]}};r.regexp=r.regex,e.Escape=r},"3.7.3",{requires:["yui-base"]}); |