GoogleChrome/experience-sampling — pull request #44 by adrifelt (2014-10-19 16:20:58+00:00)
Title: Bugfix: clearNotifications

clearNotifications is sometimes invoked without an alarm object. On those occurrences, alarm.name is undefined. This makes the alarm object optional and checks whether alarm is there before checking alarm.name.