MDL-55000 grade: Use correct component names + minor jsdocs
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 5 Jul 2016 17:59:24 +0000 (19:59 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 5 Jul 2016 17:59:24 +0000 (19:59 +0200)
Note the js_call_amd() call still is using incorrect 'grades'
as component name where it should be core_grades. That will be
fixed by MDL-55133.

grade/amd/src/edittree_index.js

index eade80d..9316f84 100644 (file)
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 
 /**
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 
 /**
- * Handle add/remove competency links.
+ * Enhance the gradebook tree setup with various facilities.
  *
  *
- * @module     grade
- * @package    edittree_index
+ * @module     core_grades/edittree_index
+ * @package    core_grades
  * @copyright  2016 Andrew Nicols <andrew@nicols.co.uk>
  * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
  * @copyright  2016 Andrew Nicols <andrew@nicols.co.uk>
  * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
@@ -121,7 +121,7 @@ define([
         return selected;
     };
 
         return selected;
     };
 
-    return /** @alias module:grade/edittree_index */ {
+    return /** @alias module:core_grades/edittree_index */ {
         enhance: edittree
     };
 });
         enhance: edittree
     };
 });