Skip to content

Commit 317b802

Browse files
committed
Update box.com demo
1 parent cfaf595 commit 317b802

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

demos/box.html

+1-7
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,10 @@ <h1>hello( box )</h1>
4343

4444
<p>Initiate box client</p>
4545

46-
<script>
47-
var BOX_CLIENT_ID = {
48-
'local.knarly.com' : 'rdyb5se2fcuioryle3qdw2wcrps959x4',
49-
'adodson.com' : '264d13a33ba845f396a152cc326e6f5d'
50-
}[window.location.hostname];
51-
</script>
5246

5347
<script class="pre">
5448
hello.init({
55-
box : BOX_CLIENT_ID
49+
box : 'rdyb5se2fcuioryle3qdw2wcrps959x4'
5650
},{
5751
redirect_uri:'../redirect.html',
5852
response_type:'code'

modules.html

+9-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ <h2>HelloJS already has you connected</h2>
2323
</tr>
2424
</thead>
2525
<tbody>
26-
<tr>
27-
<td><a href="./src/modules/bikeindex.js">bikeindex.js</a></td>
28-
<td><a href="demos/bikeindex.html">Bike Index demo</a></td>
29-
<td></td>
26+
<tr>
27+
<td><a href="./src/modules/box.js">box.js</a></td>
28+
<td><a href="demos/box.html">Box.com demo</a></td>
29+
<td></td>
30+
</tr>
31+
<tr>
32+
<td><a href="./src/modules/bikeindex.js">bikeindex.js</a></td>
33+
<td><a href="demos/bikeindex.html">Bike Index demo</a></td>
34+
<td></td>
3035
</tr>
3136
<tr>
3237
<td><a href="./src/modules/dropbox.js">dropbox.js</a></td>

0 commit comments

Comments
 (0)