<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/native</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 06:29:47 GMT</pubDate>
<item>
<title>(JavaScript) Use Native Confirmation Dialog with PhoneGap - parkerkrhoyt</title>
<link>http://snipplr.com/view/60538/use-native-confirmation-dialog-with-phonegap/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Nov 2011 07:34:39 GMT</pubDate>
<guid>http://snipplr.com/view/60538/use-native-confirmation-dialog-with-phonegap/</guid>
</item>
<item>
<title>(JavaScript) Use PhoneGap to Create a File - parkerkrhoyt</title>
<link>http://snipplr.com/view/60534/use-phonegap-to-create-a-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Nov 2011 07:24:22 GMT</pubDate>
<guid>http://snipplr.com/view/60534/use-phonegap-to-create-a-file/</guid>
</item>
<item>
<title>(JavaScript) JavaScript: Reverse String [Extended Native] - cfleschhut</title>
<link>http://snipplr.com/view/33407/javascript-reverse-string-extended-native/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 28 Apr 2010 05:17:24 GMT</pubDate>
<guid>http://snipplr.com/view/33407/javascript-reverse-string-extended-native/</guid>
</item>
<item>
<title>(JavaScript) ErrorConstructor - Sephr</title>
<link>http://snipplr.com/view/13546/errorconstructor/</link>
<description><![CDATA[ <p>ErrorConstructor produces error constructors that behave the same way as the seven native error constructors.

Usage: `ErrorConstructor([constructorName])`

*If no constructorName is specified, the default of `Error.prototype.name` is used*

Usage for generated error constructor: `errorConstructor([message[, location[, lineNumber]])`

Examples:

    var SecurityError = ErrorConstructor("Security Error"),
    MarkupError = ErrorConstructor("(X)HTML Markup Error");
    //these will both throw a SecurityError starting with "Security Error on line 83:"
    var xss_error = "Possible XSS Vector\n\
     JSON XHR response parsed with eval()\n\
     Recommended fix: Parse JSON with JSON.parse";
    throw new SecurityError(xss_error, "/js/searchResultsJSONloader.js", 83);
    throw SecurityError(xss_error, "/js/searchResultsJSONloader.js", 83);
    //these will both throw the following MarkupError:
    //"(X)HTML Markup Error on line 1: Invalid DOCTYPE"
    throw new MarkupError("Invalid DOCTYPE");
    throw MarkupError("Invalid DOCTYPE");</p> ]]></description>
<pubDate>Sun, 29 Mar 2009 00:27:52 GMT</pubDate>
<guid>http://snipplr.com/view/13546/errorconstructor/</guid>
</item>
</channel>
</rss>