We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5172c9f commit 64eca71Copy full SHA for 64eca71
src/modules/padding.js
@@ -41,6 +41,10 @@ function Cache() {
41
export default function Padding(template) {
42
let result;
43
44
+ if(template.nodeType !== Node.ELEMENT_NODE) {
45
+ throw new Error('ui-scroll directive requires an Element node for templating the view');
46
+ }
47
+
48
switch (template.tagName.toLowerCase()) {
49
case 'dl':
50
throw new Error(`ui-scroll directive does not support <${template.tagName}> as a repeating tag: ${template.outerHTML}`);
0 commit comments