Permalink
Browse files

MDL-55244 js: build changes

There should be no changes to minified code
  • Loading branch information...
danpoltawski committed Jul 15, 2016
1 parent bc8b6dc commit 3a0bc0fdc408a13bd4666b6fa4b72df3fc07618f
Showing with 4,565 additions and 4,387 deletions.
  1. +10 −10 admin/tool/capability/yui/build/moodle-tool_capability-search/moodle-tool_capability-search-debug.js
  2. +10 −10 admin/tool/capability/yui/build/moodle-tool_capability-search/moodle-tool_capability-search.js
  3. +2 −2 admin/tool/lp/yui/build/moodle-tool_lp-dragdrop-reorder/moodle-tool_lp-dragdrop-reorder-debug.js
  4. +2 −2 admin/tool/lp/yui/build/moodle-tool_lp-dragdrop-reorder/moodle-tool_lp-dragdrop-reorder.js
  5. +6 −6 ...ity/condition/date/yui/build/moodle-availability_date-form/moodle-availability_date-form-debug.js
  6. +6 −6 availability/condition/date/yui/build/moodle-availability_date-form/moodle-availability_date-form.js
  7. +2 −2 .../condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-debug.js
  8. +2 −2 ...bility/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form.js
  9. +47 −39 availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-debug.js
  10. +47 −39 availability/yui/build/moodle-core_availability-form/moodle-core_availability-form.js
  11. +37 −14 backup/util/ui/yui/build/moodle-backup-backupselectall/moodle-backup-backupselectall-debug.js
  12. +37 −14 backup/util/ui/yui/build/moodle-backup-backupselectall/moodle-backup-backupselectall.js
  13. +1 −1 backup/util/ui/yui/build/moodle-backup-confirmcancel/moodle-backup-confirmcancel-debug.js
  14. +1 −1 backup/util/ui/yui/build/moodle-backup-confirmcancel/moodle-backup-confirmcancel.js
  15. +11 −11 course/yui/build/moodle-course-coursebase/moodle-course-coursebase-debug.js
  16. +11 −11 course/yui/build/moodle-course-coursebase/moodle-course-coursebase.js
  17. +7 −5 course/yui/build/moodle-course-dragdrop/moodle-course-dragdrop-debug.js
  18. +7 −5 course/yui/build/moodle-course-dragdrop/moodle-course-dragdrop.js
  19. +3 −3 course/yui/build/moodle-course-formatchooser/moodle-course-formatchooser-debug.js
  20. +3 −3 course/yui/build/moodle-course-formatchooser/moodle-course-formatchooser.js
  21. +179 −179 course/yui/build/moodle-course-management/moodle-course-management-debug.js
  22. +157 −157 course/yui/build/moodle-course-management/moodle-course-management.js
  23. +14 −14 course/yui/build/moodle-course-modchooser/moodle-course-modchooser-debug.js
  24. +14 −14 course/yui/build/moodle-course-modchooser/moodle-course-modchooser.js
  25. +54 −52 course/yui/build/moodle-course-toolboxes/moodle-course-toolboxes-debug.js
  26. +54 −52 course/yui/build/moodle-course-toolboxes/moodle-course-toolboxes.js
  27. +1 −1 course/yui/build/moodle-course-util-cm/moodle-course-util-cm-debug.js
  28. +1 −1 course/yui/build/moodle-course-util-cm/moodle-course-util-cm.js
  29. +1 −1 course/yui/build/moodle-course-util-section/moodle-course-util-section-debug.js
  30. +1 −1 course/yui/build/moodle-course-util-section/moodle-course-util-section.js
  31. +53 −53 ...r/glossary/yui/build/moodle-filter_glossary-autolinker/moodle-filter_glossary-autolinker-debug.js
  32. +53 −53 filter/glossary/yui/build/moodle-filter_glossary-autolinker/moodle-filter_glossary-autolinker.js
  33. +2 −2 ...axloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-debug.js
  34. +2 −2 .../mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader.js
  35. +15 −15 ...ld/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-debug.js
  36. +15 −15 ...ui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable.js
  37. +8 −8 ...ui/build/moodle-gradereport_history-userselector/moodle-gradereport_history-userselector-debug.js
  38. +8 −8 ...tory/yui/build/moodle-gradereport_history-userselector/moodle-gradereport_history-userselector.js
  39. +11 −10 ...ui/build/moodle-atto_accessibilitychecker-button/moodle-atto_accessibilitychecker-button-debug.js
  40. +11 −10 ...cker/yui/build/moodle-atto_accessibilitychecker-button/moodle-atto_accessibilitychecker-button.js
  41. +263 −263 ...tor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-debug.js
  42. +263 −263 lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button.js
  43. +2 −2 .../atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-debug.js
  44. +6 −6 .../atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-debug.js
  45. +6 −6 ...editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button.js
  46. +11 −6 lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-debug.js
  47. +11 −6 lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button.js
  48. +4 −2 ...editor/atto/plugins/indent/yui/build/moodle-atto_indent-button/moodle-atto_indent-button-debug.js
  49. +4 −2 lib/editor/atto/plugins/indent/yui/build/moodle-atto_indent-button/moodle-atto_indent-button.js
  50. +15 −15 lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-debug.js
  51. +15 −15 lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button.js
  52. +23 −22 lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js
  53. +23 −22 lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js
  54. +3 −3 lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js
  55. +3 −3 lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js
  56. +7 −5 lib/form/yui/build/moodle-form-dateselector/moodle-form-dateselector-debug.js
  57. +7 −5 lib/form/yui/build/moodle-form-dateselector/moodle-form-dateselector.js
  58. +10 −8 lib/form/yui/build/moodle-form-passwordunmask/moodle-form-passwordunmask-debug.js
  59. +10 −8 lib/form/yui/build/moodle-form-passwordunmask/moodle-form-passwordunmask.js
  60. +3 −3 lib/form/yui/build/moodle-form-shortforms/moodle-form-shortforms-debug.js
  61. +3 −3 lib/form/yui/build/moodle-form-shortforms/moodle-form-shortforms.js
  62. +1 −1 lib/form/yui/build/moodle-form-showadvanced/moodle-form-showadvanced-debug.js
  63. +1 −1 lib/form/yui/build/moodle-form-showadvanced/moodle-form-showadvanced.js
  64. +25 −25 lib/yui/build/moodle-core-actionmenu/moodle-core-actionmenu-debug.js
  65. +25 −25 lib/yui/build/moodle-core-actionmenu/moodle-core-actionmenu.js
  66. +163 −159 lib/yui/build/moodle-core-blocks/moodle-core-blocks-debug.js
  67. +162 −158 lib/yui/build/moodle-core-blocks/moodle-core-blocks.js
  68. +35 −35 lib/yui/build/moodle-core-chooserdialogue/moodle-core-chooserdialogue-debug.js
  69. +35 −35 lib/yui/build/moodle-core-chooserdialogue/moodle-core-chooserdialogue.js
  70. +4 −4 lib/yui/build/moodle-core-dock-loader/moodle-core-dock-loader-debug.js
  71. +3 −3 lib/yui/build/moodle-core-dock-loader/moodle-core-dock-loader.js
  72. +302 −301 lib/yui/build/moodle-core-dock/moodle-core-dock-debug.js
  73. +293 −292 lib/yui/build/moodle-core-dock/moodle-core-dock.js
  74. +16 −15 lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop-debug.js
  75. +16 −15 lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop.js
  76. +13 −13 lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-debug.js
  77. +13 −13 lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit.js
  78. +9 −9 lib/yui/build/moodle-core-formchangechecker/moodle-core-formchangechecker-debug.js
  79. +9 −9 lib/yui/build/moodle-core-formchangechecker/moodle-core-formchangechecker.js
  80. +12 −12 lib/yui/build/moodle-core-languninstallconfirm/moodle-core-languninstallconfirm-debug.js
  81. +12 −12 lib/yui/build/moodle-core-languninstallconfirm/moodle-core-languninstallconfirm.js
  82. +38 −34 lib/yui/build/moodle-core-notification-ajaxexception/moodle-core-notification-ajaxexception-debug.js
  83. +38 −34 lib/yui/build/moodle-core-notification-ajaxexception/moodle-core-notification-ajaxexception.js
  84. +12 −11 lib/yui/build/moodle-core-notification-alert/moodle-core-notification-alert-debug.js
  85. +12 −11 lib/yui/build/moodle-core-notification-alert/moodle-core-notification-alert.js
  86. +12 −11 lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm-debug.js
  87. +12 −11 lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm.js
  88. +65 −65 lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-debug.js
  89. +65 −65 lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue.js
  90. +42 −38 lib/yui/build/moodle-core-notification-exception/moodle-core-notification-exception-debug.js
  91. +42 −38 lib/yui/build/moodle-core-notification-exception/moodle-core-notification-exception.js
  92. +32 −30 ...fier/yui/build/moodle-message_airnotifier-toolboxes/moodle-message_airnotifier-toolboxes-debug.js
  93. +32 −30 ...irnotifier/yui/build/moodle-message_airnotifier-toolboxes/moodle-message_airnotifier-toolboxes.js
  94. +5 −5 message/yui/build/moodle-core_message-messenger/moodle-core_message-messenger-debug.js
  95. +5 −5 message/yui/build/moodle-core_message-messenger/moodle-core_message-messenger.js
  96. +293 −281 ...tpdf/yui/build/moodle-assignfeedback_editpdf-editor/moodle-assignfeedback_editpdf-editor-debug.js
  97. +293 −281 ...ck/editpdf/yui/build/moodle-assignfeedback_editpdf-editor/moodle-assignfeedback_editpdf-editor.js
  98. +1 −1 mod/assign/yui/build/moodle-mod_assign-history/moodle-mod_assign-history-debug.js
  99. +1 −1 mod/assign/yui/build/moodle-mod_assign-history/moodle-mod_assign-history.js
  100. +4 −4 mod/quiz/yui/build/moodle-mod_quiz-autosave/moodle-mod_quiz-autosave-debug.js
  101. +4 −4 mod/quiz/yui/build/moodle-mod_quiz-autosave/moodle-mod_quiz-autosave.js
  102. +8 −6 mod/quiz/yui/build/moodle-mod_quiz-dragdrop/moodle-mod_quiz-dragdrop-debug.js
  103. +8 −6 mod/quiz/yui/build/moodle-mod_quiz-dragdrop/moodle-mod_quiz-dragdrop.js
  104. +1 −1 mod/quiz/yui/build/moodle-mod_quiz-modform/moodle-mod_quiz-modform-debug.js
  105. +1 −1 mod/quiz/yui/build/moodle-mod_quiz-modform/moodle-mod_quiz-modform.js
  106. +9 −9 mod/quiz/yui/build/moodle-mod_quiz-quizbase/moodle-mod_quiz-quizbase-debug.js
  107. +9 −9 mod/quiz/yui/build/moodle-mod_quiz-quizbase/moodle-mod_quiz-quizbase.js
  108. +13 −9 mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-debug.js
  109. +13 −9 mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank.js
  110. +8 −8 mod/quiz/yui/build/moodle-mod_quiz-randomquestion/moodle-mod_quiz-randomquestion-debug.js
  111. +8 −8 mod/quiz/yui/build/moodle-mod_quiz-randomquestion/moodle-mod_quiz-randomquestion.js
  112. +8 −8 mod/quiz/yui/build/moodle-mod_quiz-repaginate/moodle-mod_quiz-repaginate-debug.js
  113. +8 −8 mod/quiz/yui/build/moodle-mod_quiz-repaginate/moodle-mod_quiz-repaginate.js
  114. +73 −71 mod/quiz/yui/build/moodle-mod_quiz-toolboxes/moodle-mod_quiz-toolboxes-debug.js
  115. +73 −71 mod/quiz/yui/build/moodle-mod_quiz-toolboxes/moodle-mod_quiz-toolboxes.js
  116. +3 −2 mod/quiz/yui/build/moodle-mod_quiz-util-page/moodle-mod_quiz-util-page-debug.js
  117. +3 −2 mod/quiz/yui/build/moodle-mod_quiz-util-page/moodle-mod_quiz-util-page.js
  118. +17 −15 mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot-debug.js
  119. +17 −15 mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot.js
  120. +65 −65 ...type/ddimageortext/yui/build/moodle-qtype_ddimageortext-dd/moodle-qtype_ddimageortext-dd-debug.js
  121. +65 −65 question/type/ddimageortext/yui/build/moodle-qtype_ddimageortext-dd/moodle-qtype_ddimageortext-dd.js
  122. +38 −38 .../ddimageortext/yui/build/moodle-qtype_ddimageortext-form/moodle-qtype_ddimageortext-form-debug.js
  123. +38 −38 ...n/type/ddimageortext/yui/build/moodle-qtype_ddimageortext-form/moodle-qtype_ddimageortext-form.js
  124. +71 −71 question/type/ddmarker/yui/build/moodle-qtype_ddmarker-dd/moodle-qtype_ddmarker-dd-debug.js
  125. +71 −71 question/type/ddmarker/yui/build/moodle-qtype_ddmarker-dd/moodle-qtype_ddmarker-dd.js
  126. +28 −28 question/type/ddmarker/yui/build/moodle-qtype_ddmarker-form/moodle-qtype_ddmarker-form-debug.js
  127. +28 −28 question/type/ddmarker/yui/build/moodle-qtype_ddmarker-form/moodle-qtype_ddmarker-form.js
  128. +59 −59 question/type/ddwtos/yui/build/moodle-qtype_ddwtos-dd/moodle-qtype_ddwtos-dd-debug.js
  129. +59 −59 question/type/ddwtos/yui/build/moodle-qtype_ddwtos-dd/moodle-qtype_ddwtos-dd.js
  130. +3 −3 ...ntlist/yui/build/moodle-report_eventlist-eventfilter/moodle-report_eventlist-eventfilter-debug.js
  131. +3 −3 ...rt/eventlist/yui/build/moodle-report_eventlist-eventfilter/moodle-report_eventlist-eventfilter.js
  132. +1 −1 report/loglive/yui/build/moodle-report_loglive-fetchlogs/moodle-report_loglive-fetchlogs-debug.js
  133. +1 −1 report/loglive/yui/build/moodle-report_loglive-fetchlogs/moodle-report_loglive-fetchlogs.js
