webplatform / annotation-service

Hypothes.is’ container project to customize for notes.webplatform.org
1 stars 0 forks source link

Add static assets #4

Closed tilgovi closed 10 years ago

tilgovi commented 10 years ago

We should check in JavaScript code to do the iframe communication for #2 and any images needed for branding.

I propose the following structure:

tilgovi commented 10 years ago

That structure is rooted at the root of this repo. The assets should go inside the python package.

renoirb commented 10 years ago

I thought of serving the SsoHandler from www.WebPlatform.org.That is a {cookie,backend}-less domain.

Or maybe to have it as a require() module and have bower.json to pull it it from the GitHub repo.

I'll spend some time on it to see what’s best quick.

tilgovi commented 10 years ago

Where's the js stored right now?

Can you put the images in here so we can at least kill your h fork and we can drop our branch?

I just need the static assets here and I can get you ported over in no time.

Bump @renoirb

renoirb commented 10 years ago

Hi @tilgovi the file is part of the build process in the github.com/webplatform/www.webplatform.org project and the original form is src/files/assets/js/sso.js. The file is meant to be served through the CDN at either:

Of course, the hostname will eventually be exactly the same under SSL soon.