mirror of
https://github.com/Rushilwiz/spaceout.git
synced 2025-04-22 04:19:49 -04:00
15 lines
223 B
JavaScript
15 lines
223 B
JavaScript
class Padding {
|
|
constructor (padding) {
|
|
this.left = padding.left
|
|
this.right = padding.right
|
|
}
|
|
length () {
|
|
return this.left.length + this.right.length
|
|
}
|
|
}
|
|
|
|
/**
|
|
@module padding
|
|
*/
|
|
module.exports = Padding
|