mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Remove unnecessary local variable.
git-svn-id: http://core.svn.wordpress.org/trunk@24359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2815460247
commit
c4e0a1fc06
@ -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…
x
Reference in New Issue
Block a user