I\'m writing a JavaScript graphing library using canvas which I am licensing und
ID: 647446 • Letter: I
Question
I'm writing a JavaScript graphing library using canvas which I am licensing under MIT, and I'm using jQuery, as well as a couple of other open sourced libraries, all under MIT. I'm also using bower to manage my front-end dependencies. How should I best handle these dependencies without violating the license?
Preferably, the user would not have to include multiple scripts, just one <script src = "graph.js></script>, and it would include all of the plugins.
Should I just ask the user to include jQuery and the other libraries in its own script tag, or should I concat all of the scripts together into one big file, headers included?
Explanation / Answer
How should I best handle these dependencies without violating the license?
If you would packaging your dependency modules, you should only ensure to mantain the MIT requirements
The MIT License is a free software license originating at the Massachusetts Institute of Technology (MIT). It is a permissive free software license, meaning that it permits reuse within proprietary software provided all copies of the licensed software include a copy of the MIT License terms. Such proprietary software retains its proprietary nature even though it incorporates software under the MIT License. The license is also GPL-compatible, meaning that the GPL permits combination and redistribution with software that uses the MIT License.
Should I just ask the user to include jQuery and the other libraries in its own script tag, or should I concat all of the scripts together into one big file, headers included?
I think its completely up to you, but I think the user have not problems to include JQuery if they would use Bootstrap