docs: function(elm) {
  			var brkpt = elm['breakpoint'];
  			var entr = elm['enter'] || undefined;
  
  			// add function to stack
  			mediaListeners.push(elm);
  
  			// add corresponding entry to mediaInit
  			mediaInit.push(false);
  
  			if (testForCurr(brkpt)) {
  				if (entr !== undefined) {
  					entr.call(null, {entering : curr, exiting : prev});
  				}
  				mediaInit[(mediaListeners.length - 1)] = true;
  			}
  		}