This can be achieved by setting the debug variable to true:
$('body').m7plugin({
debug: true
});
This template is relatively untested no guarantees and what not but it seems to be a good starting point. No point in over engineering your plugins :-P. Feel free to do as you will.
There are some (blissfully unaware) contributors so I have linked them below.
Other than that it seems fine you can demo at http://bit.ly/11DRTNd
- http://www.davidpirek.com/blog/testable-jquery-plugins-and-jquery-unit-testing
- http://www.sjeiti.com/unit-testing-private-functions
The software can be used free of charge for both non-commercial and commercial projects. The software is licenced with The GNU Lesser General Public License, version 2.1 (LGPL-2.1)