{"size": 267, "ext": "js", "max_stars_repo_path": "Source/deco/qvc/constraints/NotEmpty.js", "max_stars_repo_name": "decojs/DecoJS", "max_stars_repo_stars_event_min_datetime": "2015-05-06T09:41:34.000Z", "max_stars_repo_stars_event_max_datetime": "2016-12-04T21:57:50.000Z", "max_issues_repo_path": "Source/deco/qvc/constraints/NotEmpty.js", "max_issues_repo_name": "decojs/DecoJS", "max_issues_repo_issues_event_min_datetime": "2015-01-30T22:03:31.000Z", "max_issues_repo_issues_event_max_datetime": "2015-02-03T22:11:55.000Z", "max_forks_repo_path": "Source/deco/qvc/constraints/NotEmpty.js", "max_forks_repo_name": "decojs/DecoJS", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": 4, "max_forks_count": null, "avg_line_length": 20.5384615385, "max_line_length": 67, "alphanum_fraction": 0.6179775281}
define([], function(){
  function NotEmpty(attributes){
    
  }
  
  NotEmpty.prototype.isValid = function(value){
    if(value == null) return false;
    if(typeof value == "string" && value.length == 0) return false;
    return true;
  };
  
  return NotEmpty;
});