1
0
mirror of synced 2024-11-25 22:36:03 +03:00

Fixes and issue where If args are not present script terminates

This commit is contained in:
Shawn 2015-10-19 15:34:44 -07:00
parent 8ad8f200ba
commit f3a29b87e1

View File

@ -357,6 +357,10 @@ define([
'select': 'selecting', 'select': 'selecting',
'unselect': 'unselecting' 'unselect': 'unselecting'
}; };
if (args === undefined) {
args = {};
}
if (name in preTriggerMap) { if (name in preTriggerMap) {
var preTriggerName = preTriggerMap[name]; var preTriggerName = preTriggerMap[name];