@@ -24,7 +24,7 @@ SEARCH.prototype = {
* @type Node
* @protected
*/
form : null,
form: null,
/**
* The capability select node.
* @property select
@@ -38,7 +38,7 @@ SEARCH.prototype = {
* @type Object
* @protected
*/
selectoptions : {},
selectoptions: {},
/**
* The search input field.
* @property input
@@ -60,12 +60,12 @@ SEARCH.prototype = {
* @type Node
* @protected
*/
lastsearch : null,
lastsearch: null,
/**
* Constructs the search manager.
* @method initializer
*/
initializer : function() {
initializer: function() {
this.form = Y.one('#capability-overview-form');
this.select = this.form.one('select[data-search=capability]');
this.select.setStyle('minWidth', this.select.get('offsetWidth'));
@@ -77,7 +77,7 @@ SEARCH.prototype = {
this.lastsearch = this.form.one('input[name=search]');
var div = Y.Node.create('<div id="capabilitysearchui"></div>'),
label = Y.Node.create('<label for="capabilitysearch">'+this.get('strsearch')+'</label>');
label = Y.Node.create('<label for="capabilitysearch">' + this.get('strsearch') + '</label>');
this.input = Y.Node.create('<input type="text" id="capabilitysearch" />');
div.append(label).append(this.input);
@@ -101,15 +101,15 @@ SEARCH.prototype = {
* Disables the submit button if there are no capabilities selected.
* @method validate
*/
validate : function() {
validate: function() {
this.button.set('disabled', (this.select.get('value') === ''));
},
/**
* Called when ever the user types into the search field.
* This method hides any capabilities that don't match the search term.
* @method typed
*/
typed : function() {
typed: function() {
var search = this.input.get('value'),
matching = 0,
last = null,
@@ -137,9 +137,9 @@ SEARCH.prototype = {
}
};
Y.extend(SEARCH, Y.Base, SEARCH.prototype, {
NAME : 'tool_capability-search',
ATTRS : {
strsearch : {}
NAME: 'tool_capability-search',
ATTRS: {
strsearch: {}
}
});
@@ -24,7 +24,7 @@ SEARCH.prototype = {
* @type Node
* @protected
*/
form : null,
form: null,
/**
* The capability select node.
* @property select
@@ -38,7 +38,7 @@ SEARCH.prototype = {
* @type Object
* @protected
*/
selectoptions : {},
selectoptions: {},
/**
* The search input field.
* @property input
@@ -60,12 +60,12 @@ SEARCH.prototype = {
* @type Node
* @protected
*/
lastsearch : null,
lastsearch: null,
/**
* Constructs the search manager.
* @method initializer
*/
initializer : function() {
initializer: function() {
this.form = Y.one('#capability-overview-form');
this.select = this.form.one('select[data-search=capability]');
this.select.setStyle('minWidth', this.select.get('offsetWidth'));
@@ -77,7 +77,7 @@ SEARCH.prototype = {
this.lastsearch = this.form.one('input[name=search]');
var div = Y.Node.create('<div id="capabilitysearchui"></div>'),
label = Y.Node.create('<label for="capabilitysearch">'+this.get('strsearch')+'</label>');
label = Y.Node.create('<label for="capabilitysearch">' + this.get('strsearch') + '</label>');
this.input = Y.Node.create('<input type="text" id="capabilitysearch" />');
div.append(label).append(this.input);
@@ -101,15 +101,15 @@ SEARCH.prototype = {
* Disables the submit button if there are no capabilities selected.
* @method validate
*/
validate : function() {
validate: function() {
this.button.set('disabled', (this.select.get('value') === ''));
},
/**
* Called when ever the user types into the search field.
* This method hides any capabilities that don't match the search term.
* @method typed
*/
typed : function() {
typed: function() {
var search = this.input.get('value'),
matching = 0,
last = null,
@@ -137,9 +137,9 @@ SEARCH.prototype = {
}
};
Y.extend(SEARCH, Y.Base, SEARCH.prototype, {
NAME : 'tool_capability-search',
ATTRS : {
strsearch : {}
NAME: 'tool_capability-search',
ATTRS: {
strsearch: {}
}
});
@@ -48,9 +48,9 @@ Y.extend(DRAGREORDER, M.core.dragdrop, {
Y.one('.' + args.parentNodeClass)
.all('.' + args.dragHandleInsertClass)
.each(
function (node) {
function(node) {
node.insert(this.draghandle.cloneNode(true));
} , this);
}, this);
},
drop_hit: function(e) {
@@ -48,9 +48,9 @@ Y.extend(DRAGREORDER, M.core.dragdrop, {
Y.one('.' + args.parentNodeClass)
.all('.' + args.dragHandleInsertClass)
.each(
function (node) {
function(node) {
node.insert(this.draghandle.cloneNode(true));
} , this);
}, this);
},
drop_hit: function(e) {
@@ -47,16 +47,16 @@ M.availability_date.form.getNode = function(json) {
var url = M.cfg.wwwroot + '/availability/condition/date/ajax.php?action=fromtime' +
'&time=' + json.t;
Y.io(url, { on : {
success : function(id, response) {
Y.io(url, {on: {
success: function(id, response) {
var fields = Y.JSON.parse(response.responseText);
for (var field in fields) {
var select = node.one('select[name=x\\[' + field + '\\]]');
select.set('value', '' + fields[field]);
select.set('disabled', false);
}
},
failure : function() {
failure: function() {
window.alert(M.util.get_string('ajaxerror', 'availability_date'));
}
}});
@@ -125,12 +125,12 @@ M.availability_date.form.updateTime = function(node) {
'&day=' + node.one('select[name=x\\[day\\]]').get('value') +
'&hour=' + node.one('select[name=x\\[hour\\]]').get('value') +
'&minute=' + node.one('select[name=x\\[minute\\]]').get('value');
Y.io(url, { on : {
success : function(id, response) {
Y.io(url, {on: {
success: function(id, response) {
node.setData('time', response.responseText);
M.core_availability.form.update();
},
failure : function() {
failure: function() {
window.alert(M.util.get_string('ajaxerror', 'availability_date'));
}
}});
@@ -47,16 +47,16 @@ M.availability_date.form.getNode = function(json) {
var url = M.cfg.wwwroot + '/availability/condition/date/ajax.php?action=fromtime' +
'&time=' + json.t;
Y.io(url, { on : {
success : function(id, response) {
Y.io(url, {on: {
success: function(id, response) {
var fields = Y.JSON.parse(response.responseText);
for (var field in fields) {
var select = node.one('select[name=x\\[' + field + '\\]]');
select.set('value', '' + fields[field]);
select.set('disabled', false);
}
},
failure : function() {
failure: function() {
window.alert(M.util.get_string('ajaxerror', 'availability_date'));
}
}});
@@ -125,12 +125,12 @@ M.availability_date.form.updateTime = function(node) {
'&day=' + node.one('select[name=x\\[day\\]]').get('value') +
'&hour=' + node.one('select[name=x\\[hour\\]]').get('value') +
'&minute=' + node.one('select[name=x\\[minute\\]]').get('value');
Y.io(url, { on : {
success : function(id, response) {
Y.io(url, {on: {
success: function(id, response) {
node.setData('time', response.responseText);
M.core_availability.form.update();
},
failure : function() {
failure: function() {
window.alert(M.util.get_string('ajaxerror', 'availability_date'));
}
}});
@@ -151,8 +151,8 @@ M.availability_grade.form.fillErrors = function(errors, node) {
}
// Check numeric values.
if ((value.min !== undefined && typeof(value.min) === 'string') ||
(value.max !== undefined && typeof(value.max) === 'string')) {
if ((value.min !== undefined && typeof (value.min) === 'string') ||
(value.max !== undefined && typeof (value.max) === 'string')) {
errors.push('availability_grade:error_invalidnumber');
} else if (value.min !== undefined && value.max !== undefined &&
value.min >= value.max) {
@@ -151,8 +151,8 @@ M.availability_grade.form.fillErrors = function(errors, node) {
}
// Check numeric values.
if ((value.min !== undefined && typeof(value.min) === 'string') ||
(value.max !== undefined && typeof(value.max) === 'string')) {
if ((value.min !== undefined && typeof (value.min) === 'string') ||
(value.max !== undefined && typeof (value.max) === 'string')) {
errors.push('availability_grade:error_invalidnumber');
} else if (value.min !== undefined && value.max !== undefined &&
value.min >= value.max) {
Oops, something went wrong.

0 comments on commit 3a0bc0f

Please sign in to comment.