Skip to content

Commit 054383b

Browse files
authored
Remove use of requirejs in template
1 parent b4e3cc0 commit 054383b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

_includes/layouts/head.html

-17
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,6 @@
5050
<script src="https://cdn.plot.ly/plotly-{{site.data.jsversion.version}}.min.js"></script>
5151
{% endif %} {% if page.language == "julia" or page.language == "matlab" or
5252
page.language == "ggplot2" %}
53-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.2/require.js"></script>
54-
<script type="text/javascript">
55-
if (typeof require !== "undefined") {
56-
require.undef("plotly");
57-
requirejs.config({
58-
paths: {
59-
plotly: [
60-
"https://cdn.plot.ly/plotly-{{site.data.jsversion.version}}.min",
61-
],
62-
},
63-
});
64-
require(["plotly"], function(Plotly) {
65-
window._Plotly = Plotly;
66-
});
67-
}
68-
69-
</script>
7053
{% endif %} {% endif %}
7154
<!--
7255
//// Stylesheets

0 commit comments

Comments
 (0)