Travis build: 848 [cron]

This commit is contained in:
30secondsofcode
2018-12-04 14:27:55 +00:00
parent b6c5238fa3
commit cc71e41d30
6 changed files with 14 additions and 14 deletions

4
dist/_30s.es5.js vendored
View File

@ -1274,9 +1274,9 @@
var isUpperCase = function isUpperCase(str) {
return str === str.toUpperCase();
};
var isValidJSON = function isValidJSON(obj) {
var isValidJSON = function isValidJSON(str) {
try {
JSON.parse(obj);
JSON.parse(str);
return true;
} catch (e) {
return false;

4
dist/_30s.esm.js vendored
View File

@ -610,9 +610,9 @@ const isSymbol = val => typeof val === 'symbol';
const isTravisCI = () => 'TRAVIS' in process.env && 'CI' in process.env;
const isUndefined = val => val === undefined;
const isUpperCase = str => str === str.toUpperCase();
const isValidJSON = obj => {
const isValidJSON = str => {
try {
JSON.parse(obj);
JSON.parse(str);
return true;
} catch (e) {
return false;

4
dist/_30s.js vendored
View File

@ -616,9 +616,9 @@
const isTravisCI = () => 'TRAVIS' in process.env && 'CI' in process.env;
const isUndefined = val => val === undefined;
const isUpperCase = str => str === str.toUpperCase();
const isValidJSON = obj => {
const isValidJSON = str => {
try {
JSON.parse(obj);
JSON.parse(str);
return true;
} catch (e) {
return false;