Posted By

athanassiadis on 01/30/11


Tagged

javascript object jquery literal


Versions (?)

Object Literal Architecture Template


 / Published in: JavaScript
 

Template for a Object Literal Architecture in javascript, in this case jQuery

  1. //Object Literal jQuery
  2.  
  3. var JS = {
  4.  
  5. onReady : function(){
  6. ...
  7. },
  8.  
  9. nextFunction : function(){
  10. ...
  11. }
  12. }
  13.  
  14. jQuery(document).ready(JS.onReady);

Report this snippet  

You need to login to post a comment.