From 62a5952a72a84393008f3546a39235534b748b1d Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 4 Apr 2016 10:57:17 +0200 Subject: core: Fix typos (found by codespell) Signed-off-by: Stefan Weil --- core/js/jquery-showpassword.js | 2 +- core/js/jquery.avatar.js | 4 ++-- core/js/js.js | 4 ++-- core/js/sharedialogview.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'core/js') diff --git a/core/js/jquery-showpassword.js b/core/js/jquery-showpassword.js index a4373ec82bf..23ddf947719 100644 --- a/core/js/jquery-showpassword.js +++ b/core/js/jquery-showpassword.js @@ -1,6 +1,6 @@ /* * @name Show Password -* @descripton +* @description * @version 1.3 * @requires Jquery 1.5 * diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index d87c234e14e..6ae9cf78a13 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -21,7 +21,7 @@ * This will make the div to jdoe's fitting avatar, with a size of 128px. * * 2. $('.avatardiv').avatar('jdoe'); - * This will make the div to jdoe's fitting avatar. If the div aready has a + * This will make the div to jdoe's fitting avatar. If the div already has a * height, it will be used for the avatars size. Otherwise this plugin will * search for 'size' DOM data, to use for avatar size. If neither are available * it will default to 64px. @@ -117,7 +117,7 @@ var img = new Image(); - // If the new image loads successfull set it. + // If the new image loads successfully set it. img.onload = function() { $div.show(); $div.text(''); diff --git a/core/js/js.js b/core/js/js.js index b74775a935f..598e0dcd185 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -255,7 +255,7 @@ var OC={ * * Examples: * http://example.com => example.com - * https://example.com => exmaple.com + * https://example.com => example.com * http://example.com:8080 => example.com:8080 * * @return {string} host @@ -1510,7 +1510,7 @@ function initCore() { initSessionHeartBeat(); } - if(!OC.Util.hasSVGSupport()){ //replace all svg images with png images for browser that dont support svg + if(!OC.Util.hasSVGSupport()){ //replace all svg images with png images for browser that don't support svg OC.Util.replaceSVG(); }else{ SVGSupport.checkMimeType(); diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index e5ef5bb1d6f..56f53caddae 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -238,7 +238,7 @@ ).fail(function() { $loading.addClass('hidden'); $loading.removeClass('inlineblock'); - OC.Notification.show(t('core', 'An error occured. Please try again')); + OC.Notification.show(t('core', 'An error occurred. Please try again')); window.setTimeout(OC.Notification.hide, 5000); }); }, -- cgit v1.2.3