{"size": 656, "ext": "js", "max_stars_repo_path": "public/javascript/pavhomebuilder/widget.js", "max_stars_repo_name": "SarahPhuong/CuaHangVLXD", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/javascript/pavhomebuilder/widget.js", "max_issues_repo_name": "SarahPhuong/CuaHangVLXD", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/javascript/pavhomebuilder/widget.js", "max_forks_repo_name": "SarahPhuong/CuaHangVLXD", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.2962962963, "max_line_length": 107, "alphanum_fraction": 0.4756097561}
(function($) {
  $.PavWidgetsHelper = {
      init:function(){
          alert( 'dd' );
      },  

      createWidgetsString:function( name, params ){

          var content = '';
          var attrs =  '';
          var output = '['+name+' _SC_ATTS]_SC_CONTENT_[/'+name+']';
    
          $.each(params, function(key,value){
                attrs +=key+'="'+value+'" ';
          } );
          output = output.replace( '_SC_ATTS', $.trim(attrs) ).replace( '_SC_CONTENT_',  $.trim(content) );
          return output;
         // console.log( output );
      }
  }
  
  $(window).load(function() {
     // $.PavWidgetsHelper.init();
  });

})(jQuery);
 