Add lodash.compat builds

Former-commit-id: 5edfef23bb5d55c8efaf21a1cb345dc2b0d9488b
This commit is contained in:
Timmy Willison
2013-02-08 15:45:08 -05:00
parent ce0441694d
commit 25e5f43d1c
2 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@
var oldDash = window._;
/** Used to match HTML entities */
var reEscapedHtml = /&(?:amp|lt|gt|quot|#x27);/g;
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g;
/** Used to match empty string literals in compiled template source */
var reEmptyStringLeading = /\b__p \+= '';/g,
@@ -1009,7 +1009,7 @@
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#x27;'
"'": '&#39;'
};
/** Used to convert HTML entities to characters */
@@ -4764,7 +4764,7 @@
/**
* The opposite of `_.escape`, this method converts the HTML entities
* `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#x27;` in `string` to their
* `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to their
* corresponding characters.
*
* @static