Ensure mobile build has properties correctly minified.

Former-commit-id: 61da738afbcefc7ecd277190147041d884002af1
This commit is contained in:
John-David Dalton
2012-09-11 09:15:32 -07:00
parent 9d8d17b964
commit 83c6fb089e
4 changed files with 4 additions and 4 deletions

View File

@@ -322,7 +322,7 @@
properties.forEach(function(property, index) {
var reBracketProp = RegExp("\\['(" + property + ")'\\]", 'g'),
reDotProp = RegExp('\\.' + property + '\\b', 'g'),
rePropColon = RegExp("([^?])(')?\\b" + property + "\\2 *:", 'g');
rePropColon = RegExp("([^?\\s])\\s*([\"'])?\\b" + property + "\\2 *:", 'g');
if (isCompilable) {
// add quotes around properties in the inlined `_.merge` and `_.sortBy`