Remove dependencyObject.

Former-commit-id: 374611a2f1180402700fad5ba7f86e390150d37b
This commit is contained in:
John-David Dalton
2013-07-15 08:20:16 -07:00
parent 77d323b38c
commit e385b3499b
3 changed files with 38 additions and 40 deletions

View File

@@ -331,11 +331,6 @@
'sortBy'
];
var depObjProps = [
'isEqual',
'keys'
];
var props = [
'cache',
'criteria',
@@ -343,13 +338,6 @@
'value'
];
// minify `dependencyObject` properties
depObjProps.forEach(function(prop, index) {
source = source.replace(RegExp("\\b(dependencyObject(?:\\.|\\['))" + prop + '\\b', 'g'), function(match, prelude) {
return prelude + minNames[iteratorOptions.length + props.length + index];
});
});
// minify other properties used in functions
var snippets = source.match(RegExp('^( *)(?:var|function) +(?:' + funcNames.join('|') + ')\\b[\\s\\S]+?\\n\\1}', 'gm'));
if (!snippets) {