Add _.omit as an alias of _.drop.

Former-commit-id: 630b0897bb49161fbc3b51a38c816b4bce548fba
This commit is contained in:
John-David Dalton
2012-08-24 08:27:38 -07:00
parent 48c13c990f
commit 21eda2a1a3
7 changed files with 107 additions and 89 deletions

View File

@@ -83,6 +83,7 @@
'include': 'contains',
'inject': 'reduce',
'methods': 'functions',
'omit': 'drop',
'select': 'filter',
'tail': 'rest',
'take': 'first',
@@ -92,6 +93,7 @@
/** Used to associate real names with their aliases */
var realToAliasMap = {
'contains': ['include'],
'drop': ['omit'],
'every': ['all'],
'filter': ['select'],
'find': ['detect'],