Advertisement
erodemobiles

global core

May 2nd, 2011
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * All global and core class objects.
  3.  *
  4.  * viCore:      Core methods
  5.  * viPortal:    viPortal methods
  6.  * viPage:      Page methods
  7.  *
  8.  * @copyright   2010, viPortal
  9.  * @class       viPortal
  10.  */
  11.  
  12. var viPortal = {
  13.  
  14.     /**
  15.      * Debug mode?
  16.      */
  17.     debugMode: false,
  18.  
  19.  
  20.     /**
  21.      * Base context URL for the project.
  22.      */
  23.     strBaseUrl: '/',
  24.  
  25.  
  26.     /**
  27.      * Base context URL for javascript files.
  28.      */
  29.     strBaseUrlJs: '/system/modules/viPortal/html/j/',
  30.  
  31.  
  32.     /**
  33.      * Initialize method for friendship and construct viPortalFriendship class
  34.      */
  35.     init_friendship: function()
  36.     {
  37.         viPortal.loadedFriendship = true;
  38.         viCore.include(viPortal.strBaseUrlJs+'viPortalFriendship.js', '');
  39.        
  40.         $(function()
  41.         {
  42.             //alert('load');
  43.             //viPortalFriendship.initialize();
  44.         });
  45.     },
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement