Skip to main content

Bug Tracker

Side navigation

#4573 closed enhancement (invalid)

Opened April 22, 2009 01:26PM UTC

Closed February 05, 2010 08:31PM UTC

Last modified March 13, 2012 03:59PM UTC

[validate] - string.format

Reported by: yuniti Owned by: joern
Priority: major Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

The string.format function inside of validate is a quite useful one, and one that I had actually already written myself before I started to use jQuery.

Just a suggestion to include this version instead of the one currently there, for 2 reasons:

1) Code reuse (string formatting is very useful in localization)

2) Optimization: my version uses positional regex, and also can be used on any string (so that a string doesn't have to be marked with $.format, saving space in minimization)

3) Xml useage: my string.format version can also format a string using an XML source, quite useful for ajax calls

File attached. Thanks!

Attachments (1)
Change History (2)

Changed October 13, 2009 01:10AM UTC by dmethvin comment:1

component: unfilledplugin
owner: → joern

Changed February 05, 2010 08:31PM UTC by john comment:2

resolution: → invalid
status: newclosed

Please file plugin bugs with the appropriate author on their bug tracker.