I hereby claim:
- I am joelpurra on github.
- I am joelpurra (https://keybase.io/joelpurra) on keybase.
- I have a public key whose fingerprint is 4C47 B4FF 173A E6ED 0DB7 3394 6DF6 890D 2A97 7668
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| //----------------------------------------------------------------------- | |
| // <copyright file="UriCssHelper.cs" company="The Swedish Post and Telecom Authority (PTS)"> | |
| // Copyright (c) 2011, 2012 The Swedish Post and Telecom Authority (PTS) | |
| // Developed for PTS by Joel Purra <http://joelpurra.se/> | |
| // Released under the BSD license. | |
| // </copyright> | |
| //----------------------------------------------------------------------- | |
| // https://gist.github.com/2253509 | |
| namespace JoelPurra.Web.Helpers |
A jQuery plugin to clean input fields with common functionality, like trim, normalize whitespace, digits only. It is also easily extensible.
| //----------------------------------------------------------------------- | |
| // <copyright file="MvcAnnotationHelper.cs" company="The Swedish Post and Telecom Authority (PTS)"> | |
| // Copyright (c) 2011, 2012 The Swedish Post and Telecom Authority (PTS) | |
| // Developed for PTS by Joel Purra <http://joelpurra.se/> | |
| // Released under the BSD license. | |
| // </copyright> | |
| //----------------------------------------------------------------------- | |
| // https://gist.github.com/2398934 | |
| namespace JoelPurra.Web.Helpers |
| //----------------------------------------------------------------------- | |
| // <copyright file="MvcScriptHelper.cs" company="The Swedish Post and Telecom Authority (PTS)"> | |
| // Copyright (c) 2011, 2012 The Swedish Post and Telecom Authority (PTS) | |
| // Developed for PTS by Joel Purra <http://joelpurra.se/> | |
| // Released under the BSD license. | |
| // </copyright> | |
| //----------------------------------------------------------------------- | |
| // https://gist.github.com/2398969 | |
| namespace JoelPurra.Web.Helpers |
A jQuery plugin to check if anything has changed in any form on a page, and warn the user before leaving the page.
| /*! | |
| * @license ChangePolling | |
| * Copyright © 2012 Joel Purra <http://joelpurra.se/> | |
| * Released under MIT, BSD and GPL license. Comply with at least one. | |
| * | |
| * A jQuery plugin to check if the value has changed in an input/select/textarea | |
| * without relying on the jQuery .change() event. This is perfomed using polling | |
| * at a configurable interval, which will then trigger the .change() event. | |
| */ | |
| // https://gist.github.com/2944926 |
| /*! | |
| * @license ObjectComparator | |
| * Copyright © 2012 Joel Purra <http://joelpurra.se/> | |
| * Released under MIT, BSD and GPL license. Comply with at least one. | |
| * | |
| * A javascript plugin to create a comparator for one or more properties of an object. | |
| * Comparators are useful for sorting arrays of objects, and for general comparisons | |
| * in, for example, if statements. | |
| * The comparison is done only if the types of both objects' property matches. | |
| */ |
A jQuery plugin to show and hide follow up questions in a form. The follow ups are specified through HTML5 [data-*] attributes.
A javascript plugin used to collect information about forms in a page. This information is then used to filter out potential form problems, like missing values for radio buttons etcetera.