Skip to content

Commit f094138

Browse files
author
Hovhannes Babayan
committed
Now printing description in each example
1 parent 31ff8e6 commit f094138

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

examples/node/create-new-project.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var instance = ApiFactory.getInstance({
1111
port: 8080
1212
});
1313

14+
util.print('Logs in, then creates a new project with name "API Project"\n');
1415
util.log('Logging in ...');
1516
instance.login('new@user.attask', 'user').then(
1617
function(data) {

examples/node/get-multiple-tasks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var instance = ApiFactory.getInstance({
1111
port: 8080
1212
});
1313

14+
util.print('Logs in, queries details of multiple tasks\n');
1415
util.log('Logging in ...');
1516
instance.login('new@user.attask', 'user').then(
1617
function(data) {

examples/node/get-project-details.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var instance = ApiFactory.getInstance({
1111
port: 8080
1212
});
1313

14+
util.print('Logs in, queries project and project owner details by project id\n');
1415
util.log('Logging in ...');
1516
instance.login('new@user.attask', 'user').then(
1617
function(data) {

examples/node/login.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var instance = ApiFactory.getInstance({
1111
port: 8080
1212
});
1313

14+
util.print('Logs in\n');
1415
util.log('Logging in ...');
1516
instance.login('new@user.attask', 'user').then(
1617
function(data) {

examples/node/logout.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var instance = ApiFactory.getInstance({
1111
port: 8080
1212
});
1313

14+
util.print('Logs in and logs out\n');
1415
util.log('Logging in ...');
1516
instance.login('new@user.attask', 'user').then(
1617
function(data) {

examples/node/search-for-projects.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var instance = ApiFactory.getInstance({
1111
port: 8080
1212
});
1313

14+
util.print('Logs in, then search for projects with percentComplete > 0\n');
1415
util.log('Logging in ...');
1516
instance.login('new@user.attask', 'user').then(
1617
function(data) {

0 commit comments

Comments
 (0)