mirror of
https://github.com/alinanorakari/Pebble-Time-Watchface-Super-Simple.git
synced 2025-08-30 08:29:11 +02:00
added pebble-js-app.js
This commit is contained in:
parent
6d69c296d9
commit
c9d52de376
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);
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user