I don't think this alone is going to work... The issue is that this would cause the parent view to lose its mapping while children are being set. I would propose trying to fix this by changing lines 158-160 as follows:

	var prevMap = viewMap;
	viewMap = triggers;
	reset();
	viewMap = prevMap;