Exemplo n.º 1
0
		protected ScriptLoadItem processScript(ScriptResource resource)
		{
			// TODO: This prevents us from referencing scripts on-page because these parent script trees
			// are built once for the app for all AppScripts, then repeatedly and lost on each request for all
			// PageScripts
			if (resource.ParentScripts == null)
				resource.BuildParentScripts();
			ScriptLoadItem script = new ScriptLoadItem(resource);
			ProcessedScripts[resource] = script;
			return script;
		}
Exemplo n.º 2
0
		public ScriptLoadItem(ScriptResource script)
		{
			Script = script;
		}