Simplify _.omit and _.pick for the lodash underscore build.

Former-commit-id: 9a42c964ce4003bde1b4ce55f0f851141dbc9bb6
This commit is contained in:
John-David Dalton
2012-10-13 23:32:17 -07:00
parent dea8ad4c49
commit 4b95f07923
3 changed files with 46 additions and 2 deletions

View File

@@ -1499,7 +1499,7 @@
equal(compiled(data), '1');
});
test('should work when passing `options.variable`', function() {
var compiled = _.template(
'<% _.forEach( data.a, function( value ) { %>' +