Skip to content

Commit

Permalink
Setup tests and covered Alarms API Methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Berger committed Feb 21, 2015
1 parent 4ee0852 commit 6160826
Show file tree
Hide file tree
Showing 16 changed files with 24,865 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alarms.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ func (a *Alarms) ClearAll(callback func(wasCleared bool)) {
* Events
*/
// OnAlarm is fired when an alarm has elapsed. Useful for event pages.
func (a *Alarms) OnAlarm(callback func(Alarm)) {
func (a *Alarms) OnAlarm(callback func(alarm Alarm)) {
a.o.Get("onAlarm").Call("addListener", callback)
}
2 changes: 1 addition & 1 deletion examples/getting-started-sample/popup.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 6160826

Please sign in to comment.