Provider | Singleton | Instantiable | Configurable |
---|---|---|---|
Constant | Yes | No | No |
Value | Yes | No | No |
Service | Yes | No | No |
Factory | Yes | Yes | No |
Decorator | Yes | No? | No |
Provider | Yes | Yes | Yes |
For use on:
https://console.aws.amazon.com/s3/home
Only tested in Chrome.
Installation instructions:
- View > Always Show Bookmarks Bar.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector2D = {} | |
function Vector2D:new(x, y) | |
local object = { x = x, y = y } | |
setmetatable(object, { __index = Vector2D }) | |
return object | |
end | |
function Vector2D:copy() | |
return Vector2D:new(self.x, self.y) |