Update _.createCallback dependencies and fix typo in removeFromCreateIterator.

Former-commit-id: 8478aadcdcb3fbf30a481de1bc515510959a2396
This commit is contained in:
John-David Dalton
2013-07-24 22:54:55 -07:00
parent 57fc027f77
commit 56ff8755d4
6 changed files with 7 additions and 12 deletions

View File

@@ -357,12 +357,7 @@
// match `baseUniq`, `cachePush`, `createCache`, `createIterator`, `getObject`, and `releaseObject` functions
'^( *)(?:var|function) +(?:baseUniq|cachePush|createCache|createIterator|getObject|releaseObject)\\b[\\s\\S]+?\\n\\3}'
].join('|'), 'gm')
);
// exit early if no compilable snippets
if (!snippets) {
return source;
}
) || [];
snippets.forEach(function(snippet, index) {
var isFunc = /\bfunction *[ \w]*\(/.test(snippet),