blob: 5ac8beecce70a1e38e3f353263348b8afd5801a5 [file] [log] [blame]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<script type="text/javascript" src="{% dependency_url bootstrap.js %}"></script>
<script type="text/javascript" src="{{ site.path.style | relative_url }}/deps/jquery.cookie.js"></script>
<script type="text/javascript" src="{{ site.path.style | relative_url }}/js/zeroclipboard/ZeroClipboard.min.js"></script>
<script type="text/javascript" src="{{ site.path.style | relative_url }}/deps/tooltip.js"></script>
{% if page.url contains "/start/" %}
<script type="text/javascript" src="{{ site.path.style | relative_url }}/deps/glossarizer.js"></script>
<script type="text/javascript">
$(function(){
$('body').glossarizer({
sourceURL: '{{ site.path.guide | relative_url }}/glossary.json?'+Math.random(),
caseSensitive : true,
lookupTagName : 'p, ul',
callback: function(){ new tooltip(); }
});
});
</script>
{% endif %}
<script type="text/javascript">
ZeroClipboard.config({ moviePath: '{{ site.path.style | relative_url }}/js/zeroclipboard/ZeroClipboard.swf' });
</script>
<script src="{{ site.path.style | relative_url }}/js/public.js"></script>