Browse Source

docs: update D3 deps in getting started guide (#2334)

pull/2333/merge
Yoshiya Hinosawa 7 years ago committed by GitHub
parent
commit
5c30aed494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/gettingstarted.html.haml

4
docs/gettingstarted.html.haml

@ -42,7 +42,7 @@
<span class="tag">&lt;<span class="title">link</span> <span class="attribute">href</span>=<span class="value">"/path/to/c3.css"</span> <span class="attribute">rel</span>=<span class="value">"stylesheet"</span>&gt;</span>
<span class="comment">&lt;!-- Load d3.js and c3.js --&gt;</span>
<span class="tag">&lt;<span class="title">script</span> <span class="attribute">src</span>=<span class="value">"/path/to/d3.v3.min.js"</span> <span class="attribute">charset</span>=<span class="value">"utf-8"</span>&gt;</span><span class="tag">&lt;/<span class="title">script</span>&gt;</span>
<span class="tag">&lt;<span class="title">script</span> <span class="attribute">src</span>=<span class="value">"/path/to/d3.v4.min.js"</span> <span class="attribute">charset</span>=<span class="value">"utf-8"</span>&gt;</span><span class="tag">&lt;/<span class="title">script</span>&gt;</span>
<span class="tag">&lt;<span class="title">script</span> <span class="attribute">src</span>=<span class="value">"/path/to/c3.min.js"</span>&gt;</span><span class="tag">&lt;/<span class="title">script</span>&gt;</span>
%p C3 depends on D3, so please load D3 too.
@ -86,7 +86,7 @@
require.config({
baseUrl: '/js',
paths: {
d3: "http://d3js.org/d3.v3.min"
d3: "http://d3js.org/d3.v4.min"
}
});

Loading…
Cancel
Save