Skip to content

Commit 6facb40

Browse files
committed
v7.0.0
1 parent 3cd201c commit 6facb40

File tree

10 files changed

+275
-123
lines changed

10 files changed

+275
-123
lines changed

CHANGELOG.md

Lines changed: 153 additions & 0 deletions
Large diffs are not rendered by default.

docs/assets/js/main.js

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,16 +2107,14 @@ var typedoc,
21072107
_this.createGroups(),
21082108
_this.container &&
21092109
(_this.el.classList.add('active'),
2110-
_this.el
2111-
.querySelectorAll('.tsd-signature')
2112-
.forEach(function (signature) {
2113-
signature.addEventListener('touchstart', function (event) {
2114-
return _this.onClick(event)
2115-
}),
2116-
signature.addEventListener('click', function (event) {
2117-
return _this.onClick(event)
2118-
})
2110+
Array.from(_this.el.children).forEach(function (signature) {
2111+
signature.addEventListener('touchstart', function (event) {
2112+
return _this.onClick(event)
21192113
}),
2114+
signature.addEventListener('click', function (event) {
2115+
return _this.onClick(event)
2116+
})
2117+
}),
21202118
_this.container.classList.add('active'),
21212119
_this.setIndex(0)),
21222120
_this
@@ -2145,15 +2143,15 @@ var typedoc,
21452143
}
21462144
}),
21472145
(Signature.prototype.createGroups = function () {
2148-
var _this = this,
2149-
signatures = this.el.querySelectorAll('.tsd-signature')
2146+
var signatures = this.el.children
21502147
if (!(signatures.length < 2)) {
21512148
this.container = this.el.nextElementSibling
2152-
var descriptions = this.container.querySelectorAll('.tsd-description')
2153-
;(this.groups = []),
2154-
signatures.forEach(function (el, index) {
2155-
_this.groups.push(new SignatureGroup(el, descriptions[index]))
2156-
})
2149+
var descriptions = this.container.children
2150+
this.groups = []
2151+
for (var index = 0; index < signatures.length; index++)
2152+
this.groups.push(
2153+
new SignatureGroup(signatures[index], descriptions[index])
2154+
)
21572155
}
21582156
}),
21592157
(Signature.prototype.onClick = function (e) {

docs/classes/_api_.api.html

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

docs/classes/_node_.nodeapi.html

Lines changed: 34 additions & 34 deletions
Large diffs are not rendered by default.

docs/index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h1>workfront-api</h1>
6565
<a href="#workfront-api" id="workfront-api" style="color: inherit; text-decoration: none;">
6666
<h1>workfront-api</h1>
6767
</a>
68-
<p><a href="https://www.npmjs.org/package/workfront-api"><img src="https://img.shields.io/npm/v/workfront-api.svg?style=flat" alt="NPM version"></a> <a href="https://www.npmjs.org/package/workfront-api"><img src="https://img.shields.io/npm/dm/workfront-api.svg?style=flat" alt="NPM downloads"></a> <a href="LICENSE"><img src="http://img.shields.io/badge/license-APv2-blue.svg?style=flat" alt="Apache v2 License"></a> <a href="https://travis-ci.com/Workfront/workfront-api"><img src="https://img.shields.io/travis/Workfront/workfront-api.svg?style=flat" alt="Build Status"></a> <a href="https://codecov.io/gh/Workfront/workfront-api"><img src="https://codecov.io/gh/Workfront/workfront-api/branch/master/graph/badge.svg" alt="Coverage"></a> <a href="https://codeclimate.com/github/Workfront/workfront-api"><img src="https://img.shields.io/codeclimate/github/Workfront/workfront-api.svg?style=flat" alt="Code Climate"></a>
68+
<p><a href="https://www.npmjs.org/package/workfront-api"><img src="https://img.shields.io/npm/v/workfront-api.svg?style=flat-square" alt="NPM version"></a> <a href="https://www.npmjs.org/package/workfront-api"><img src="https://img.shields.io/npm/dm/workfront-api.svg?style=flat-square" alt="NPM downloads"></a> <a href="LICENSE"><img src="http://img.shields.io/badge/license-APv2-blue.svg?style=flat-square" alt="Apache v2 License"></a> <a href="https://travis-ci.com/Workfront/workfront-api"><img src="https://img.shields.io/travis/Workfront/workfront-api.svg?style=flat-square" alt="Build Status"></a> <a href="https://codecov.io/gh/Workfront/workfront-api"><img src="https://codecov.io/gh/Workfront/workfront-api/branch/master/graph/badge.svg" alt="Coverage"></a> <a href="https://codeclimate.com/github/Workfront/workfront-api"><img src="https://img.shields.io/codeclimate/maintainability/Workfront/workfront-api?style=flat-square" alt="Code Climate"></a>
6969
<a href="https://saucelabs.com/beta/builds/1b8be6f71455499c82f02afc881e6c14"><img src="https://saucelabs.com/buildstatus/citizensas" alt="Build Status"></a></p>
7070
<p><a href="https://saucelabs.com/beta/builds/1b8be6f71455499c82f02afc881e6c14"><img src="https://saucelabs.com/browser-matrix/citizensas.svg" alt="Build Status"></a></p>
7171
<p>A client for Workfront API which can be used in both server (NodeJS) and client (browsers).</p>
@@ -96,19 +96,20 @@ <h2>Documentation</h2>
9696
<h2>Examples</h2>
9797
</a>
9898
<p>A number of examples can be found under <a href="examples">examples</a> directory. It includes examples for both <a href="examples/node">node</a> and <a href="examples/browser">browser</a> environments.<br>In order to run these examples clone a copy of workfront-api repository:</p>
99-
<pre><code>git <span class="hljs-keyword">clone</span> <span class="hljs-title">git</span>://github.com/Workfront/workfront-api.git</code></pre>
99+
<pre><code class="language-shell">git clone git://github.com/Workfront/workfront-api.git</code></pre>
100100
<a href="#running-node-examples" id="running-node-examples" style="color: inherit; text-decoration: none;">
101101
<h4>Running <a href="examples/node">node</a> examples</h4>
102102
</a>
103103
<p>First enter into <code>workfront-api</code> directory and install all the dependencies:</p>
104-
<pre><code><span class="hljs-attr">cd</span> <span class="hljs-string">workfront-api</span>
105-
<span class="hljs-attr">npm</span> <span class="hljs-string">install</span></code></pre><p>Use <code>node</code> to run the examples. For examples:</p>
104+
<pre><code><span class="hljs-built_in">cd</span> workfront-api
105+
yarn</code></pre><p>Use <code>node</code> to run the examples. For examples:</p>
106106
<pre><code><span class="hljs-keyword">node</span> <span class="hljs-title">examples</span>/<span class="hljs-keyword">node</span><span class="hljs-title">/get-user-count</span>.js</code></pre><p>Each example script outputs all its results into console and contains comments in the source code explaining what is happening in more details.</p>
107107
<a href="#running-browser-examples" id="running-browser-examples" style="color: inherit; text-decoration: none;">
108108
<h4>Running <a href="examples/browser">browser</a> examples</h4>
109109
</a>
110110
<p>To start supplied webserver type:</p>
111-
<pre><code><span class="hljs-built_in">npm</span> start</code></pre><p>Visit <a href="http://localhost:8000/examples/browser/">http://localhost:8000/examples/browser/</a> to see list of all examples available for browser.</p>
111+
<pre><code class="language-shell">npm start</code></pre>
112+
<p>Visit <a href="http://localhost:8000/examples/browser/">http://localhost:8000/examples/browser/</a> to see list of all examples available for browser.</p>
112113
<a href="#contributing" id="contributing" style="color: inherit; text-decoration: none;">
113114
<h2>Contributing</h2>
114115
</a>
@@ -120,8 +121,8 @@ <h3>Bug Reports</h3>
120121
<ol>
121122
<li><strong>Use the GitHub issue search</strong> &mdash; check if the issue has already been
122123
reported.</li>
123-
<li><strong>Isolate the problem</strong> &mdash; ideally create a <a href="https://css-tricks.com/reduced-test-cases/">reduced test
124-
case</a>.</li>
124+
<li><strong>Isolate the problem</strong> &mdash; ideally create a [reduced test
125+
case](<a href="https://css-tricks.com/reduced-test-cases/">https://css-tricks.com/reduced-test-cases/</a>).</li>
125126
<li>A good bug report shouldn&#39;t leave others needing to chase you up for more information. Please try to be as detailed as possible in your report.</li>
126127
</ol>
127128
<a href="#feature-requests" id="feature-requests" style="color: inherit; text-decoration: none;">

docs/interfaces/_api_.iapiconfig.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> always<wbr>Use<wbr>Ge
100100
<div class="tsd-signature tsd-kind-icon">always<wbr>Use<wbr>Get<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
101101
<aside class="tsd-sources">
102102
<ul>
103-
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/478e928/src/Api.ts#L38">Api.ts:38</a></li>
103+
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/3cd201c/src/Api.ts#L38">Api.ts:38</a></li>
104104
</ul>
105105
</aside>
106106
</section>
@@ -110,7 +110,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> api<wbr>Key</h3>
110110
<div class="tsd-signature tsd-kind-icon">api<wbr>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
111111
<aside class="tsd-sources">
112112
<ul>
113-
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/478e928/src/Api.ts#L39">Api.ts:39</a></li>
113+
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/3cd201c/src/Api.ts#L39">Api.ts:39</a></li>
114114
</ul>
115115
</aside>
116116
</section>
@@ -120,7 +120,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> headers</h3>
120120
<div class="tsd-signature tsd-kind-icon">headers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
121121
<aside class="tsd-sources">
122122
<ul>
123-
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/478e928/src/Api.ts#L40">Api.ts:40</a></li>
123+
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/3cd201c/src/Api.ts#L40">Api.ts:40</a></li>
124124
</ul>
125125
</aside>
126126
<div class="tsd-type-declaration">
@@ -138,7 +138,7 @@ <h3>url</h3>
138138
<div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
139139
<aside class="tsd-sources">
140140
<ul>
141-
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/478e928/src/Api.ts#L36">Api.ts:36</a></li>
141+
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/3cd201c/src/Api.ts#L36">Api.ts:36</a></li>
142142
</ul>
143143
</aside>
144144
</section>
@@ -148,7 +148,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> version</h3>
148148
<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
149149
<aside class="tsd-sources">
150150
<ul>
151-
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/478e928/src/Api.ts#L37">Api.ts:37</a></li>
151+
<li>Defined in <a href="https://github.com/Workfront/workfront-api/blob/3cd201c/src/Api.ts#L37">Api.ts:37</a></li>
152152
</ul>
153153
</aside>
154154
</section>

0 commit comments

Comments
 (0)