WordPress/wp-includes/js/template.min.js

1 line
293 B
JavaScript

window.wp=window.wp||{};(function(b){var a;a=wp.template=_.memoize(function(e){var d,c={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(f){d=d||_.template(b("#tmpl-"+e).html(),null,c);return d(f)}})}(jQuery));