From b3ce161f7929517ffca28e3414d201ee551b1dfd Mon Sep 17 00:00:00 2001
From: valdrinkoshi
Date: Mon, 8 Aug 2016 16:36:14 -0700
Subject: [PATCH] dynamic imports
---
demo/ce-v0.html | 207 ------------------------------------
demo/ce-v1.html | 213 --------------------------------------
demo/ce.html | 127 +++++++++++++++++++++++
demo/index.html | 6 +-
demo/nytimes.html | 2 +-
demo/v0/x-a.html | 49 +++++++++
demo/v0/x-b.html | 53 ++++++++++
demo/v0/x-trap-focus.html | 64 ++++++++++++
demo/v1/x-a.html | 51 +++++++++
demo/v1/x-b.html | 55 ++++++++++
demo/v1/x-trap-focus.html | 66 ++++++++++++
11 files changed, 469 insertions(+), 424 deletions(-)
delete mode 100644 demo/ce-v0.html
delete mode 100644 demo/ce-v1.html
create mode 100644 demo/ce.html
create mode 100644 demo/v0/x-a.html
create mode 100644 demo/v0/x-b.html
create mode 100644 demo/v0/x-trap-focus.html
create mode 100644 demo/v1/x-a.html
create mode 100644 demo/v1/x-b.html
create mode 100644 demo/v1/x-trap-focus.html
diff --git a/demo/ce-v0.html b/demo/ce-v0.html
deleted file mode 100644
index f7e9ecf..0000000
--- a/demo/ce-v0.html
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
- blockingElements polyfill test page
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- inert x-trap-focus
-
-
-
- x-trap-focus
-
-
-
-
-
- nested
-
-
-
-
-
-
-
-
- x-a
-
-
-
-
-
- nested
-
-
-
-
-
-
-
-
- with x-trap-focus
-
-
-
-
-
-
-
-
- x-b
-
-
-
-
-
- nested
-
-
-
-
-
-
-
-
-
- with x-trap-focus
-
-
-
-
-
-
-
-
- Lots of focusable elements
-
-
-
-
-
-
diff --git a/demo/ce-v1.html b/demo/ce-v1.html
deleted file mode 100644
index aaa3a46..0000000
--- a/demo/ce-v1.html
+++ /dev/null
@@ -1,213 +0,0 @@
-
-
-
-
-
-
- blockingElements polyfill test page
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- inert x-trap-focus
-
-
-
- x-trap-focus
-
-
-
-
-
- nested
-
-
-
-
-
-
-
-
- x-a
-
-
-
-
-
- nested
-
-
-
-
-
-
-
-
- with x-trap-focus
-
-
-
-
-
-
-
-
- x-b
-
-
-
-
-
- nested
-
-
-
-
-
-
-
-
-
- with x-trap-focus
-
-
-
-
-
-
-
-
- Lots of focusable elements
-
-
-
-
-
-
diff --git a/demo/ce.html b/demo/ce.html
new file mode 100644
index 0000000..ddd91e5
--- /dev/null
+++ b/demo/ce.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+ blockingElements polyfill test page
+
+
+
+
+
+
+
+
+
+
+
+
+ inert x-trap-focus
+
+
+
+ x-trap-focus
+
+
+
+
+
+ nested
+
+
+
+
+
+
+
+
+ x-a
+
+
+
+
+
+ nested
+
+
+
+
+
+
+
+
+ with x-trap-focus
+
+
+
+
+
+
+
+
+ x-b
+
+
+
+
+
+ nested
+
+
+
+
+
+
+
+
+
+ with x-trap-focus
+
+
+
+
+
+
+
+
+ Lots of focusable elements
+
+
+
+
+
+
diff --git a/demo/index.html b/demo/index.html
index 19580da..3714cec 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -86,8 +86,8 @@ blocking elements
Check these other demos:
@@ -103,7 +103,7 @@ blocking elements
}
var checked = target.checked;
container.classList[checked ? 'add' : 'remove']('blocking');
- document.$blockingElements[evt.target.checked ? 'push' : 'remove'](container);
+ document.$blockingElements[checked ? 'push' : 'remove'](container);
}
diff --git a/demo/nytimes.html b/demo/nytimes.html
index bcd9a9b..21c94e0 100644
--- a/demo/nytimes.html
+++ b/demo/nytimes.html
@@ -53,7 +53,7 @@ blocking elements
}
var checked = target.checked;
container.classList[checked ? 'add' : 'remove']('blocking');
- document.$blockingElements[evt.target.checked ? 'push' : 'remove'](container);
+ document.$blockingElements[checked ? 'push' : 'remove'](container);
}
diff --git a/demo/v0/x-a.html b/demo/v0/x-a.html
new file mode 100644
index 0000000..14277d3
--- /dev/null
+++ b/demo/v0/x-a.html
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/v0/x-b.html b/demo/v0/x-b.html
new file mode 100644
index 0000000..def3d1d
--- /dev/null
+++ b/demo/v0/x-b.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/v0/x-trap-focus.html b/demo/v0/x-trap-focus.html
new file mode 100644
index 0000000..b960398
--- /dev/null
+++ b/demo/v0/x-trap-focus.html
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/v1/x-a.html b/demo/v1/x-a.html
new file mode 100644
index 0000000..7839fe7
--- /dev/null
+++ b/demo/v1/x-a.html
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/v1/x-b.html b/demo/v1/x-b.html
new file mode 100644
index 0000000..bcca9a6
--- /dev/null
+++ b/demo/v1/x-b.html
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/v1/x-trap-focus.html b/demo/v1/x-trap-focus.html
new file mode 100644
index 0000000..c8ca015
--- /dev/null
+++ b/demo/v1/x-trap-focus.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+