Giter Site home page Giter Site logo

ahmadsoe / ember-offline Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 11.0 631 KB

Show notification on Ember app when user goes offline

Home Page: https://ahmadsoe.github.io/ember-offline/

License: MIT License

JavaScript 83.22% Shell 2.16% HTML 14.62%

ember-offline's People

Contributors

ahmadsoe avatar aklkv avatar devotox avatar ember-tomster avatar fredguth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ember-offline's Issues

Any updates or alternatives available?

Hello!

Our team noticed this seems to no longer be working nicely with our app. We're not sure exactly when it stopped working, but we're on Ember 2.12 and it seems to behave in different strange ways for different members of my team:

  • One person, on Linux, does not see the little offline box appear when internet is disconnected
  • Another person (me), on Mac OS X 10.14 on Chrome, sees the offline box appear when I disconnect internet, but then the offline box does not go away when I reconnect the internet

Does anyone have any alternatives? Or is there any maintenance on this add-on planned?

Thanks!

Incompatible with fastboot

Just opening an issue to bring attention to the pull request opened by @devotox

The initializer throws an error when trying to set window.Offline.options in the fastboot environment.

I've been using a locally patched initializer.

Thank you!

Doesn't get along with Ember Inspector

Chrome 44.0.2403.125
Ember Inspector 1.8.3
Ember 1.13.5
Ember Data 1.13.7

I'm getting this on the console only when I try to load the deprecations tab of Ember Inspector which then doesn't work.

Uncaught TypeError: Cannot read property 'responseText' of null
  RSVP.Promise.xhr.onload @ VM1710:1460
  a.onprogress.a.onload @ offline.min.js:1

After uninstalling ember-offline everything worked just fine.

Thanks

How to use it

Do I only need to install it and it should work? how can I configure it ? I really can't see much from the dummy template. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.