Where to add patch? Rated 3 out of 5 stars

Could someone please describe where in the main.js to place the patch text, and must some of the original text be deleted? Are the lines starting with the @@ and the -- and the ++ part of the patch?

Sorry, I am not knowledgeable in this area, but I really would like this addon to work properly and am trying to follow these comments.

This review is for a previous version of the add-on (0.3).