Skip to content

Commit

Permalink
Singleton (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Sep 8, 2018
1 parent 042e37d commit f595d7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/attributes/uniqueattribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
var _gpfAttributesUniqueAttribute = _gpfDefine({
$class: "gpf.attributes.UniqueAttribute",
$extend: _gpfAttributesAttributeAttribute,
$singleton: true,

_targetCheck: function (member, classDefinition, targetAttribute) {
_gpfAttributesCheckAppliedOnlyOnce(member, classDefinition, targetAttribute.constructor);
Expand Down

0 comments on commit f595d7f

Please sign in to comment.