}\r
\r
#endregion\r
-#if NET_3_5\r
void AppendResourceScriptContents (StringWriter sw, CompositeEntry entry)\r
{\r
if (entry.Assembly == null || entry.Attribute == null || String.IsNullOrEmpty (entry.NameOrPath))\r
if (notifyScriptLoaded)\r
OutputScriptLoadedNotification (response.Output);\r
}\r
-#endif\r
void OutputScriptLoadedNotification (TextWriter writer)\r
{\r
writer.WriteLine ();\r
{\r
HttpRequest request = context.Request;\r
bool notifyScriptLoaded = request.QueryString ["n"] == "t";\r
-#if NET_3_5\r
List <CompositeEntry> compositeEntries = CompositeScriptReference.GetCompositeScriptEntries (request.RawUrl);\r
if (compositeEntries != null) {\r
SendCompositeScript (context, request, notifyScriptLoaded, compositeEntries);\r
return;\r
}\r
-#endif\r
EmbeddedResource res;\r
Assembly assembly; \r
SendEmbeddedResource (context, out res, out assembly);\r
if (notifyScriptLoaded)\r
OutputScriptLoadedNotification (writer);\r
}\r
-#if NET_3_5\r
static void CheckIfResourceIsCompositeScript (string resourceName, ref bool includeTimeStamp)\r
{\r
bool isCompositeScript = resourceName.StartsWith (CompositeScriptReference.COMPOSITE_SCRIPT_REFERENCE_PREFIX, StringComparison.Ordinal);\r
{\r
return false;\r
}\r
-#endif\r
// TODO: add value cache?\r
static string GetScriptStringLiteral (string value)\r
{\r