Last active
January 4, 2016 19:42
-
-
Save cat-haines/d7eebaa05fcfd3bbd6e4 to your computer and use it in GitHub Desktop.
Pebble.js Tutorial Part 1 - 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var UI = require('ui'); | |
// Create a Card with title and subtitle | |
var card = new UI.Card({ | |
title:'Weather', | |
subtitle:'Fetching...' | |
}); | |
// Display the Card | |
card.show(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"appKeys": {}, | |
"capabilities": [ | |
"" | |
], | |
"companyName": "Pebble", | |
"sdkVersion": "3", | |
"shortName": "P.js Tut 1-1", | |
"longName": "Pebble.js Tutorial 1-1", | |
"projectType": "pebblejs", | |
"resources": { | |
"media": [ | |
{ | |
"file": "images/menu_icon.png", | |
"menuIcon": true, | |
"name": "IMAGE_MENU_ICON", | |
"type": "png" | |
}, | |
{ | |
"file": "images/logo_splash.png", | |
"name": "IMAGE_LOGO_SPLASH", | |
"type": "png" | |
}, | |
{ | |
"file": "images/tile_splash.png", | |
"name": "IMAGE_TILE_SPLASH", | |
"type": "png" | |
}, | |
{ | |
"file": "fonts/UbuntuMono-Regular.ttf", | |
"name": "MONO_FONT_14", | |
"type": "font" | |
} | |
] | |
}, | |
"uuid": "3586cf15-cc83-47d6-9541-48f0afd2deef", | |
"versionCode": 1, | |
"versionLabel": "1.0", | |
"watchapp": { | |
"watchface": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment