docs/scripts/sunlight.js
function switchBackFromEmbeddedLanguageIfNecessary(context) {
			var current = last(context.embeddedLanguageStack),
				lang;
			
			if (current && current.switchBack(context)) {
				context.language = languages[current.parentLanguage];
				lang = context.embeddedLanguageStack.pop();
				
				//restore old items
				context.items = clone(lang.oldItems);
				lang.oldItems = {};
			}
		}
function switchBackFromEmbeddedLanguageIfNecessary(context) {
			var current = last(context.embeddedLanguageStack),
				lang;
			
			if (current && current.switchBack(context)) {
				context.language = languages[current.parentLanguage];
				lang = context.embeddedLanguageStack.pop();
				
				//restore old items
				context.items = clone(lang.oldItems);
				lang.oldItems = {};
			}
		}
function switchBackFromEmbeddedLanguageIfNecessary ( context ) { var current = last ( context . embeddedLanguageStack ) , lang ; if ( current && current . switchBack ( context ) ) { context . language = languages [ current . parentLanguage ] ; lang = context . embeddedLanguageStack . pop ( ) ; //restore old items context . items = clone ( lang . oldItems ) ; lang . oldItems = { } ; } }
called after processing the current
called after processing the current