summaryrefslogtreecommitdiff
path: root/runtime/js/40_plugins.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-07-02 16:11:23 +0200
committerGitHub <noreply@github.com>2021-07-02 16:11:23 +0200
commit7dd4090c2a3dc0222fd6ff611eeb2bd69cd28224 (patch)
tree013fc76f640885329c5e42fd7c1bcccf7f6381db /runtime/js/40_plugins.js
parent2544ec9af4c6a11fbbb7766c843f1362486e96b7 (diff)
Remove unstable native plugins (#10908)
This commit removes implementation of native plugins alongside the unstable "Deno.openPlugin()" API.
Diffstat (limited to 'runtime/js/40_plugins.js')
-rw-r--r--runtime/js/40_plugins.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/runtime/js/40_plugins.js b/runtime/js/40_plugins.js
deleted file mode 100644
index 0796fd5ce..000000000
--- a/runtime/js/40_plugins.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-"use strict";
-
-((window) => {
- const core = window.Deno.core;
-
- function openPlugin(filename) {
- const rid = core.opSync("op_open_plugin", filename);
- core.syncOpsCache();
- return rid;
- }
-
- window.__bootstrap.plugins = {
- openPlugin,
- };
-})(this);