summaryrefslogtreecommitdiffstats
path: root/js/yui3/template-base/template-base-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/yui3/template-base/template-base-min.js')
-rw-r--r--js/yui3/template-base/template-base-min.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/yui3/template-base/template-base-min.js b/js/yui3/template-base/template-base-min.js
new file mode 100644
index 000000000..5ba12d123
--- /dev/null
+++ b/js/yui3/template-base/template-base-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("template-base",function(e,t){function n(t,n){this.defaults=n,this.engine=t||e.Template.Micro,this.engine||e.error("No template engine loaded.")}n._registry={},n.register=function(e,t){return n._registry[e]=t,t},n.get=function(e){return n._registry[e]},n.render=function(t,r,i){var s=n._registry[t],o="";return s?o=s(r,i):e.error('Unregistered template: "'+t+'"'),o},n.prototype={compile:function(t,n){return n=n?e.merge(this.defaults,n):this.defaults,this.engine.compile(t,n)},precompile:function(t,n){return n=n?e.merge(this.defaults,n):this.defaults,this.engine.precompile(t,n)},render:function(t,n,r){return r=r?e.merge(this.defaults,r):this.defaults,this.engine.render?this.engine.render(t,n,r):this.engine.compile(t,r)(n,r)},revive:function(t,n){return n=n?e.merge(this.defaults,n):this.defaults,this.engine.revive?this.engine.revive(t,n):t}},e.Template=e.Template?e.mix(n,e.Template):n},"3.17.2",{requires:["yui-base"]});