<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 04:13:38 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Math.TAU polyfill - pmw57</title>
      <link>https://snipplr.com/view/75220/mathtau-polyfill</link>
      <description>&lt;p&gt;Brendan Eich is working on officially adding Math.TAU to JavaScript.&#13;
Until JavaScript has full support for the Math.TAU constant, you can add the following at the start of your programs to add support for the TAU constant.&lt;/p&gt;</description>
      <pubDate>Wed, 16 Jul 2014 15:53:40 UTC</pubDate>
      <guid>https://snipplr.com/view/75220/mathtau-polyfill</guid>
    </item>
    <item>
      <title>(JavaScript) Get URL Parameter - pmw57</title>
      <link>https://snipplr.com/view/67253/get-url-parameter</link>
      <description>&lt;p&gt;Code from https://snipt.net/geekyjohn/get-url-param/ updated so that most jslint issues are resolved, and updated the return to use a guard condition instead of a separate if statement.&lt;/p&gt;</description>
      <pubDate>Wed, 19 Sep 2012 19:45:38 UTC</pubDate>
      <guid>https://snipplr.com/view/67253/get-url-parameter</guid>
    </item>
    <item>
      <title>(JavaScript) Class handling functions - pmw57</title>
      <link>https://snipplr.com/view/67176/class-handling-functions</link>
      <description>&lt;p&gt;Standard hasClass, addClass, and removeClass functions.&#13;
-  reworked so that jsLint is happy about them&#13;
-  removeClass function trims things after removing a class name&#13;
- tests help to ensure that all common use-cases are covered&lt;/p&gt;</description>
      <pubDate>Thu, 13 Sep 2012 18:25:32 UTC</pubDate>
      <guid>https://snipplr.com/view/67176/class-handling-functions</guid>
    </item>
    <item>
      <title>(JavaScript) Cookie handling functions - pmw57</title>
      <link>https://snipplr.com/view/45954/cookie-handling-functions</link>
      <description>&lt;p&gt;Cleaned up (with the help of jslint.com)  versions of cookie handling functions&lt;/p&gt;</description>
      <pubDate>Mon, 20 Dec 2010 11:27:30 UTC</pubDate>
      <guid>https://snipplr.com/view/45954/cookie-handling-functions</guid>
    </item>
  </channel>
</rss>
