Switch to an htmlEscapes object for use in _.escape.

Former-commit-id: bc449b5d6868c846d599840e5c0d90d0314fe4b8
This commit is contained in:
John-David Dalton
2012-06-04 02:12:41 -04:00
parent 210485d0be
commit da1124dd37
2 changed files with 59 additions and 34 deletions

View File

@@ -211,6 +211,9 @@
});
});
// remove newline from double-quoted string in `_.template`
source = source.replace('"\';\\n"', '"\';"');
// minify `_.sortBy` internal properties
(function() {
var properties = ['criteria', 'value'],