Push.js v0.0.12 发布,一个JavaScript桌面通告API
jopen 8年前
<p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/ec1a88dc0c96c34a67048d410b0496e4.png" /></strong></p> <p> </p> <p>Push.js是一个Javascript开发的快速桌面通告解决方案,这个通告API允许 Chrome, Safari, Firefox, and IE 9+等浏览器推送通告到用户桌面。</p> <p>DEMO见:<a href="/misc/goto?guid=4958990722326076330">http://nickersoft.github.io/push.js/demo.html#</a></p> <h2>更新日志</h2> <ul> <li>Added Coveralls support to the repo</li> <li>Push.js now compatible with <a href="/misc/goto?guid=4958823455215927795">Fluid</a> (thanks to <a href="/misc/goto?guid=4958998852812519403">mshick</a>)</li> <li>Corrected MAJOR issue where click/close events were not executing on mobile</li> <li>Added new <code>link</code> option, where passing in a relative URL will enable mobile notifications to automatically open the URL when clicked <ul> <li>Only caveat is that <code>serviceWorker.js</code> (previously <code>sw.js</code>) <strong><em>must</em></strong> be in the same folder as Push when this option is used</li> </ul> </li> </ul> <ul> <li>Added more badges to the README</li> <li>IntelliJ files now included in <code>.gitignore</code></li> <li>README now contains info on obtaining info from Push.Permission</li> <li>Updated copyright</li> <li>Added "Additional Resources" info to README</li> <li>Added <code>yarn.lock</code> file (info on what that is and why it's important can be found <a href="/misc/goto?guid=4958998852902711216">here</a>)</li> <li>Minor bug fixes, as always</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958998852982215675" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958998853064861897" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/238534da">http://www.open-open.com/news/view/238534da</a></p>