views:

67

answers:

4

I found a javascript that it is perfect for a website I am in charge to build. I am adapting that javascript and then I will use it in our website.

The javascript is under the creative commons license which effectively states that I can use it and do any derivative work (which I am) provided that somehow I acknowledge the creator.

Now the question is: will it be sufficient that in my new js I put a comment on the header that says something like:

// // this js contains some code which was derived from an original piece of work of // blah blah published on http://... //

or do I have to put a link in my website ?

A: 

IANAL, but would say that yes, that is sufficient.

Oded
A: 

As far as i can remember, as per creative common licence, you have to put the notice of the original author and any other copyrighting info. So i think you should write:

// // this js contains some code which was derived from an original piece of work of // blah blah published on http://... //

Sarfraz
the question really is:is it sufficient just to acknowledge via a comment on the javascript ? Not many people open up .js file in a text editor.
henryc
A: 

A comment should suffice but if you use it commercially you still should contact the original author to clarify.

dbemerlin
A: 

I know this is slightly off-topic, but a proposed way of including comments for licensing and unminified source code of the javascript files can be found in the appendix of RMS's article The Javascript Trap.

Residuum
Thanks residuum. It is quite interesting because my js gets minified and then I will have to add the comment which is a bit annoying.
henryc