function publish(bundleId, pathsNotFound) {
	      // exit if id isn't defined
	      if (!bundleId) return;
	      var q = bundleCallbackQueue[bundleId]; // cache result

	      bundleResultCache[bundleId] = pathsNotFound; // exit if queue is empty

	      if (!q) return; // empty callback queue

	      while (q.length) {
	        q[0](bundleId, pathsNotFound);
	        q.splice(0, 1);
	      }
	    }
function publish(bundleId, pathsNotFound) {
	      
	      if (!bundleId) return;
	      var q = bundleCallbackQueue[bundleId]; 

	      bundleResultCache[bundleId] = pathsNotFound; 

	      if (!q) return; 

	      while (q.length) {
	        q[0](bundleId, pathsNotFound);
	        q.splice(0, 1);
	      }
	    }
function publish ( bundleId , pathsNotFound ) { // exit if id isn't defined if ( ! bundleId ) return ; var q = bundleCallbackQueue [ bundleId ] ; // cache result bundleResultCache [ bundleId ] = pathsNotFound ; // exit if queue is empty if ( ! q ) return ; // empty callback queue while ( q . length ) { q [ 0 ] ( bundleId , pathsNotFound ) ; q . splice ( 0 , 1 ) ; } }
Publish bundle load event.
@param {string} bundleId - Bundle id
@param {string[]} pathsNotFound - List of files not found
Publish bundle load event .