Skip to content

Commit 73ef2f4

Browse files
author
Adam Soos
committed
WS-3330: gitignore coverage, alphabetize possible JSON params
1 parent b8b8c94 commit 73ef2f4

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
node_modules
33

44
coverage
5+
.nyc_output
56
target
67

78
.grunt

lib/parameters.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,30 @@ function parameters() {
9696
*/
9797
parameters.prototype.loadParams = function() {
9898
var tempJSON = {};
99-
var paramJSON = {
99+
var paramJSON = {//25 lines
100+
"address1": this.address1,
101+
"address2": this.address2,
100102
"content": this.content,
101103
"contentUri": this.contentUri,
104+
"entityType": this.entityType,
105+
"explain": this.explain,
102106
"language": this.language,
103-
"address1": this.address1,
104-
"address2": this.address2,
105107
"maximumResults": this.maximumResults,
108+
"name": this.name,
106109
"name1": this.name1,
107110
"name2": this.name2,
108-
"name": this.name,
109111
"names": this.names,
110-
"threshold": this.threshold,
111-
"targetLanguage": this.targetLanguage,
112-
"entityType": this.entityType,
112+
"options": this.options,
113113
"parameters": this.parameters,
114+
"short-string": this.shortString,
115+
"sourceLanguage": this.sourceLanguage,
114116
"sourceLanguageOfOrigin": this.sourceLanguageOfOrigin,
115117
"sourceLanguageOfUse": this.sourceLanguageOfUse,
116-
"sourceLanguage": this.sourceLanguage,
117118
"sourceScript": this.sourceScript,
118-
"targetScript": this.targetScript,
119+
"targetLanguage": this.targetLanguage,
119120
"targetScheme": this.targetScheme,
120-
"options": this.options,
121-
"explain": this.explain,
122-
"short-string": this.shortString,
121+
"targetScript": this.targetScript,
122+
"threshold": this.threshold,
123123
"_customHeaders": this.customHeaders,
124124
"_urlParameters": this.urlParameters
125125
};

0 commit comments

Comments
 (0)