File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 88
99GET_ALL_LIBRARIES_SCRIPT = """
1010 var libraries = {};
11- var humanNameRegExp = /^.+\((.+)\)$/;
1211 $('#mycontainer').find('.library-expand-handle').map(function () {
13- var libraryName = $(this).text();
14- if (humanNameRegExp.test(libraryName)) {
15- libraryName = libraryName.match(humanNameRegExp)[1].trim().replace(/\.h/, '');
16- }
12+ var libraryName = $(this).parents('.accordion-group').attr('data-name');
1713 libraries[libraryName] = $(this).parent().find('.library_link').attr('href');
1814 });
1915 return libraries;
@@ -38,6 +34,7 @@ def test_compile_target_libraries(self):
3834
3935 urls_to_follow = []
4036 for target in targets :
37+ target = target .lower ()
4138 if target in libraries :
4239 library_url = libraries [target ]
4340 self .open (library_url )
You can’t perform that action at this time.
0 commit comments