From 525a78fc531a797f62366cbe42b16118dc994fb8 Mon Sep 17 00:00:00 2001 From: keegan-lillo Date: Thu, 3 Mar 2016 11:32:31 +1100 Subject: [PATCH] Update download instructions for CloudPebble --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8293a75..13e9071 100755 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Clay will by default automatically handle the 'showConfiguration' and 'webviewcl Clay will eventually be built into the Pebble SDK. However, while it is still in beta you will need to follow the steps shown below: -1. Download the **clay.js** distribution file from the [latest release](/releases/latest). +1. Download the **clay.js** distribution file from the [latest release](releases/latest). 2. Drop `clay.js` in your project's `src/js` directory. 3. Create a JSON file called `config.json` and place it in your `src/js` directory. 4. In order for JSON files to work you may need to change a line in your `wscript` from `ctx.pbl_bundle(binaries=binaries, js=ctx.path.ant_glob('src/js/**/*.js'))` to `ctx.pbl_bundle(binaries=binaries, js=ctx.path.ant_glob(['src/js/**/*.js', 'src/js/**/*.json']))`. @@ -27,7 +27,7 @@ Clay will eventually be built into the Pebble SDK. However, while it is still in Clay will eventually be built into CloudPebble. However while it is still in beta, you will need to follow some steps 1. Create a new JavaScript file called `clay.js`. -2. Copy the contents of the Clay distribution file from [dist/clay.js](dist/clay.js) into your newly created `clay.js` file. +2. Copy the contents from the **clay.js** distribution file found in the [latest release](releases/latest) into your newly created `clay.js` file. 3. Create another JavaScript file called `config.js` with the following content. This will act as your config's root array element, from which the rest of the page is built up: ```javascript