Hy, problem mantaining big javascript code.
- by Totty
I have more than 1000 lines in a big jquery plugin, that is actually a big class, that inludes some others classes, but they have to be in the same file.
I inlcude a piece of code. If you have another way to simplify the code..
The actual problem is that i have a gallery with a lot of things, is dynamic with smart ajax data loading so it requires a lot of classes to use it properly and to cache the data.
(function($){
var TottysGallery = function(element, options, data){
var Core = new function(){...};
var Core2 = new function(){...};
var Core3 = new function(){...};
var Core = function(){...};
};