My javascript code like this :
;(function($){
$.ag.hideScrollbar = function (currentWidth) {
...
};
// not executed
//start
$.ag.initMap = function(mapCanvas){
...
};
$.ag.initMapAutocomplete = function () {
...
};
//end
}(jQuery));
I want map script not executed
I do not want to comment the script. I want to add a condition for the script not to run
How can I do it?
I want to add a condition..if (condition) { .... }