{"size": 605, "ext": "js", "max_stars_repo_path": "docs/resources/sap/ui/model/message/MessagePropertyBinding.js", "max_stars_repo_name": "steven-g/devtoberfest-2021-frontend-coding-challenge", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/resources/sap/ui/model/message/MessagePropertyBinding.js", "max_issues_repo_name": "steven-g/devtoberfest-2021-frontend-coding-challenge", "max_issues_repo_issues_event_min_datetime": "2021-11-08T20:36:55.000Z", "max_issues_repo_issues_event_max_datetime": "2021-11-16T08:40:44.000Z", "max_forks_repo_path": "docs/resources/sap/ui/model/message/MessagePropertyBinding.js", "max_forks_repo_name": "steven-g/devtoberfest-2021-frontend-coding-challenge", "max_forks_repo_forks_event_min_datetime": "2021-11-08T14:38:05.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-08T14:38:05.000Z"}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 100.8333333333, "max_line_length": 454, "alphanum_fraction": 0.7438016529}
/*!
 * OpenUI5
 * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */
sap.ui.define(["sap/ui/model/ChangeReason","sap/ui/model/ClientPropertyBinding","sap/base/util/deepEqual"],function(e,t,i){"use strict";var s=t.extend("sap.ui.model.message.MessagePropertyBinding");s.prototype.setValue=function(e){if(!i(this.oValue,e)){this.oModel.setProperty(this.sPath,e,this.oContext)}};s.prototype.checkUpdate=function(t){var s=this._getValue();if(!i(s,this.oValue)||t){this.oValue=s;this._fireChange({reason:e.Change})}};return s});