Put square brackets around ids in notifier debug output if multiple ids passed

This commit is contained in:
Dan Stillman 2006-06-05 21:51:21 +00:00
parent 3796741911
commit b31be7af7e

View file

@ -44,7 +44,7 @@ Scholar.Notifier = new function(){
}
Scholar.debug("Notifier.trigger('" + event + "', '" + type + "', "
+ (typeof ids=='Object' ? ids.join() : ids) + ") called "
+ (typeof ids=='object' ? '[' + ids.join() + ']' : ids) + ") called "
+ "[column trees: " + _observers['columnTree'].length
+ ", item trees: " + _observers['itemTree'].length + "]");