Icontem

Upon review of the source for this multiple global function d...

Recommend this page to a friend!

      Crossley Mancunian  >  All threads  >  Upon review of the source for this...  >  (Un) Subscribe thread alerts  
Subject:Upon review of the source for this...
Summary:Package rating comment
Messages:1
Author:Jason Gerfen
Date:2013-10-03 13:00:48
 

Jason Gerfen rated this package as follows:

Utility: Insufficient
Consistency: Insufficient
Documentation: Insufficient
Examples: Not sure

  1. Upon review of the source for this...   Reply   Report abuse  
Jason Gerfen - 2013-10-03 13:00:48
Upon review of the source for this multiple global function declarations within the scoped namespace is bad form. One global function within the scoped namespace with inheritance should be used. For example...

(function($){
$.fn.pluginName = function(args){
var methods = methods || {
var x = function(arg){}
var y = function(arg){}
var z = function(arg){}
};
};
});