Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a52862f

Browse filesBrowse files
authored
Merge pull request #355 from plotly/marthacryan-patch-1
Remove use of requirejs in template
2 parents 6b77580 + 054383b commit a52862f
Copy full SHA for a52862f

File tree

Expand file treeCollapse file tree

1 file changed

+0
-17
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-17
lines changed

‎_includes/layouts/head.html

Copy file name to clipboardExpand all lines: _includes/layouts/head.html
-17Lines changed: 0 additions & 17 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.