Jason Davies 47eb154ccf Preserve backslashes in _.template()
For example, templates containing things like the literal string
`\ribbit` weren't being escaped properly when being compiled. The `\r`
was being interpreted as a carriage return character.

I've added a test for this too, and all the existing tests pass.
2010-11-09 22:59:03 +00:00
2010-10-15 17:21:41 -04:00
2010-11-09 22:59:03 +00:00
2010-10-29 14:56:25 -07:00
2010-11-07 10:28:14 +10:00
2010-10-15 17:21:41 -04:00
2010-10-05 17:52:36 -04:00

                   __                                                         
                  /\ \                                                         __           
 __  __    ___    \_\ \     __   _ __   ____    ___    ___   _ __    __       /\_\    ____  
/\ \/\ \ /' _ `\  /'_  \  /'__`\/\  __\/ ,__\  / ___\ / __`\/\  __\/'__`\     \/\ \  /',__\ 
\ \ \_\ \/\ \/\ \/\ \ \ \/\  __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\  __/  __  \ \ \/\__, `\
 \ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/
  \/___/  \/_/\/_/\/__,_ /\/____/ \/_/ \/___/  \/____/\/___/  \/_/ \/____/\/_//\ \_\ \/___/ 
                                                                              \ \____/      
                                                                               \/___/

Underscore is a utility-belt library for JavaScript that provides 
a lot of the functional programming support that you would expect 
in Prototype.js (or Ruby), but without extending any of the built-
in JavaScript objects. It's the tie to go along with jQuery's tux.

For Docs, License, Tests, and pre-packed downloads, see:
http://documentcloud.github.com/underscore/

Many thanks to our contributors:

  Dmitry Baranovskiy
  Tim Caswell
  Samuel Clay
  Mathieu D'Amours
  Rick Fletcher
  Mike Frawley
  Kirill Ishanov
  Kris Kowal
  Jed Schmidt
  Noah Sloan
  Nick Stenning
  Luke Sutton
  Ryan Tenney
  John Wright
Description
No description provided
Readme MIT 52 MiB
Languages
JavaScript 97.2%
HTML 2.3%
EJS 0.5%