UNPKG
borderlands2
Version:
0.2.3-beta (0.2.3-beta)
latest (0.7.2)
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.3-beta2
0.2.3-beta
0.2.2
0.2.1
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Borderlands 2 weapon damage and DPS calculation library
nicklozon/borderlands-2-lib
borderlands2
/
dist
/
domain
/
gear
/
object
/
decorator.js
7 lines
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
function
WeaponTypeDecorator
(
type
) {
return
function
(
weapon, context
) {
return
type === weapon.
type
; }; }
exports
.
WeaponTypeDecorator
=
WeaponTypeDecorator
;
//# sourceMappingURL=decorator.js.map