Merge "Fix lint errors"
This commit is contained in:
commit
1a76324f14
@ -297,7 +297,8 @@
|
||||
*/
|
||||
_recursivelyRemoveDeleted(obj) {
|
||||
for (const k in obj) {
|
||||
if (!obj.hasOwnProperty(k)) { return; }
|
||||
if (!obj.hasOwnProperty(k)) { continue; }
|
||||
|
||||
if (typeof obj[k] == 'object') {
|
||||
if (obj[k].deleted) {
|
||||
delete obj[k];
|
||||
@ -310,7 +311,7 @@
|
||||
|
||||
_recursivelyUpdateAddRemoveObj(obj, addRemoveObj, path = []) {
|
||||
for (const k in obj) {
|
||||
if (!obj.hasOwnProperty(k)) { return; }
|
||||
if (!obj.hasOwnProperty(k)) { continue; }
|
||||
if (typeof obj[k] == 'object') {
|
||||
const updatedId = obj[k].updatedId;
|
||||
const ref = updatedId ? updatedId : k;
|
||||
|
@ -132,9 +132,9 @@
|
||||
// then hides the text box and submit button.
|
||||
_computeHideAgreementClass(name, config) {
|
||||
for (const key in config) {
|
||||
if (!config.hasOwnProperty(key)) { return; }
|
||||
if (!config.hasOwnProperty(key)) { continue; }
|
||||
for (const prop in config[key]) {
|
||||
if (!config[key].hasOwnProperty(prop)) { return; }
|
||||
if (!config[key].hasOwnProperty(prop)) { continue; }
|
||||
if (name === config[key].name &&
|
||||
!config[key].auto_verify_group) {
|
||||
return 'hideAgreementsTextBox';
|
||||
|
@ -189,6 +189,7 @@
|
||||
|
||||
const params = [];
|
||||
for (const p in opt_params) {
|
||||
if (!opt_params.hasOwnProperty(p)) { continue; }
|
||||
if (opt_params[p] == null) {
|
||||
params.push(encodeURIComponent(p));
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user