diff options
Diffstat (limited to 'op_crates/web')
-rw-r--r-- | op_crates/web/00_dom_exception.js | 1 | ||||
-rw-r--r-- | op_crates/web/01_event.js | 1 | ||||
-rw-r--r-- | op_crates/web/02_abort_signal.js | 1 | ||||
-rw-r--r-- | op_crates/web/03_global_interfaces.js | 1 | ||||
-rw-r--r-- | op_crates/web/08_text_encoding.js | 1 | ||||
-rw-r--r-- | op_crates/web/11_url.js | 1 | ||||
-rw-r--r-- | op_crates/web/12_location.js | 1 | ||||
-rw-r--r-- | op_crates/web/21_filereader.js | 1 | ||||
-rw-r--r-- | op_crates/web/abort_controller_test.js | 1 | ||||
-rw-r--r-- | op_crates/web/event_target_test.js | 1 | ||||
-rw-r--r-- | op_crates/web/event_test.js | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/op_crates/web/00_dom_exception.js b/op_crates/web/00_dom_exception.js index 8ea979f1f..22fd842fe 100644 --- a/op_crates/web/00_dom_exception.js +++ b/op_crates/web/00_dom_exception.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; ((window) => { const { defineProperty } = Object; diff --git a/op_crates/web/01_event.js b/op_crates/web/01_event.js index 578f771f6..3fd4841a8 100644 --- a/op_crates/web/01_event.js +++ b/op_crates/web/01_event.js @@ -4,6 +4,7 @@ // Many parts of the DOM are not implemented in Deno, but the logic for those // parts still exists. This means you will observe a lot of strange structures // and impossible logic branches based on what Deno currently supports. +"use strict"; ((window) => { const eventData = new WeakMap(); diff --git a/op_crates/web/02_abort_signal.js b/op_crates/web/02_abort_signal.js index 1bad13be3..3090513eb 100644 --- a/op_crates/web/02_abort_signal.js +++ b/op_crates/web/02_abort_signal.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; ((window) => { const { setIsTrusted } = window.__bootstrap.event; diff --git a/op_crates/web/03_global_interfaces.js b/op_crates/web/03_global_interfaces.js index 21a44eb8e..74697a42e 100644 --- a/op_crates/web/03_global_interfaces.js +++ b/op_crates/web/03_global_interfaces.js @@ -1,3 +1,4 @@ +"use strict"; ((window) => { const { EventTarget } = window; diff --git a/op_crates/web/08_text_encoding.js b/op_crates/web/08_text_encoding.js index b4ae947e4..c9d708740 100644 --- a/op_crates/web/08_text_encoding.js +++ b/op_crates/web/08_text_encoding.js @@ -23,6 +23,7 @@ // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. +"use strict"; ((window) => { const core = Deno.core; diff --git a/op_crates/web/11_url.js b/op_crates/web/11_url.js index 5723201b3..d5474727b 100644 --- a/op_crates/web/11_url.js +++ b/op_crates/web/11_url.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; ((window) => { const core = window.Deno.core; diff --git a/op_crates/web/12_location.js b/op_crates/web/12_location.js index f2409e82a..add2e0e38 100644 --- a/op_crates/web/12_location.js +++ b/op_crates/web/12_location.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; ((window) => { const { URL } = window.__bootstrap.url; diff --git a/op_crates/web/21_filereader.js b/op_crates/web/21_filereader.js index eee96e9d8..30fff33d8 100644 --- a/op_crates/web/21_filereader.js +++ b/op_crates/web/21_filereader.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; ((window) => { const base64 = window.__bootstrap.base64; diff --git a/op_crates/web/abort_controller_test.js b/op_crates/web/abort_controller_test.js index 3f1cf18fd..26f58dccb 100644 --- a/op_crates/web/abort_controller_test.js +++ b/op_crates/web/abort_controller_test.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; function assert(cond) { if (!cond) { throw Error("assert"); diff --git a/op_crates/web/event_target_test.js b/op_crates/web/event_target_test.js index 67e323571..acb75cc19 100644 --- a/op_crates/web/event_target_test.js +++ b/op_crates/web/event_target_test.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; function assert(cond) { if (!cond) { throw Error("assert"); diff --git a/op_crates/web/event_test.js b/op_crates/web/event_test.js index 6e57e0e8d..fa92a3e07 100644 --- a/op_crates/web/event_test.js +++ b/op_crates/web/event_test.js @@ -1,4 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +"use strict"; function assert(cond) { if (!cond) { throw Error("assert"); |