summaryrefslogtreecommitdiffstats
path: root/js/yui3/escape/escape-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/yui3/escape/escape-min.js')
-rw-r--r--js/yui3/escape/escape-min.js7
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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#x60;"},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"]});