{"size": 824, "ext": "js", "max_stars_repo_path": "app/scripts/customer-page.js", "max_stars_repo_name": "rmpraba/ERPPERFORMANCETEST", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/scripts/customer-page.js", "max_issues_repo_name": "rmpraba/ERPPERFORMANCETEST", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/scripts/customer-page.js", "max_forks_repo_name": "rmpraba/ERPPERFORMANCETEST", "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": 30.5185185185, "max_line_length": 88, "alphanum_fraction": 0.7075242718}
/**
 * Created by praba on 2/12/2016.
 */

//JS file for the supplier-page
Polymer({
  is: "customer-page",
  ready:function()
  {

    localStorage.setItem("curr_sess_showpage","Add Customer");
    //if(localStorage.getItem("curr_sess_showpage")=="additem-card")
    this.page="Add Customer";
    //if(localStorage.getItem("curr_sess_showpage")=="addsupplier-card")
    //this.page="addsupplier-card";
  },
  //Method to change the page view in base page ie home page
  setPage:function(page)
  {
    //Setting current page in local storage to fetch the labels dynamically
    localStorage.setItem("curr_sess_showpage",page);
    //Calling web component service to fetch label and errro label info from config file
    document.querySelector("webcomponent-service").callWebcomponentService();
    this.page = page;
  }
});
