static/assets/js/bootstrap-notify.js
File bootstrap-notify.js
has 337 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Creative Tim Modifications
Function init
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function () {
var self = this;
this.buildNotify();
if (this.settings.content.icon) {
Function placement
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
placement: function () {
var self = this,
offsetAmt = this.settings.offset.y,
css = {
display: 'inline-block',
Function update
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
update: function (command, update) {
var commands = {};
if (typeof command === "string") {
commands[command] = update;
} else {
Function Notify
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Notify(element, content, options) {
// Setup Content of Notify
var contentObj = {
content: {
message: typeof content === 'object' ? content.message : content,