Browse Source

fix some eslint stuff.

MOODLE_32_STABLE
Dan Marsden 8 years ago
parent
commit
d4498ccebe
  1. 1
      calendar.js
  2. 6
      module.js
  3. 1
      yui/build/moodle-mod_attendance-groupfilter/moodle-mod_attendance-groupfilter-debug.js
  4. 1
      yui/build/moodle-mod_attendance-groupfilter/moodle-mod_attendance-groupfilter.js
  5. 1
      yui/src/groupfilter/js/groupfilter.js

1
calendar.js

@ -1,4 +1,5 @@
/* global YUI */
// eslint-disable-next-line new-cap
YUI().use('yui2-container', 'yui2-calendar', function(Y) {
var YAHOO = Y.YUI2;

6
module.js

@ -1,6 +1,6 @@
M.mod_attendance = {};
M.mod_attendance = {}; // eslint-disable-line camelcase
M.mod_attendance.init_manage = function(Y) {
M.mod_attendance.init_manage = function(Y) { // eslint-disable-line camelcase
Y.on('click', function(e) {
if (e.target.get('checked')) {
@ -15,7 +15,7 @@ M.mod_attendance.init_manage = function(Y) {
}, '#cb_selector');
};
M.mod_attendance.set_preferences_action = function(action) {
M.mod_attendance.set_preferences_action = function(action) { // eslint-disable-line camelcase
var item = document.getElementById('preferencesaction');
if (item) {
item.setAttribute('value', action);

1
yui/build/moodle-mod_attendance-groupfilter/moodle-mod_attendance-groupfilter-debug.js

@ -1,6 +1,7 @@
YUI.add('moodle-mod_attendance-groupfilter', function (Y, NAME) {
/* global M */
// eslint-disable-next-line camelcase
M.mod_attendance = M.mod_attendance || {};
M.mod_attendance.groupfilter = {
groupmappings: null,

1
yui/build/moodle-mod_attendance-groupfilter/moodle-mod_attendance-groupfilter.js

@ -1,6 +1,7 @@
YUI.add('moodle-mod_attendance-groupfilter', function (Y, NAME) {
/* global M */
// eslint-disable-next-line camelcase
M.mod_attendance = M.mod_attendance || {};
M.mod_attendance.groupfilter = {
groupmappings: null,

1
yui/src/groupfilter/js/groupfilter.js

@ -1,4 +1,5 @@
/* global M */
// eslint-disable-next-line camelcase
M.mod_attendance = M.mod_attendance || {};
M.mod_attendance.groupfilter = {
groupmappings: null,

Loading…
Cancel
Save