javascript - Script isn't answering any more error using morris.js in firefox -


i using library morris.js http://www.oesmith.co.uk/morris.js/ in order create charts website. works on opera, internet explorer , google chrome.

in firefox, randomly crashes instantly.

script panel tells me, crashes here:

secondsspechelper = function(interval) {     return {         span: interval * 1000,         start: function(d) {         return new date(d.getfullyear(), d.getmonth(), d.getdate(), d.gethours(),              d.getminutes());     }, fmt: function(d) {     return "" + (morris.pad2(d.gethours())) + ":" + (morris.pad2(d.getminutes())) + ":" +      (morris.pad2(d.getseconds())); }, incr: function(d) {     return d.setutcseconds(d.getutcseconds() + interval); } }; 

any ideas, if of functions not working in firefox? or cause crash?

i standard firefox error:

script isn't answering anymore..

fixed! morris.js , mozilla tries parse "xlabels" attribute datetime, , goes forever-loop then.

fixed attribute

    parsetime: false 

for example:

xxx = new morris.line({     xlabels: 'day',     parsetime: false }); 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -