Skip to content

Commit 79ef613

Browse files
author
unknown
committed
Changed JSDocs slightly.
1 parent 1864735 commit 79ef613

17 files changed

+105
-4
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function(grunt) {
1818
},
1919
jsdoc: {
2020
dist: {
21-
src: ["lib/*.js", "tests/*.js"],
21+
src: "lib/*.js",
2222
options: {
2323
destination: "target/html"
2424
}

lib/Api.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ var checkVersion = require("./checkVersion");
3939
*/
4040
var BINDING_VERSION = "0.8";
4141

42-
// need to test with serviceURL
42+
/**
43+
* @class
44+
*
45+
* Node.js Client Binding API; representation of a Api server.
46+
* Call instance methods upon this object to communicate with particular
47+
* Api server endpoints.
48+
*
49+
* @example var api = new API(userKey, serviceUrl);
50+
* @copyright 2014-2015 Basis Technology Corporation.
51+
* @license http://www.apache.org/licenses/LICENSE-2.0
52+
*/
4353
function Api(userKey, serviceURL) {
4454
/**
4555
* @type {string}
@@ -68,7 +78,8 @@ function Api(userKey, serviceURL) {
6878
};
6979

7080
/**
71-
* Accepts a Rosette API endpoint name and forwards user parameters to the endpoint
81+
* @type {string}
82+
* @desc Accepts a Rosette API endpoint name and forwards user parameters to the endpoint
7283
* @param {string} endpoint - The Rosette API endpoint to be utilized
7384
*/
7485
Api.prototype.rosette = function(endpoint, callback) {

lib/categories.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function categories() {
3238

3339
};

lib/checkVersion.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function checkVersion() {
3238

3339
};

lib/entities.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function entities() {
3238

3339
};

lib/info.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function info() {
3238

3339
};

lib/language.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function language() {
3238

3339
};

lib/languageInfo.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function languageInfo() {
3238

3339
};

lib/matchedName.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function matchedName() {
3238

3339
};

lib/morphology.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ var RosetteException = require("./rosetteExceptions");
2828
*/
2929
var BINDING_VERSION = "0.8";
3030

31+
/**
32+
* @class
33+
*
34+
* @copyright 2014-2015 Basis Technology Corporation.
35+
* @license http://www.apache.org/licenses/LICENSE-2.0
36+
*/
3137
function morphology() {
3238

3339
};

0 commit comments

Comments
 (0)