summaryrefslogtreecommitdiffstats
path: root/js/yui3/text-accentfold/text-accentfold-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/yui3/text-accentfold/text-accentfold-min.js')
-rw-r--r--js/yui3/text-accentfold/text-accentfold-min.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/yui3/text-accentfold/text-accentfold-min.js b/js/yui3/text-accentfold/text-accentfold-min.js
new file mode 100644
index 000000000..be4d670f4
--- /dev/null
+++ b/js/yui3/text-accentfold/text-accentfold-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("text-accentfold",function(e,t){var n=e.Array,r=e.Text,i=r.Data.AccentFold,s={canFold:function(e){var t;for(t in i)if(i.hasOwnProperty(t)&&e.search(i[t])!==-1)return!0;return!1},compare:function(e,t,n){var r=s.fold(e),i=s.fold(t);return n?!!n(r,i):r===i},filter:function(e,t){return n.filter(e,function(e){return t(s.fold(e))})},fold:function(t){return e.Lang.isArray(t)?n.map(t,s.fold):(t=t.toLowerCase(),e.Object.each(i,function(e,n){t=t.replace(e,n)}),t)}};r.AccentFold=s},"3.17.2",{requires:["array-extras","text-data-accentfold"]});