mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-01 22:57:41 -04:00
clean up debug code
This commit is contained in:
+4
-3
@@ -1,11 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function() {
|
||||
var Api = this;
|
||||
var Api = window.Clay = this;
|
||||
|
||||
var testHandler = function() {
|
||||
console.debug('KEEGAN: EVENT', this);
|
||||
Api.getItemByAppKey('background').off(testHandler);
|
||||
console.debug('KEEGAN: this', this);
|
||||
console.debug('KEEGAN: arguments', arguments);
|
||||
// Api.getItemByAppKey('background').off(testHandler);
|
||||
};
|
||||
|
||||
Api.getItemByAppKey('background').on('change', testHandler);
|
||||
|
||||
Reference in New Issue
Block a user