Push.js v0.0.11 发布,一个JavaScript桌面通告API

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/ec1a88dc0c96c34a67048d410b0496e4.png" /></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>    <h3><strong>功能增强</strong></h3>    <ul>     <li>Added support for the <code>requireInteraction</code> option, which allows notifications to persist until they are manually closed or clicked on by a user (<a href="/misc/goto?guid=4958993233415910550">#59</a>)</li>     <li>Replaced Push.count (which could be assigned to) with Push.count() (which cannot) (<a href="/misc/goto?guid=4958993233498723866">#61</a>)</li>     <li>Added support for custom service worker paths via the <code>serviceWorker</code> option (<a href="/misc/goto?guid=4958993233582391727">#67</a>)</li>     <li>Updated the README & unit tests</li>    </ul>    <h3><strong>Bug修复</strong></h3>    <ul>     <li>Resolved issues where the notification count was not being updated when notifications were closed (<a href="/misc/goto?guid=4958993233498723866">#61</a>)</li>     <li>Resolved an issue where Push was throwing an error if a notification with a timeout was manually closed before the timeout expired (<a href="/misc/goto?guid=4958993233682399452">#65</a>)</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958993233774024776" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958993233858966583" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p> </p>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/3ef6b639">http://www.open-open.com/news/view/3ef6b639</a><br />  </p>