summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic/static/websupport.js
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-29 07:04:13 +0200
committerGeorg Brandl <georg@python.org>2010-10-29 07:04:13 +0200
commit51edd7e8109781e33bb2c27e1b6ee8ab74b8b62a (patch)
tree587ac5e6cd306e6291a36415e69978a2885e54f9 /sphinx/themes/basic/static/websupport.js
parent99a74ad502ea8be719089230b0223f331236542b (diff)
downloadsphinx-git-51edd7e8109781e33bb2c27e1b6ee8ab74b8b62a.tar.gz
Nits.
Diffstat (limited to 'sphinx/themes/basic/static/websupport.js')
-rw-r--r--sphinx/themes/basic/static/websupport.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/themes/basic/static/websupport.js b/sphinx/themes/basic/static/websupport.js
index ac247c5b8..51a5a7d7c 100644
--- a/sphinx/themes/basic/static/websupport.js
+++ b/sphinx/themes/basic/static/websupport.js
@@ -10,8 +10,8 @@
*/
(function($) {
- $.fn.autogrow = function(){
- return this.each(function(){
+ $.fn.autogrow = function() {
+ return this.each(function() {
var textarea = this;
$.fn.autogrow.resize(textarea);
@@ -582,7 +582,7 @@
return escape ? esc.text(cur || "").html() : cur;
}
- return template.replace(/<([%#])([\w\.]*)\1>/g, function(){
+ return template.replace(/<([%#])([\w\.]*)\1>/g, function() {
return handle(arguments[2], arguments[1] == '%' ? true : false);
});
}