diff --git a/legacy.js b/legacy.js index 4c26e02..9e59312 100644 --- a/legacy.js +++ b/legacy.js @@ -675,3 +675,7 @@ var LegacyExtension = class { } } }; + +function init(metadata) { + return new LegacyExtension(metadata); +}