Update _.defer build dependencies.

Former-commit-id: 159f541373b01f259c9509e16c3fc0c2018e6d51
This commit is contained in:
John-David Dalton
2013-02-17 16:13:42 -08:00
parent 3ed9e0e905
commit 25e4231d7b
2 changed files with 9 additions and 5 deletions

View File

@@ -1200,6 +1200,7 @@
'include=once plus=bind,Chaining',
'category=collections,functions',
'backbone legacy category=utilities minus=first,last',
'legacy include=defer',
'underscore include=debounce,throttle plus=after minus=throttle',
'underscore mobile strict category=functions exports=amd,global plus=pick,uniq',
]
@@ -1214,13 +1215,13 @@
var command = origCommand;
if (index == 1) {
if (/mobile/.test(command)) {
if (/legacy|mobile/.test(command)) {
return;
}
command = 'mobile ' + command;
}
if (index == 2) {
if (/modern/.test(command)) {
if (/legacy|modern/.test(command)) {
return;
}
command = 'modern ' + command;