I added references to jQuery and bootstrap to a master page using the <SharePoint:ScriptLink>
control:
<SharePoint:ScriptLink language="javascript" name="~sitecollection/SitePages/scripts/jquery-1.9.1.min.js" OnDemand="true" runat="server" Localizable="false" />
<SharePoint:ScriptLink language="javascript" name="~sitecollection/SitePages/scripts/bootstrap.min.js" OnDemand="true" runat="server" Localizable="false" />
The page using this master page is not loading the scripts.
I checked using FireBug and there is no error like 404 or aborted (in red color) or anything.
Page source does have references to the script like this:
<script type="text/javascript">RegisterSod("~sitecollection/sitepages/scripts/jquery-1.9.1.min.js", "\u002fsitepages\u002fscripts\u002fjquery-1.9.1.min.js");</script>
<script type="text/javascript">RegisterSod("~sitecollection/sitepages/scripts/bootstrap.min.js", "\u002fsitepages\u002fscripts\u002fbootstrap.min.js");</script>
What can I try?