diff options
Diffstat (limited to 'js/yui3/escape/escape-min.js')
-rw-r--r-- | js/yui3/escape/escape-min.js | 8 |
1 files changed, 8 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..c68d9f81c --- /dev/null +++ b/js/yui3/escape/escape-min.js @@ -0,0 +1,8 @@ +/* +YUI 3.17.2 (build 9c3c78e) +Copyright 2014 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.17.2",{requires:["yui-base"]}); |