code: function(node) {
  		var appConfig;
  
  		if (node) {
  			var appId = node.getAttribute('data-f2-appid');
  			var manifestUrl = node.getAttribute('data-f2-manifesturl');
  
  			if (appId && manifestUrl) {
  				appConfig = {
  					appId: appId,
  					enableBatchRequests: node.hasAttribute('data-f2-enablebatchrequests'),
  					isSecure: node.hasAttribute('data-f2-issecure'),
  					manifestUrl: manifestUrl,
  					root: node
  				};
  
  				// See if the user passed in a block of serialized json
  				var contextJson = node.getAttribute('data-f2-context');
  
  				if (contextJson) {
  					try {
  						appConfig.context = F2.parse(contextJson);
  					}
  					catch (e) {
  						console.warn('F2: "data-f2-context" of node is not valid JSON', '"' + e + '"');
  					}
  				}
  			}
  		}
  
  		return appConfig;
  	}
docs: Generate an AppConfig from the element's attributes
  @method _getAppConfigFromElement
  @private
  @param {Element} node The DOM node from which to generate the F2.AppConfig object
  @return {F2.AppConfig} The new F2.AppConfig object