Well as this is the sort of thing I have come across quite often … I just did 
that change locally. 

It does require changing the directory structure in the output a little, but 
those changes make things even cleaner.

Which version of d3 are we using? Jquery was 1.11.2, JqueryUI was 1.11.4, but 
what version is d3?

And regarding the sankey_edgent thing … it seems like this isn’t part of d3, 
but it uses d3 and might contain code copied from somewhere else.
It also seems as if jquery or jquery-ui might contain some legend extension 
copied from somewhere else … but can’t really tell :-(

Chris


Am 12.07.17, 14:13 schrieb "Dale LaBossiere" <dml.apa...@gmail.com>:

    Chris, I agree with your general sentiment.  Don’t know how difficult it 
will be to get there, downloading/bundling only what’s really desired - 
generally we've tried to avoid bloat. If non-trivial, maybe this is something 
we can/should address after the maven conversion (track with a JIRA)?
    
    If console/servlets/README is to be believed, only one of the files 
(sankey_edgent.js) is a modified file from d3.  Presumably one can do a diff 
against the noted original to see what was changed.
    
    Susan Cline, can you clarify?
    
    — Dale
    
    > On Jul 12, 2017, at 7:05 AM, Christofer Dutz <christofer.d...@c-ware.de> 
wrote:
    > 
    > Hi,
    > 
    > I noticed that the “servlets” module also contains HTML, JavaScript and 
CSS (Eventually better to call it webapp instead of servlets). The JS and CSS 
seems to be mainly copied from Jquery, JqueryUI and D3 distribution … how about 
not checking this code in with our code, but have it downloaded and added as 
part of the build?
    > 
    > One thing I did notice, was a comment about a modified version of these 
libs - without mentioning what the changes were. Does anyone remember what 
these changes were and why they were needed? I personally don’t like copying 
code of other projects and checking that in with another project.
    > 
    > Chris
    
    

Reply via email to