Remove unnecessary local variable.

git-svn-id: http://core.svn.wordpress.org/trunk@24359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2013-05-25 20:58:35 +00:00
parent 2815460247
commit c4e0a1fc06
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
window.wp = window.wp || {}; window.wp = window.wp || {};
(function ($) { (function ($) {
var template;
/** /**
* wp.template( id ) * wp.template( id )
* *
@ -11,7 +10,7 @@ window.wp = window.wp || {};
* For example, "attachment" maps to "tmpl-attachment". * For example, "attachment" maps to "tmpl-attachment".
* @return {function} A function that lazily-compiles the template requested. * @return {function} A function that lazily-compiles the template requested.
*/ */
template = wp.template = _.memoize(function ( id ) { wp.template = _.memoize(function ( id ) {
var compiled, var compiled,
options = { options = {
evaluate: /<#([\s\S]+?)#>/g, evaluate: /<#([\s\S]+?)#>/g,