AnsweredAssumed Answered

modularize dashlet code

Question asked by Paul Carlton on Jul 9, 2015
Hi,  I would like to know if it's possible to modularize dashlet code.  What I mean is similar to how it extends currently so something like:

({    plugins: ['Dashlet']    initDashlet: function() {},    show: true,    loadData: function() {}    // etc...  })

And extend from that.  Why?  So I can better maintain a dashlet that's getting complicated and long going into hundreds of lines of javascript code. Is there a best practice way of doing this?