Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Without UI option #88

Open
izellevy opened this issue Jul 22, 2014 · 3 comments
Open

Without UI option #88

izellevy opened this issue Jul 22, 2014 · 3 comments

Comments

@izellevy
Copy link

It would be good if there was an option whether to show UI so that we can use only API functions.

@adamschwartz
Copy link
Contributor

In that event, I believe you can include only https://github.com/HubSpot/offline/blob/master/coffee/offline.coffee and that will do the trick. @zackbloom did we ever create a UI-less build for this?

@zackbloom
Copy link
Contributor

There isn't an explicit build. As Adam said though, you can just include
whichever files you are interested in the functionality of, and all the
rest will work.

Zack Bloom

On Tue, Jul 22, 2014 at 2:37 PM, Adam Schwartz notifications@github.com
wrote:

In that event, I believe you can include only
https://github.com/HubSpot/offline/blob/master/coffee/offline.coffee and
that will do the trick. @zackbloom https://github.com/zackbloom did we
ever create a UI-less build for this?


Reply to this email directly or view it on GitHub
#88 (comment).

@benurb
Copy link
Contributor

benurb commented Oct 5, 2015

It would still be a good idea to have a withoutUI option, because even without the CSS files offline.js appends nodes to the DOM. Imho that's not a desired behavior if you only want the JS API. What do you think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants