@ericz1803/react-google-calendar
Advanced tools
Comparing version 4.0.0 to 4.0.1
34
index.js
@@ -179,3 +179,3 @@ "use strict"; | ||
if ((_step = _iterator.n()).done) { | ||
_context.next = 29; | ||
_context.next = 28; | ||
break; | ||
@@ -191,4 +191,3 @@ } | ||
_res = _context.sent; | ||
console.log(_res); //process events | ||
//process events | ||
events = this.processEvents(_res.result.items, _res.result.summary, calendar.color); //set state with calculated values | ||
@@ -200,20 +199,20 @@ | ||
}); | ||
_context.next = 27; | ||
_context.next = 26; | ||
break; | ||
case 24: | ||
_context.prev = 24; | ||
case 23: | ||
_context.prev = 23; | ||
_context.t1 = _context["catch"](15); | ||
console.error("Error getting events", _context.t1); | ||
case 27: | ||
case 26: | ||
_context.next = 13; | ||
break; | ||
case 29: | ||
_context.next = 34; | ||
case 28: | ||
_context.next = 33; | ||
break; | ||
case 31: | ||
_context.prev = 31; | ||
case 30: | ||
_context.prev = 30; | ||
_context.t2 = _context["catch"](11); | ||
@@ -223,13 +222,10 @@ | ||
case 34: | ||
_context.prev = 34; | ||
case 33: | ||
_context.prev = 33; | ||
_iterator.f(); | ||
return _context.finish(34); | ||
return _context.finish(33); | ||
case 37: | ||
console.log(this.state.events, this.state.singleEvents); | ||
case 38: | ||
case 36: | ||
case "end": | ||
@@ -239,3 +235,3 @@ return _context.stop(); | ||
} | ||
}, _callee, this, [[0, 7], [11, 31, 34, 37], [15, 24]]); | ||
}, _callee, this, [[0, 7], [11, 30, 33, 36], [15, 23]]); | ||
})); | ||
@@ -242,0 +238,0 @@ |
{ | ||
"name": "@ericz1803/react-google-calendar", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "React Google Calendar Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78276
1474