templete.js 301B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. *
  3. * @authors Eric Hsiao
  4. *
  5. */
  6. templete = function (){
  7. //private menbers
  8. //private methods
  9. function init () {
  10. console.log('templete is loaded.');
  11. }
  12. //constructor
  13. {
  14. $(document).ready(function() {
  15. init();
  16. });
  17. }
  18. //public
  19. return {
  20. };
  21. };
  22. var templete = new templete();