summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 16:08:52 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 16:08:52 +0000
commit0a1009e5f4c400d3be8443eb4c243f0a5e8d9643 (patch)
tree3fdd0eabaa4e331afd9150d45b49857990a1d87a
parentdd3856d6ec9bdea2ef1e3477e3a7e23a4af89eb1 (diff)
downloadbrdo-0a1009e5f4c400d3be8443eb4c243f0a5e8d9643.tar.gz
brdo-0a1009e5f4c400d3be8443eb4c243f0a5e8d9643.tar.bz2
#673450 by casey and Jody Lynn: Cleanup JavaScript file syntax.
-rw-r--r--misc/ajax.js2
-rw-r--r--misc/authorize.js2
-rw-r--r--modules/system/system.js2
-rw-r--r--modules/toolbar/toolbar.js18
4 files changed, 12 insertions, 12 deletions
diff --git a/misc/ajax.js b/misc/ajax.js
index b1688e0d4..d61af3ec8 100644
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -286,7 +286,7 @@ Drupal.ajax.prototype.getEffect = function (response) {
}
return effect;
-}
+};
/**
* Handler for the form redirection error.
diff --git a/misc/authorize.js b/misc/authorize.js
index 28788f3de..3445d599a 100644
--- a/misc/authorize.js
+++ b/misc/authorize.js
@@ -24,6 +24,6 @@ Drupal.behaviors.authorizeFileTransferForm = {
$('#edit-submit-connection').hide();
$('#edit-submit-process').show();
}
-}
+};
})(jQuery);
diff --git a/modules/system/system.js b/modules/system/system.js
index 0b474deb9..ba52db018 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -17,7 +17,7 @@ Drupal.hideEmailAdministratorCheckbox = function () {
// Toggle the display as necessary when the checkbox is clicked.
$('#edit-update-status-module-1').change( function () {
$('.form-item-update-status-module-2').toggle();
- })
+ });
};
/**
diff --git a/modules/toolbar/toolbar.js b/modules/toolbar/toolbar.js
index 18b366102..be69b4a71 100644
--- a/modules/toolbar/toolbar.js
+++ b/modules/toolbar/toolbar.js
@@ -48,7 +48,7 @@ Drupal.admin.toolbar.init = function() {
else {
Drupal.admin.toolbar.expand();
}
-}
+};
/**
* Collapse the admin toolbar.
@@ -62,15 +62,15 @@ Drupal.admin.toolbar.collapse = function() {
.html(toggle_text);
$('body').removeClass('toolbar-drawer');
$.cookie(
- 'Drupal.admin.toolbar.collapsed',
- 1,
+ 'Drupal.admin.toolbar.collapsed',
+ 1,
{
path: Drupal.settings.basePath,
// The cookie should "never" expire.
expires: 36500
}
);
-}
+};
/**
* Expand the admin toolbar.
@@ -84,15 +84,15 @@ Drupal.admin.toolbar.expand = function() {
.html(toggle_text);
$('body').addClass('toolbar-drawer');
$.cookie(
- 'Drupal.admin.toolbar.collapsed',
- 0,
+ 'Drupal.admin.toolbar.collapsed',
+ 0,
{
path: Drupal.settings.basePath,
// The cookie should "never" expire.
expires: 36500
}
);
-}
+};
/**
* Toggle the admin toolbar.
@@ -104,10 +104,10 @@ Drupal.admin.toolbar.toggle = function() {
else {
Drupal.admin.toolbar.collapse();
}
-}
+};
Drupal.admin.toolbar.height = function() {
return $("#toolbar").height();
-}
+};
})(jQuery);