Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Structure of Application #18

@jayfield1979

Description

@jayfield1979

Hi, I love the Google Realtime API and had no problems getting the Quick Start app working. My next port of call was to try and host the playground app.

I downloaded the repository as a ZIP, unzipped it and uploaded it to my server and have a couple of issues.

First the structure didn't appear to be correct. In the root folder there are no HTML pages. After some digging I found the found the playground.html file in the 'templates' folder. When I navigated there in my browser I saw int eh console that none of the include files could be found.

I copied 'playground.html' to the root folder and tried again. This time everything did appear to load so I then ensured the correct Client and App id's were placed in the 'app-globals' element.

Tried to run it again. This time it authenticated and I could either create a new file or open an existing file from my drive.

I created a new file and checked my Google Drive. Sure enough it was there. I then started editing the template document (just like on the demo you host) and in the text field I got the following error:

Uncaught TypeError: Expected string for text, but was: undefined

The collaborative list and map seemed to work but the text is broken.

Is there something wrong what I did or are the files in the repository a little messed up?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions