Start New Discussion within our Web Development Community

What is the naming convention for jquery?

http://net.tutsplus.com/articles/news/learn-how-to-create-a-jquery-plugin/ says

[B]funcName/jQuery.js[/B]

while...

http://www.ok-cool.com/posts/read/19-jquery-for-programmers-part-1/ says

[B]jQuery.funcName.js[/B]

Thanks.

The latter makes a lot more sense to me. If you look at the jQuery manual you see that the plugin name should be: "jQuery.fn.myPlugin", so why not use it as your filename in the same order too.

This article has been dead for over six months. Start a new discussion instead.