{"size": 825, "ext": "js", "max_stars_repo_path": "examples/test_1.js", "max_stars_repo_name": "UReflect/1100.js", "max_stars_repo_stars_event_min_datetime": "2017-03-21T17:05:19.000Z", "max_stars_repo_stars_event_max_datetime": "2017-03-21T17:05:19.000Z", "max_issues_repo_path": "examples/test_1.js", "max_issues_repo_name": "UReflect/1100.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "examples/test_1.js", "max_forks_repo_name": "UReflect/1100.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.6428571429, "max_line_length": 55, "alphanum_fraction": 0.5127272727}
// Test file

// $('.widget').css('width', $(window).width() / 10);
// $('.widget').css('height', $(window).height() / 10);

var mcsolar = new MC('.widget', {
  container: 'widget-container',
  drag: {
    clickType: 'longClick'
  },
  grid: {
    debug: true,
    pile: false
  }
});
var cnt = 0

mcsolar
  .on('click', function(event) {
    console.log('Simple click !!');
  })
  .on('dblclick', function(event) {
    console.log('Double click !!');
  })
  .on('pinch', function(event, type) {
    if (type == 'in') {
      console.log('Pinch in !');
    } else {
      console.log('Pinch out !');
    }
  })
  .on('slide', function(event, type) {
    switch(type) {
      case 'left':
        console.log('Slide left !');
        break;
      case 'right':
        console.log('Slide Right !');
        break;
    }
  });
