Closed (works as designed)
Project:
Syntax Highlighter
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2013 at 05:45 UTC
Updated:
10 May 2015 at 16:23 UTC
Jump to comment: Most recent
Comments
Comment #1
lovelykaushik86 commentedI used this module but I did not find any issue like this. There is only one script syntaxhighlighter.min.js which is after all regions just before the body tag ends but this script is not in any region. If you are stil facing this issue please clarify the issue completely.
Comment #2
fizk commentedThe code that loads syntaxhighlighter.min.js is:
drupal_add_js(drupal_get_path('module', 'syntaxhighlighter') . '/syntaxhighlighter.min.js', array('type' => 'file', 'scope' => 'footer', 'group' => JS_DEFAULT, 'every_page' => TRUE));which tells Drupal to add it to the footer scope. This is done to load syntaxhighlighter.min.js without blocking, which improves page loading.