context: calendarManager.prototype.checkCalendarURL = function calMan_checkCalendarURL( CalendarURL ){   var calendarSubscribed = this.isURLAlreadySubscribed( CalendarURL );   if( calendarSubscribed === false )   {      //not subscribed, prompt the user to do so.      var arrayForNames = CalendarURL.split( "/" );      var CalendarNameWithExtension = arrayForNames[ arrayForNames.length - 1 ];      var CalendarName = CalendarNameWithExtension.replace( ".ics", "" );      this.launchAddCalendarDialog( CalendarName, CalendarURL );     }   else   {      //calendarSubscribed is the subscribed calendar object.   }         }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/b1f221b0a62748eed6c712c2a69f337af6956de7/calendarManager.js/buggy/calendar/resources/content/calendarManager.js