From 79ed6de951a4cd09db07d21a5e14af5b3751176f Mon Sep 17 00:00:00 2001 From: Brock Ellis Date: Tue, 7 May 2013 16:32:27 -0500 Subject: [PATCH] To avoid SCRIPT1010: Expected identifier in IE < 9 While trying Bootstrap-Tree out in IE10 developer mode emulating IE8 (lowest IE version supported by our project) I noticed that IE was throwing an error: SCRIPT1010: Expected identifier. It happened due to the dot notation for the attributes variable. Changed it to bracket notation and it worked like a charm. This is my first edit on project that isn't my own, so I apologize if I am doing something incorrect. =) --- bootstrap-tree/js/bootstrap-tree.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-tree/js/bootstrap-tree.js b/bootstrap-tree/js/bootstrap-tree.js index 237138a..f64cf27 100644 --- a/bootstrap-tree/js/bootstrap-tree.js +++ b/bootstrap-tree/js/bootstrap-tree.js @@ -156,7 +156,7 @@ var branch = $("