mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-27 20:36:33 -04:00
add eslint and clean up code
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ module.exports = [
|
||||
"type": "toggle",
|
||||
"appKey": "cool_stuff",
|
||||
"label": "Enable Cool Stuff",
|
||||
"value": false
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"type": "color",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function() {
|
||||
var Clay = this;
|
||||
var Clay = window.Clay = this;
|
||||
|
||||
Clay.getItemByAppKey('cool_stuff').on('change', function() {
|
||||
if (this.get()) {
|
||||
|
||||
Reference in New Issue
Block a user