mirror of
https://github.com/alinanorakari/Pebble-Time-Watchface-Super-Simple.git
synced 2026-01-15 12:05:21 +01:00
added pebble-js-app.js
This commit is contained in:
9
src/js/pebble-js-app.js
Normal file
9
src/js/pebble-js-app.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Pebble.addEventListener('ready', function() {
|
||||||
|
console.log('PebbleKit JS ready!');
|
||||||
|
});
|
||||||
|
|
||||||
|
Pebble.addEventListener('showConfiguration', function() {
|
||||||
|
var url='http://pebble.lastfuture.de/config/supersimple/';
|
||||||
|
console.log('Showing configuration page: '+url);
|
||||||
|
Pebble.openURL(url);
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user