Showing 3 of 3 total issues
File motice.js
has 334 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* global define */
; (function (define) {
define(['jquery'], function ($) {
var $body = $('body'),
Function _parseDomBySettings
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_parseDomBySettings: function() {
var settings = this.options;
var $container = this.$container = containers.get( settings.position );
var $notification = this.$el;
var me = this;
Function _initEvents
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initEvents: function(){
var settings = this.options,
me = this,
$el = this.$el;
//close button