1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Fix IE JS bug if el attribute is null

This commit is contained in:
Antoine Boulanger
2016-07-14 14:23:46 -04:00
parent 03eb81fa2a
commit 6878ba4f96

View File

@@ -80,6 +80,10 @@ class App {
var data = {};
for (let i in attributes) {
if (!attributes[i]) {
continue;
}
// Attributes name (ex: data-module)
let name = attributes[i].name;