dist/storage-helper.js
function parse(data) {
  try {
    return JSON.parse(data);
  } catch (e) {
    log('Oops! Some problems parsing this ' + (typeof data === 'undefined' ? 'undefined' : _typeof(data)) + '.', 'error', debug);
  }

  return null;
}
function parse(data) {
  try {
    return JSON.parse(data);
  } catch (e) {
    log('Oops! Some problems parsing this ' + (typeof data === 'undefined' ? 'undefined' : _typeof(data)) + '.', 'error', debug);
  }

  return null;
}
function parse ( data ) { try { return JSON . parse ( data ) ; } catch ( e ) { log ( 'Oops! Some problems parsing this ' + ( typeof data === 'undefined' ? 'undefined' : _typeof ( data ) ) + '.' , 'error' , debug ) ; } return null ; }
JSON parse with error
@param  {String} data
@return {String|null}
JSON parse with error