-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
59 production #76
base: master
Are you sure you want to change the base?
59 production #76
Conversation
function($) { | ||
"use strict"; | ||
$.Dashboard1.init(); | ||
}(window.jQuery); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
|
||
}, | ||
//init | ||
$.Dashboard1 = new Dashboard1, $.Dashboard1.Constructor = Dashboard1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
"use strict"; | ||
|
||
var Dashboard1 = function() { | ||
this.$realData = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
function($) { | ||
"use strict"; | ||
$.Components.init(); | ||
}(window.jQuery); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
$.Portlet.init(); | ||
}, | ||
|
||
$.Components = new Components, $.Components.Constructor = Components |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
this.initMultiSelect(), | ||
this.initPeityCharts(), | ||
//creating portles | ||
$.Portlet.init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
|
||
//range slider | ||
Components.prototype.initRangeSlider = function() { | ||
$.fn.slider && $('[data-plugin="range-slider"]').slider({}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
//initializing nicescroll | ||
Components.prototype.initNiceScrollPlugin = function() { | ||
//You can change the color of scroll bar here | ||
$.fn.niceScroll && $(".nicescroll").niceScroll({ cursorcolor: '#98a6ad',cursorwidth:'6px', cursorborderradius: '5px'}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
|
||
//initializing popover | ||
Components.prototype.initPopoverPlugin = function() { | ||
$.fn.popover && $('[data-toggle="popover"]').popover() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
|
||
//initializing tooltip | ||
Components.prototype.initTooltipPlugin = function() { | ||
$.fn.tooltip && $('[data-toggle="tooltip"]').tooltip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
|
||
}, | ||
//init | ||
$.Notification = new Notification, $.Notification.Constructor = Notification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
}); | ||
}, | ||
// | ||
$.Portlet = new Portlet, $.Portlet.Constructor = Portlet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing '()' invoking a constructor.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
var $portlet = $(this).closest($this.$portletIdentifier); | ||
var $portlet_parent = $portlet.parent(); | ||
$portlet.remove(); | ||
if ($portlet_parent.children().length == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use '===' to compare with '0'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
this.$body = $("body"), | ||
this.$portletIdentifier = ".portlet", | ||
this.$portletCloser = '.portlet a[data-toggle="remove"]', | ||
this.$portletRefresher = '.portlet a[data-toggle="reload"]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
Missing semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ignore this.
d8f2c50
to
68b04a1
Compare
100 add dropbox
taiga