Jump to content

User:Pemaksa

From Wikipedia, the free encyclopedia
Community Contact Channels ±
Other contact channels. User, Page log in. edit· changes.

If you comment out parts of your code to be used at a later stage or to debug code there is a pretty sweet trick you can do:

module = function(){
  var current = null;
  function init(){
  };
/*
  function show(){
    current = 1;
  };
  function hide(){
    show();
  };
*/
  return{init:init,show:show,current:current}
}();