{"size": 981, "ext": "js", "max_stars_repo_path": "modules/FeatureCard/FeatureCard.js", "max_stars_repo_name": "iamangarg/browserstack", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "modules/FeatureCard/FeatureCard.js", "max_issues_repo_name": "iamangarg/browserstack", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "modules/FeatureCard/FeatureCard.js", "max_forks_repo_name": "iamangarg/browserstack", "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": 36.3333333333, "max_line_length": 73, "alphanum_fraction": 0.6065239551}
function FeatureCard(options) {
    if (options) {
        this.featureImage = options.featureImage || "#";
        this.featureCardTitle = options.featureCardTitle || "";
        this.featureCardBody = options.featureCardBody || "";
        this.id = options.id || "";
    }
}

FeatureCard.prototype.html = "<div id='{{id}}' class='feature-card'> " +
    "<div class='image-container'>" +
    "<img class='feature-image' src='{{featureImage}}'/>" +
    "<div class='feature-card-content'> " +
    "<div class='feature-card-title'>{{featureCardTitle}}</div>" +
    "<div class='feature-card-body'>{{featureCardBody}}</div>" +
    "</div>" +
    "</div>" +
    "</div>";

FeatureCard.prototype.getHtml = function () {
    this.html = this.html.replace(/{{featureImage}}/g, this.featureImage)
        .replace(/{{featureCardTitle}}/g, this.featureCardTitle)
        .replace(/{{featureCardBody}}/g, this.featureCardBody)
        .replace(/{{id}}/g, this.id);
    return this.html;
}
