From c99b10368fc522380ef5e88427a22f1a167ae5f2 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Mon, 15 Oct 2018 22:06:55 +0800 Subject: [PATCH] MDL-63337 block_myoverview: Fix illegal whitespaces --- blocks/myoverview/amd/src/main.js | 3 ++- blocks/myoverview/amd/src/view.js | 6 +++--- blocks/myoverview/amd/src/view_nav.js | 4 ++-- blocks/myoverview/templates/no-courses.mustache | 2 +- blocks/myoverview/templates/placeholder-course.mustache | 2 +- blocks/myoverview/templates/progress-bar.mustache | 6 +++--- blocks/myoverview/templates/view-list.mustache | 4 ++-- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/blocks/myoverview/amd/src/main.js b/blocks/myoverview/amd/src/main.js index 22dfdcf8a35..e59e62e3329 100644 --- a/blocks/myoverview/amd/src/main.js +++ b/blocks/myoverview/amd/src/main.js @@ -37,9 +37,10 @@ function( COURSES_VIEW: '[data-region="courses-view"]', COURSES_VIEW_CONTENT: '[data-region="course-view-content"]' }; + /** * Initialise all of the modules for the overview block. - * + * * @param {object} root The root element for the overview block. */ var init = function(root) { diff --git a/blocks/myoverview/amd/src/view.js b/blocks/myoverview/amd/src/view.js index b6b6c626dff..5f3f15ac975 100644 --- a/blocks/myoverview/amd/src/view.js +++ b/blocks/myoverview/amd/src/view.js @@ -119,7 +119,7 @@ function( /** * Intialise the courses list and cards views on page load. - * + * * @param {object} root The root element for the courses view. * @param {object} content The content element for the courses view. */ @@ -166,10 +166,10 @@ function( /** * Reset the courses views to their original * state on first page load. - * + * * This is called when configuration has changed for the event lists * to cause them to reload their data. - * + * * @param {object} root The root element for the timeline view. * @param {object} content The content element for the timeline view. */ diff --git a/blocks/myoverview/amd/src/view_nav.js b/blocks/myoverview/amd/src/view_nav.js index 131c3865f5a..42f5e33bd49 100644 --- a/blocks/myoverview/amd/src/view_nav.js +++ b/blocks/myoverview/amd/src/view_nav.js @@ -41,7 +41,7 @@ function( /** * Event listener for the Display filter (cards, list). - * + * * @param {object} root The root element for the overview block * @param {object} viewRoot The root element for displaying courses. * @param {object} viewContent content The content element for the courses view. @@ -93,7 +93,7 @@ function( /** * Initialise the timeline view navigation by adding event listeners to * the navigation elements. - * + * * @param {object} root The root element for the myoverview block * @param {object} viewRoot The root element for the myoverview block * @param {object} viewContent The content element for the myoverview block diff --git a/blocks/myoverview/templates/no-courses.mustache b/blocks/myoverview/templates/no-courses.mustache index 46fab9f1ffe..2da14419e0f 100644 --- a/blocks/myoverview/templates/no-courses.mustache +++ b/blocks/myoverview/templates/no-courses.mustache @@ -30,4 +30,4 @@ alt="{{#str}} nocourses, block_myoverview {{/str}}" role="presentation">

{{#str}} nocourses, block_myoverview {{/str}}

- \ No newline at end of file + diff --git a/blocks/myoverview/templates/placeholder-course.mustache b/blocks/myoverview/templates/placeholder-course.mustache index 9b4aad34f80..86b681e3369 100644 --- a/blocks/myoverview/templates/placeholder-course.mustache +++ b/blocks/myoverview/templates/placeholder-course.mustache @@ -30,4 +30,4 @@
- \ No newline at end of file + diff --git a/blocks/myoverview/templates/progress-bar.mustache b/blocks/myoverview/templates/progress-bar.mustache index c95f8c9f1a5..971e75ba5b6 100644 --- a/blocks/myoverview/templates/progress-bar.mustache +++ b/blocks/myoverview/templates/progress-bar.mustache @@ -26,9 +26,9 @@ }}
-
+
{{#str}}aria:courseprogress, block_myoverview{{/str}} - {{progress}}% {{#str}}complete, block_myoverview{{/str}} -
\ No newline at end of file + {{progress}}% {{#str}}complete, block_myoverview{{/str}} + diff --git a/blocks/myoverview/templates/view-list.mustache b/blocks/myoverview/templates/view-list.mustache index 799c5246c8e..18e45ad2991 100644 --- a/blocks/myoverview/templates/view-list.mustache +++ b/blocks/myoverview/templates/view-list.mustache @@ -32,7 +32,7 @@ } ] } -}} +}} \ No newline at end of file + -- 2.36.1