@quenty/binder 9.2.0 → 9.2.1-canary.13f8c62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/package.json +12 -12
- package/src/Shared/Binder.lua +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [9.2.1-canary.13f8c62.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.2.0...@quenty/binder@9.2.1-canary.13f8c62.0) (2023-12-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add :HasTag() call to Binder ([13f8c62](https://github.com/Quenty/NevermoreEngine/commit/13f8c62d4d62675db0f7ebd42c32daf8e61bb904))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [9.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.1.1...@quenty/binder@9.2.0) (2023-12-14)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/binder",
|
|
3
|
-
"version": "9.2.0",
|
|
3
|
+
"version": "9.2.1-canary.13f8c62.0",
|
|
4
4
|
"description": "Utility object to Bind a class to Roblox object, and associated helper methods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "
|
|
29
|
-
"@quenty/brio": "
|
|
30
|
-
"@quenty/instanceutils": "
|
|
31
|
-
"@quenty/linkutils": "
|
|
32
|
-
"@quenty/loader": "
|
|
33
|
-
"@quenty/maid": "
|
|
34
|
-
"@quenty/promise": "
|
|
35
|
-
"@quenty/rx": "
|
|
36
|
-
"@quenty/signal": "
|
|
37
|
-
"@quenty/valueobject": "
|
|
28
|
+
"@quenty/baseobject": "7.1.0",
|
|
29
|
+
"@quenty/brio": "9.2.1-canary.13f8c62.0",
|
|
30
|
+
"@quenty/instanceutils": "8.2.1-canary.13f8c62.0",
|
|
31
|
+
"@quenty/linkutils": "8.2.1-canary.13f8c62.0",
|
|
32
|
+
"@quenty/loader": "7.1.0",
|
|
33
|
+
"@quenty/maid": "2.6.0",
|
|
34
|
+
"@quenty/promise": "7.1.0",
|
|
35
|
+
"@quenty/rx": "8.2.1-canary.13f8c62.0",
|
|
36
|
+
"@quenty/signal": "3.1.0",
|
|
37
|
+
"@quenty/valueobject": "8.2.1-canary.13f8c62.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "13f8c62d4d62675db0f7ebd42c32daf8e61bb904"
|
|
43
43
|
}
|
package/src/Shared/Binder.lua
CHANGED
|
@@ -463,6 +463,17 @@ function Binder:Tag(inst)
|
|
|
463
463
|
CollectionService:AddTag(inst, self._tagName)
|
|
464
464
|
end
|
|
465
465
|
|
|
466
|
+
--[=[
|
|
467
|
+
Returns true if the instance has a tag
|
|
468
|
+
|
|
469
|
+
@param inst Instance
|
|
470
|
+
]=]
|
|
471
|
+
function Binder:HasTag(inst)
|
|
472
|
+
assert(typeof(inst) == "Instance", "Bad inst")
|
|
473
|
+
|
|
474
|
+
return CollectionService:HasTag(inst, self._tagName)
|
|
475
|
+
end
|
|
476
|
+
|
|
466
477
|
--[=[
|
|
467
478
|
Untags the instance with the tag for the binder
|
|
468
479
|
|