/** * Login page controller * * @author Pierre HUBERT */ ComunicWeb.pages.login = { /** * Open login page * * @param {Object} additionnalData Additionnal data passed in the method * @param {element} targetElement Where the template will be applied * @returns {Boolean} False if it fails */ openLoginPage: function(additionnalData, targetElement){ alert("login page to open !"); } };