Remove unnecessary local variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@24359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2dcee73454
commit
08a484147f
@ -1,7 +1,6 @@
|
||||
window.wp = window.wp || {};
|
||||
|
||||
(function ($) {
|
||||
var template;
|
||||
/**
|
||||
* wp.template( id )
|
||||
*
|
||||
@ -11,7 +10,7 @@ window.wp = window.wp || {};
|
||||
* For example, "attachment" maps to "tmpl-attachment".
|
||||
* @return {function} A function that lazily-compiles the template requested.
|
||||
*/
|
||||
template = wp.template = _.memoize(function ( id ) {
|
||||
wp.template = _.memoize(function ( id ) {
|
||||
var compiled,
|
||||
options = {
|
||||
evaluate: /<#([\s\S]+?)#>/g,
|
||||
|
Loading…
Reference in New Issue
Block a user