Skip to content

Commit 6427249

Browse files
committed
change master
1 parent ff47bf6 commit 6427249

File tree

3 files changed

+28
-11
lines changed

3 files changed

+28
-11
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
before_script:
22
- |
3-
if [[ $TRAVIS_BRANCH == 'clientBuild' && $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"* ]]; then
3+
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"* ]]; then
44
echo "__INCREMENT_VERSION_NUMBER__"
55
export PACKAGE_VERSION=$(npm version patch)
66
npm install -g documentation
@@ -20,7 +20,8 @@ after_script:
2020

2121
branches:
2222
only:
23-
- clientBuild
23+
- master
24+
- dev
2425

2526
before_deploy:
2627
- |
@@ -41,7 +42,7 @@ deploy:
4142
keep_history: true
4243
script: bash public_pages.sh
4344
on:
44-
branch: clientBuild
45+
branch: master
4546
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
4647
- provider: releases
4748
target_commitish : $LAST_HASH
@@ -50,7 +51,7 @@ deploy:
5051
skip_cleanup: true
5152
overwrite: true
5253
on:
53-
branch: clientBuild
54+
branch: master
5455
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
5556
- provider: npm
5657
registry: "https://registry.npmjs.org/"
@@ -61,5 +62,5 @@ deploy:
6162
keep_history: true
6263
auth_method: "authToken"
6364
on:
64-
branch : clientBuild
65+
branch : master
6566
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*

lib/viewer/graphConfig.js

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,29 @@ WOQLGraphConfig.prototype.selected_grows = function(v){
7373
return this.bigsel;
7474
}
7575

76-
WOQLGraphConfig.prototype.width = function(v){
77-
if(typeof v != "undefined"){
78-
this.gwidth = v;
76+
/**
77+
* no parameter get the graph width or
78+
* set the graph width and return the WOQLGraphConfig
79+
* @param {size} Number
80+
*/
81+
82+
WOQLGraphConfig.prototype.width = function(size){
83+
if(typeof size != "undefined"){
84+
this.gwidth = size;
7985
return this;
8086
}
8187
return this.gwidth;
8288
}
8389

84-
WOQLGraphConfig.prototype.height = function(v){
85-
if(typeof v != "undefined"){
86-
this.gheight = v;
90+
/**
91+
* no parameter get the graph height or
92+
* set the graph height and return the WOQLGraphConfig
93+
* @param {size} Number
94+
*/
95+
96+
WOQLGraphConfig.prototype.height = function(size){
97+
if(typeof size != "undefined"){
98+
this.gheight = size;
8799
return this;
88100
}
89101
return this.gheight;

lib/woqlClient.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ WOQLClient.prototype.update = function (qurl, woql, opts) {
320320
);
321321
}
322322
const fileList = opts ? opts.fileList : {};
323+
324+
//var formData = new FormData();
325+
//formData.set('file', file);
326+
323327
let q = {'terminus:query' : JSON.stringify(woql), ...fileList};
324328

325329
q = this.addOptionsToWOQL(q, opts);

0 commit comments

Comments
 (0)