src/bigscreen.js
function(reason, element) {
		if (elements.length > 0) {
			var obj = elements.pop();
			element = element || obj.element;

			obj.error.call(element, reason);
			bigscreen.onerror(element, reason);
		}
	}
function(reason, element) {
		if (elements.length > 0) {
			var obj = elements.pop();
			element = element || obj.element;

			obj.error.call(element, reason);
			bigscreen.onerror(element, reason);
		}
	}
function ( reason , element ) { if ( elements . length > 0 ) { var obj = elements . pop ( ) ; element = element || obj . element ; obj . error . call ( element , reason ) ; bigscreen . onerror ( element , reason ) ; } }
Make a callback to the error handlers and clear the element from the stack when an error occurs.
Make a callback to the error handlers and clear the element from the stack when an error occurs .