MDL-55421 js: add some global ignores to js files
This is to prevent linting to be extremely noisy about rollup related problems. Should not affect built files.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-course-dragdrop', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Drag and Drop for course sections and course modules.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-course-dragdrop', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Drag and Drop for course sections and course modules.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-course-management', function (Y, NAME) {
|
||||
|
||||
/* global DragDrop, Category, Course */
|
||||
|
||||
/**
|
||||
* Provides drop down menus for list of action links.
|
||||
*
|
||||
@@ -588,6 +590,8 @@ M.course.management.console = null;
|
||||
M.course.management.init = function(config) {
|
||||
M.course.management.console = new Console(config);
|
||||
};
|
||||
/* global Console */
|
||||
|
||||
/**
|
||||
* Drag and Drop handler
|
||||
*
|
||||
@@ -1173,6 +1177,8 @@ Item.prototype = {
|
||||
}
|
||||
};
|
||||
Y.extend(Item, Y.Base, Item.prototype);
|
||||
/* global Item */
|
||||
|
||||
/**
|
||||
* A managed category.
|
||||
*
|
||||
@@ -1616,6 +1622,8 @@ Category.prototype = {
|
||||
}
|
||||
};
|
||||
Y.extend(Category, Item, Category.prototype);
|
||||
/* global Item */
|
||||
|
||||
/**
|
||||
* A managed course.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-course-management', function (Y, NAME) {
|
||||
|
||||
/* global DragDrop, Category, Course */
|
||||
|
||||
/**
|
||||
* Provides drop down menus for list of action links.
|
||||
*
|
||||
@@ -581,6 +583,8 @@ M.course.management.console = null;
|
||||
M.course.management.init = function(config) {
|
||||
M.course.management.console = new Console(config);
|
||||
};
|
||||
/* global Console */
|
||||
|
||||
/**
|
||||
* Drag and Drop handler
|
||||
*
|
||||
@@ -1147,6 +1151,8 @@ Item.prototype = {
|
||||
}
|
||||
};
|
||||
Y.extend(Item, Y.Base, Item.prototype);
|
||||
/* global Item */
|
||||
|
||||
/**
|
||||
* A managed category.
|
||||
*
|
||||
@@ -1575,6 +1581,8 @@ Category.prototype = {
|
||||
}
|
||||
};
|
||||
Y.extend(Category, Item, Category.prototype);
|
||||
/* global Item */
|
||||
|
||||
/**
|
||||
* A managed course.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-course-toolboxes', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -198,6 +199,7 @@ Y.extend(TOOLBOX, Y.Base, {
|
||||
}
|
||||
}
|
||||
);
|
||||
/* global TOOLBOX, BODY, SELECTOR, INDENTLIMITS */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
@@ -749,6 +751,8 @@ M.course.init_resource_toolbox = function(config) {
|
||||
M.course.resource_toolbox = new RESOURCETOOLBOX(config);
|
||||
return M.course.resource_toolbox;
|
||||
};
|
||||
/* global SELECTOR, TOOLBOX */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-course-toolboxes', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -198,6 +199,7 @@ Y.extend(TOOLBOX, Y.Base, {
|
||||
}
|
||||
}
|
||||
);
|
||||
/* global TOOLBOX, BODY, SELECTOR, INDENTLIMITS */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
@@ -749,6 +751,8 @@ M.course.init_resource_toolbox = function(config) {
|
||||
M.course.resource_toolbox = new RESOURCETOOLBOX(config);
|
||||
return M.course.resource_toolbox;
|
||||
};
|
||||
/* global SELECTOR, TOOLBOX */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Drag and Drop for course sections and course modules.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global Item */
|
||||
|
||||
/**
|
||||
* A managed category.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global DragDrop, Category, Course */
|
||||
|
||||
/**
|
||||
* Provides drop down menus for list of action links.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global Item */
|
||||
|
||||
/**
|
||||
* A managed course.
|
||||
*
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global Console */
|
||||
|
||||
/**
|
||||
* Drag and Drop handler
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global TOOLBOX, BODY, SELECTOR, INDENTLIMITS */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global SELECTOR, TOOLBOX */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
|
||||
+1
-1
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -196,4 +197,3 @@ Y.extend(TOOLBOX, Y.Base, {
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
+2
@@ -14,6 +14,7 @@ YUI.add('moodle-gradereport_grader-gradereporttable', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* Grader Report Functionality.
|
||||
@@ -155,6 +156,7 @@ Y.namespace('M.gradereport_grader').init = function(config) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTORS */
|
||||
|
||||
/**
|
||||
* @module moodle-gradereport_grader-gradereporttable
|
||||
|
||||
+2
@@ -14,6 +14,7 @@ YUI.add('moodle-gradereport_grader-gradereporttable', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* Grader Report Functionality.
|
||||
@@ -155,6 +156,7 @@ Y.namespace('M.gradereport_grader').init = function(config) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTORS */
|
||||
|
||||
/**
|
||||
* @module moodle-gradereport_grader-gradereporttable
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTORS */
|
||||
|
||||
/**
|
||||
* @module moodle-gradereport_grader-gradereporttable
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* Grader Report Functionality.
|
||||
|
||||
+7
@@ -14,6 +14,7 @@ YUI.add('moodle-editor_atto-editor', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* The Atto WYSIWG pluggable editor, written for Moodle.
|
||||
@@ -735,6 +736,8 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorTextArea]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global NOTIFY_WARNING, NOTIFY_INFO */
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* A autosave function for the Atto editor.
|
||||
@@ -1255,6 +1258,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorAutosaveIo]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global LOGNAME */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
@@ -1902,6 +1906,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorToolbar]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global LOGNAME */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
@@ -2110,6 +2115,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorToolbarNav]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global rangy */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
@@ -2530,6 +2536,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorSelection]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global rangy */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
|
||||
+7
@@ -14,6 +14,7 @@ YUI.add('moodle-editor_atto-editor', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* The Atto WYSIWG pluggable editor, written for Moodle.
|
||||
@@ -730,6 +731,8 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorTextArea]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global NOTIFY_WARNING, NOTIFY_INFO */
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* A autosave function for the Atto editor.
|
||||
@@ -1244,6 +1247,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorAutosaveIo]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global LOGNAME */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
@@ -1890,6 +1894,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorToolbar]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global LOGNAME */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
@@ -2096,6 +2101,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorToolbarNav]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global rangy */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
@@ -2516,6 +2522,7 @@ Y.Base.mix(Y.M.editor_atto.Editor, [EditorSelection]);
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global rangy */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
|
||||
+1
@@ -162,6 +162,7 @@ Y.namespace('M.editor_atto').EditorPlugin = EditorPlugin;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global YUI */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-plugin
|
||||
|
||||
+1
@@ -162,6 +162,7 @@ Y.namespace('M.editor_atto').EditorPlugin = EditorPlugin;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global YUI */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-plugin
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global NOTIFY_WARNING, NOTIFY_INFO */
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* A autosave function for the Atto editor.
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global LOGNAME */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global YUI */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-plugin
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* The Atto WYSIWG pluggable editor, written for Moodle.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global rangy */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global rangy */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global LOGNAME */
|
||||
|
||||
/**
|
||||
* @module moodle-editor_atto-editor
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-form-dateselector', function (Y, NAME) {
|
||||
|
||||
/* global CALENDAR, MOODLECALENDAR */
|
||||
|
||||
/**
|
||||
* Add some custom methods to the node class to make our lives a little
|
||||
* easier within this module.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-form-dateselector', function (Y, NAME) {
|
||||
|
||||
/* global CALENDAR, MOODLECALENDAR */
|
||||
|
||||
/**
|
||||
* Add some custom methods to the node class to make our lives a little
|
||||
* easier within this module.
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* global CALENDAR, MOODLECALENDAR */
|
||||
|
||||
/**
|
||||
* Add some custom methods to the node class to make our lives a little
|
||||
* easier within this module.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-core-blocks', function (Y, NAME) {
|
||||
|
||||
/* global MANAGER */
|
||||
|
||||
/**
|
||||
* Provides drag and drop functionality for blocks.
|
||||
*
|
||||
@@ -386,6 +388,8 @@ M.core_blocks = M.core_blocks || {};
|
||||
M.core_blocks.init_dragdrop = function(params) {
|
||||
M.core.blockdraganddrop.init(params);
|
||||
};
|
||||
/* global BLOCKREGION, SELECTOR, AJAXURL */
|
||||
|
||||
/**
|
||||
* This file contains the drag and drop manager class.
|
||||
*
|
||||
@@ -789,6 +793,8 @@ Y.extend(MANAGER, M.core.dragdrop, MANAGER.prototype, {
|
||||
}
|
||||
}
|
||||
});
|
||||
/* global MANAGER */
|
||||
|
||||
/**
|
||||
* This file contains the Block Region class used by the drag and drop manager.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-core-blocks', function (Y, NAME) {
|
||||
|
||||
/* global MANAGER */
|
||||
|
||||
/**
|
||||
* Provides drag and drop functionality for blocks.
|
||||
*
|
||||
@@ -383,6 +385,8 @@ M.core_blocks = M.core_blocks || {};
|
||||
M.core_blocks.init_dragdrop = function(params) {
|
||||
M.core.blockdraganddrop.init(params);
|
||||
};
|
||||
/* global BLOCKREGION, SELECTOR, AJAXURL */
|
||||
|
||||
/**
|
||||
* This file contains the drag and drop manager class.
|
||||
*
|
||||
@@ -784,6 +788,8 @@ Y.extend(MANAGER, M.core.dragdrop, MANAGER.prototype, {
|
||||
}
|
||||
}
|
||||
});
|
||||
/* global MANAGER */
|
||||
|
||||
/**
|
||||
* This file contains the Block Region class used by the drag and drop manager.
|
||||
*
|
||||
|
||||
@@ -8,7 +8,6 @@ YUI.add('moodle-core-dock', function (Y, NAME) {
|
||||
* @module moodle-core-dock
|
||||
*/
|
||||
|
||||
|
||||
var LOGNS = 'moodle-core-dock',
|
||||
BODY = Y.one(Y.config.doc.body),
|
||||
CSS = {
|
||||
@@ -34,7 +33,7 @@ var LOGNS = 'moodle-core-dock',
|
||||
DOCKPANEL,
|
||||
TABHEIGHTMANAGER,
|
||||
BLOCK,
|
||||
DOCKEDITEM;
|
||||
DOCKEDITEM; // eslint-disable-line no-unused-vars
|
||||
|
||||
M.core = M.core || {};
|
||||
M.core.dock = M.core.dock || {};
|
||||
@@ -1159,6 +1158,8 @@ Y.extend(DOCK, Y.Base, DOCK.prototype, {
|
||||
}
|
||||
});
|
||||
Y.augment(DOCK, Y.EventTarget);
|
||||
/* global DOCKPANEL, LOGNS */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
@@ -1395,6 +1396,8 @@ Y.extend(DOCKPANEL, Y.Base, DOCKPANEL.prototype, {
|
||||
}
|
||||
});
|
||||
Y.augment(DOCKPANEL, Y.EventTarget);
|
||||
/* global TABHEIGHTMANAGER, LOGNS */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
@@ -1635,6 +1638,8 @@ Y.Event.define("dock:actionkey", {
|
||||
sub._delegateDetacher.detach();
|
||||
}
|
||||
});
|
||||
/* global BLOCK, LOGNS, DOCKEDITEM */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
@@ -1879,6 +1884,8 @@ Y.extend(BLOCK, Y.Base, BLOCK.prototype, {
|
||||
}
|
||||
}
|
||||
});
|
||||
/* global LOGNS, DOCKEDITEM */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
|
||||
+9
-2
@@ -8,7 +8,6 @@ YUI.add('moodle-core-dock', function (Y, NAME) {
|
||||
* @module moodle-core-dock
|
||||
*/
|
||||
|
||||
|
||||
var LOGNS = 'moodle-core-dock',
|
||||
BODY = Y.one(Y.config.doc.body),
|
||||
CSS = {
|
||||
@@ -34,7 +33,7 @@ var LOGNS = 'moodle-core-dock',
|
||||
DOCKPANEL,
|
||||
TABHEIGHTMANAGER,
|
||||
BLOCK,
|
||||
DOCKEDITEM;
|
||||
DOCKEDITEM; // eslint-disable-line no-unused-vars
|
||||
|
||||
M.core = M.core || {};
|
||||
M.core.dock = M.core.dock || {};
|
||||
@@ -1146,6 +1145,8 @@ Y.extend(DOCK, Y.Base, DOCK.prototype, {
|
||||
}
|
||||
});
|
||||
Y.augment(DOCK, Y.EventTarget);
|
||||
/* global DOCKPANEL, LOGNS */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
@@ -1381,6 +1382,8 @@ Y.extend(DOCKPANEL, Y.Base, DOCKPANEL.prototype, {
|
||||
}
|
||||
});
|
||||
Y.augment(DOCKPANEL, Y.EventTarget);
|
||||
/* global TABHEIGHTMANAGER, LOGNS */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
@@ -1620,6 +1623,8 @@ Y.Event.define("dock:actionkey", {
|
||||
sub._delegateDetacher.detach();
|
||||
}
|
||||
});
|
||||
/* global BLOCK, LOGNS, DOCKEDITEM */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
@@ -1861,6 +1866,8 @@ Y.extend(BLOCK, Y.Base, BLOCK.prototype, {
|
||||
}
|
||||
}
|
||||
});
|
||||
/* global LOGNS, DOCKEDITEM */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-core-languninstallconfirm', function (Y, NAME) {
|
||||
|
||||
/* global NAME */
|
||||
|
||||
/**
|
||||
* Home for a Confirmation class.
|
||||
*
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-core-languninstallconfirm', function (Y, NAME) {
|
||||
|
||||
/* global NAME */
|
||||
|
||||
/**
|
||||
* Home for a Confirmation class.
|
||||
*
|
||||
|
||||
lib/yui/build/moodle-core-notification-ajaxexception/moodle-core-notification-ajaxexception-debug.js
Vendored
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-ajaxexception', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global BASE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an appropriate error when an error
|
||||
* thrown in the Moodle codebase was reported during an AJAX request.
|
||||
|
||||
Vendored
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-ajaxexception', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global BASE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an appropriate error when an error
|
||||
* thrown in the Moodle codebase was reported during an AJAX request.
|
||||
|
||||
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-alert', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global BASE, TITLE, CONFIRMYES, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an alert to the user.
|
||||
*
|
||||
|
||||
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-alert', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global BASE, TITLE, CONFIRMYES, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an alert to the user.
|
||||
*
|
||||
|
||||
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-confirm', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global CONFIRMYES, CONFIRMNO, QUESTION, BASE, TITLE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display a confirmation to the user.
|
||||
*
|
||||
|
||||
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-confirm', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global CONFIRMYES, CONFIRMNO, QUESTION, BASE, TITLE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display a confirmation to the user.
|
||||
*
|
||||
|
||||
+5
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-dialogue', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global DIALOGUE_PREFIX, BASE */
|
||||
|
||||
/**
|
||||
* The generic dialogue class for use in Moodle.
|
||||
*
|
||||
@@ -744,6 +747,8 @@ Y.Base.modifyAttrs(DIALOGUE, {
|
||||
Y.Base.mix(DIALOGUE, [Y.M.core.WidgetFocusAfterHide]);
|
||||
|
||||
M.core.dialogue = DIALOGUE;
|
||||
/* global DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display informative messages to users.
|
||||
*
|
||||
|
||||
+5
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-dialogue', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global DIALOGUE_PREFIX, BASE */
|
||||
|
||||
/**
|
||||
* The generic dialogue class for use in Moodle.
|
||||
*
|
||||
@@ -741,6 +744,8 @@ Y.Base.modifyAttrs(DIALOGUE, {
|
||||
Y.Base.mix(DIALOGUE, [Y.M.core.WidgetFocusAfterHide]);
|
||||
|
||||
M.core.dialogue = DIALOGUE;
|
||||
/* global DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display informative messages to users.
|
||||
*
|
||||
|
||||
Vendored
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-exception', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global BASE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an appropriate error when a generic
|
||||
* javascript error was thrown and caught.
|
||||
|
||||
+3
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-core-notification-exception', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
@@ -27,6 +28,8 @@ CSS = {
|
||||
|
||||
// Set up the namespace once.
|
||||
M.core = M.core || {};
|
||||
/* global BASE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an appropriate error when a generic
|
||||
* javascript error was thrown and caught.
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global MANAGER */
|
||||
|
||||
/**
|
||||
* This file contains the Block Region class used by the drag and drop manager.
|
||||
*
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global MANAGER */
|
||||
|
||||
/**
|
||||
* Provides drag and drop functionality for blocks.
|
||||
*
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global BLOCKREGION, SELECTOR, AJAXURL */
|
||||
|
||||
/**
|
||||
* This file contains the drag and drop manager class.
|
||||
*
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global BLOCK, LOGNS, DOCKEDITEM */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
|
||||
Vendored
+1
-2
@@ -6,7 +6,6 @@
|
||||
* @module moodle-core-dock
|
||||
*/
|
||||
|
||||
|
||||
var LOGNS = 'moodle-core-dock',
|
||||
BODY = Y.one(Y.config.doc.body),
|
||||
CSS = {
|
||||
@@ -32,7 +31,7 @@ var LOGNS = 'moodle-core-dock',
|
||||
DOCKPANEL,
|
||||
TABHEIGHTMANAGER,
|
||||
BLOCK,
|
||||
DOCKEDITEM;
|
||||
DOCKEDITEM; // eslint-disable-line no-unused-vars
|
||||
|
||||
M.core = M.core || {};
|
||||
M.core.dock = M.core.dock || {};
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global LOGNS, DOCKEDITEM */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global DOCKPANEL, LOGNS */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global TABHEIGHTMANAGER, LOGNS */
|
||||
|
||||
/**
|
||||
* Dock JS.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* global NAME */
|
||||
|
||||
/**
|
||||
* Home for a Confirmation class.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* global BASE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an appropriate error when an error
|
||||
* thrown in the Moodle codebase was reported during an AJAX request.
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global BASE, TITLE, CONFIRMYES, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an alert to the user.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global CONFIRMYES, CONFIRMNO, QUESTION, BASE, TITLE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display a confirmation to the user.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global DIALOGUE_PREFIX, BASE */
|
||||
|
||||
/**
|
||||
* The generic dialogue class for use in Moodle.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global BASE, DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display an appropriate error when a generic
|
||||
* javascript error was thrown and caught.
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global DIALOGUE_PREFIX */
|
||||
|
||||
/**
|
||||
* A dialogue type designed to display informative messages to users.
|
||||
*
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unused-vars, no-unused-expressions */
|
||||
var DIALOGUE_PREFIX,
|
||||
BASE,
|
||||
CONFIRMYES,
|
||||
|
||||
+3
@@ -14,6 +14,7 @@ YUI.add('moodle-core_message-messenger', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* Messenger constants.
|
||||
@@ -54,6 +55,7 @@ var SELECTORS = {};
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTORS */
|
||||
|
||||
/**
|
||||
* Messenger manager.
|
||||
@@ -197,6 +199,7 @@ Y.namespace('M.core_message.messenger').init = function(config) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global CSSR, SELECTORS */
|
||||
|
||||
/**
|
||||
* Send message dialog.
|
||||
|
||||
+3
@@ -14,6 +14,7 @@ YUI.add('moodle-core_message-messenger', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* Messenger constants.
|
||||
@@ -54,6 +55,7 @@ var SELECTORS = {};
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTORS */
|
||||
|
||||
/**
|
||||
* Messenger manager.
|
||||
@@ -197,6 +199,7 @@ Y.namespace('M.core_message.messenger').init = function(config) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global CSSR, SELECTORS */
|
||||
|
||||
/**
|
||||
* Send message dialog.
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* Messenger constants.
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTORS */
|
||||
|
||||
/**
|
||||
* Messenger manager.
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global CSSR, SELECTORS */
|
||||
|
||||
/**
|
||||
* Send message dialog.
|
||||
|
||||
+15
@@ -14,6 +14,7 @@ YUI.add('moodle-assignfeedback_editpdf-editor', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* A list of globals used by this module.
|
||||
@@ -412,6 +413,7 @@ M.assignfeedback_editpdf.edit = EDIT;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -524,6 +526,7 @@ M.assignfeedback_editpdf.drawable = DRAWABLE;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, SELECTOR, SELECTEDBORDERCOLOUR, SELECTEDFILLCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -864,6 +867,7 @@ M.assignfeedback_editpdf.annotation = ANNOTATION;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -984,6 +988,7 @@ M.assignfeedback_editpdf.annotationline = ANNOTATIONLINE;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1098,6 +1103,7 @@ M.assignfeedback_editpdf.annotationrectangle = ANNOTATIONRECTANGLE;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1212,6 +1218,7 @@ M.assignfeedback_editpdf.annotationoval = ANNOTATIONOVAL;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1372,6 +1379,7 @@ M.assignfeedback_editpdf.annotationpen = ANNOTATIONPEN;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1525,6 +1533,7 @@ M.assignfeedback_editpdf.annotationhighlight = ANNOTATIONHIGHLIGHT;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -2175,6 +2184,8 @@ Y.extend(COMMENTMENU, M.assignfeedback_editpdf.dropdown, {
|
||||
|
||||
M.assignfeedback_editpdf = M.assignfeedback_editpdf || {};
|
||||
M.assignfeedback_editpdf.commentmenu = COMMENTMENU;
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* global SELECTOR */
|
||||
var COMMENTSEARCHNAME = "commentsearch",
|
||||
COMMENTSEARCH;
|
||||
|
||||
@@ -2365,6 +2376,7 @@ M.assignfeedback_editpdf.commentsearch = COMMENTSEARCH;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR, COMMENTCOLOUR, COMMENTTEXTCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -2879,6 +2891,7 @@ M.assignfeedback_editpdf.quickcomment = QUICKCOMMENT;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global AJAXBASE */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -3079,6 +3092,8 @@ M.assignfeedback_editpdf.quickcommentlist = QUICKCOMMENTLIST;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* global SELECTOR, TOOLSELECTOR, AJAXBASE, COMMENTCOLOUR, ANNOTATIONCOLOUR, AJAXBASEPROGRESS, CLICKTIMEOUT */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
+15
@@ -14,6 +14,7 @@ YUI.add('moodle-assignfeedback_editpdf-editor', function (Y, NAME) {
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* A list of globals used by this module.
|
||||
@@ -412,6 +413,7 @@ M.assignfeedback_editpdf.edit = EDIT;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -524,6 +526,7 @@ M.assignfeedback_editpdf.drawable = DRAWABLE;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, SELECTOR, SELECTEDBORDERCOLOUR, SELECTEDFILLCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -864,6 +867,7 @@ M.assignfeedback_editpdf.annotation = ANNOTATION;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -984,6 +988,7 @@ M.assignfeedback_editpdf.annotationline = ANNOTATIONLINE;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1098,6 +1103,7 @@ M.assignfeedback_editpdf.annotationrectangle = ANNOTATIONRECTANGLE;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1212,6 +1218,7 @@ M.assignfeedback_editpdf.annotationoval = ANNOTATIONOVAL;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1372,6 +1379,7 @@ M.assignfeedback_editpdf.annotationpen = ANNOTATIONPEN;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -1525,6 +1533,7 @@ M.assignfeedback_editpdf.annotationhighlight = ANNOTATIONHIGHLIGHT;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -2175,6 +2184,8 @@ Y.extend(COMMENTMENU, M.assignfeedback_editpdf.dropdown, {
|
||||
|
||||
M.assignfeedback_editpdf = M.assignfeedback_editpdf || {};
|
||||
M.assignfeedback_editpdf.commentmenu = COMMENTMENU;
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* global SELECTOR */
|
||||
var COMMENTSEARCHNAME = "commentsearch",
|
||||
COMMENTSEARCH;
|
||||
|
||||
@@ -2365,6 +2376,7 @@ M.assignfeedback_editpdf.commentsearch = COMMENTSEARCH;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR, COMMENTCOLOUR, COMMENTTEXTCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -2879,6 +2891,7 @@ M.assignfeedback_editpdf.quickcomment = QUICKCOMMENT;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global AJAXBASE */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
@@ -3079,6 +3092,8 @@ M.assignfeedback_editpdf.quickcommentlist = QUICKCOMMENTLIST;
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* global SELECTOR, TOOLSELECTOR, AJAXBASE, COMMENTCOLOUR, ANNOTATIONCOLOUR, AJAXBASEPROGRESS, CLICKTIMEOUT */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, SELECTOR, SELECTEDBORDERCOLOUR, SELECTEDFILLCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global STROKEWEIGHT, ANNOTATIONCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR, COMMENTCOLOUR, COMMENTTEXTCOLOUR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* global SELECTOR */
|
||||
var COMMENTSEARCHNAME = "commentsearch",
|
||||
COMMENTSEARCH;
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global SELECTOR */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* global SELECTOR, TOOLSELECTOR, AJAXBASE, COMMENTCOLOUR, ANNOTATIONCOLOUR, AJAXBASEPROGRESS, CLICKTIMEOUT */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
/**
|
||||
* A list of globals used by this module.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* global AJAXBASE */
|
||||
|
||||
/**
|
||||
* Provides an in browser PDF editor.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-mod_quiz-dragdrop', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Drag and Drop for Quiz sections and slots.
|
||||
*
|
||||
@@ -296,6 +297,7 @@ M.mod_quiz = M.mod_quiz || {};
|
||||
M.mod_quiz.init_section_dragdrop = function(params) {
|
||||
new DRAGSECTION(params);
|
||||
};
|
||||
/* global SELECTOR */
|
||||
/**
|
||||
* Resource drag and drop.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-mod_quiz-dragdrop', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Drag and Drop for Quiz sections and slots.
|
||||
*
|
||||
@@ -290,6 +291,7 @@ M.mod_quiz = M.mod_quiz || {};
|
||||
M.mod_quiz.init_section_dragdrop = function(params) {
|
||||
new DRAGSECTION(params);
|
||||
};
|
||||
/* global SELECTOR */
|
||||
/**
|
||||
* Resource drag and drop.
|
||||
*
|
||||
|
||||
+5
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-mod_quiz-toolboxes', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -220,6 +221,8 @@ Y.extend(TOOLBOX, Y.Base, {
|
||||
}
|
||||
}
|
||||
);
|
||||
/* global TOOLBOX, BODY, SELECTOR */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -679,6 +682,8 @@ M.mod_quiz.init_resource_toolbox = function(config) {
|
||||
M.mod_quiz.resource_toolbox = new RESOURCETOOLBOX(config);
|
||||
return M.mod_quiz.resource_toolbox;
|
||||
};
|
||||
/* global TOOLBOX, BODY, SELECTOR */
|
||||
|
||||
/**
|
||||
* Section toolbox class.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
YUI.add('moodle-mod_quiz-toolboxes', function (Y, NAME) {
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -220,6 +221,8 @@ Y.extend(TOOLBOX, Y.Base, {
|
||||
}
|
||||
}
|
||||
);
|
||||
/* global TOOLBOX, BODY, SELECTOR */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
@@ -679,6 +682,8 @@ M.mod_quiz.init_resource_toolbox = function(config) {
|
||||
M.mod_quiz.resource_toolbox = new RESOURCETOOLBOX(config);
|
||||
return M.mod_quiz.resource_toolbox;
|
||||
};
|
||||
/* global TOOLBOX, BODY, SELECTOR */
|
||||
|
||||
/**
|
||||
* Section toolbox class.
|
||||
*
|
||||
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-mod_quiz-util-page', function (Y, NAME) {
|
||||
|
||||
/* global YUI */
|
||||
|
||||
/**
|
||||
* A collection of utility classes for use with pages.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
YUI.add('moodle-mod_quiz-util-page', function (Y, NAME) {
|
||||
|
||||
/* global YUI */
|
||||
|
||||
/**
|
||||
* A collection of utility classes for use with pages.
|
||||
*
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Drag and Drop for Quiz sections and slots.
|
||||
*
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
/* global SELECTOR */
|
||||
/**
|
||||
* Resource drag and drop.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global TOOLBOX, BODY, SELECTOR */
|
||||
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
/* global TOOLBOX, BODY, SELECTOR */
|
||||
|
||||
/**
|
||||
* Section toolbox class.
|
||||
*
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/**
|
||||
* Resource and activity toolbox class.
|
||||
*
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
/* global YUI */
|
||||
|
||||
/**
|
||||
* A collection of utility classes for use with pages.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user