app/assets/javascripts/mumuki_laboratory/application/primary.js
Function onReady
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
onReady() {
mumuki.resize(this.onResize.bind(this));
this._availableTabs.forEach((selector) => this._tabParagraphs(selector).contents().unwrap().wrapAll('<p>'));
Function initialize
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
initialize() {
super.initialize();
this.$characterSpeechBubble = $('.mu-kids-character-speech-bubble');
this.$characterSpeechBubbleNormal = this.$characterSpeechBubble.children('.mu-kids-character-speech-bubble-normal');
this.$contextModalButton = new mumuki.Button($('.mu-kids-context .modal-footer button'));