summaryrefslogtreecommitdiffstats
path: root/js/yui3/datasource-function/datasource-function-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/yui3/datasource-function/datasource-function-min.js')
-rw-r--r--js/yui3/datasource-function/datasource-function-min.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/yui3/datasource-function/datasource-function-min.js b/js/yui3/datasource-function/datasource-function-min.js
new file mode 100644
index 000000000..cc0f218e9
--- /dev/null
+++ b/js/yui3/datasource-function/datasource-function-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("datasource-function",function(e,t){var n=e.Lang,r=function(){r.superclass.constructor.apply(this,arguments)};e.mix(r,{NAME:"dataSourceFunction",ATTRS:{source:{validator:n.isFunction}}}),e.extend(r,e.DataSource.Local,{_defRequestFn:function(e){var t=this.get("source"),n=e.details[0];if(t)try{n.data=t(e.request,this,e)}catch(r){n.error=r}else n.error=new Error("Function data failure");return this.fire("data",n),e.tId}}),e.DataSource.Function=r},"3.7.3",{requires:["datasource-local"]});