glow.lang.interpolate() - Provide a system to escape data
Reported by Stephen Elson | July 17th, 2009 @ 01:43 PM | in 1.7
This could be done like:
glow.lang.interpolate(template, data, {
escape: functionReference
})
Where all values in data are passed to function which returns the value to be inserted into the template.
glow.lang should include default escapers like escapeHtml and possibly even escapeUrl & escapeRegex.
Comments and changes to this ticket
-
Stephen Elson July 17th, 2009 @ 01:48 PM
- Milestone changed from 1.6 to 1.7
-
Stephen Elson July 18th, 2009 @ 09:52 AM
- Tag changed from enhancement to enhancement, lang
-
Stephen Elson July 18th, 2009 @ 09:52 AM
- Title changed from glow.lang.interpolate - Provide a system to escape data to glow.lang.interpolate() - Provide a system to escape data
-
Stephen Elson July 24th, 2009 @ 02:49 PM
- State changed from new to accepted
-
Jake Archibald August 26th, 2009 @ 08:14 AM
- State changed from accepted to open
- Assigned user set to Jake Archibald
-
Jake Archibald August 26th, 2009 @ 01:10 PM
- State changed from open to review
[23dca15e607e28a67fcf0f1ed919ffdb2a511928] [2f9316214020c935081d3f9c7221468ba6932cc2]
Done.
-
Jake Archibald September 4th, 2009 @ 10:07 AM
- State changed from review to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library