Supports default @inherits directive umbraco.MacroEngines.DynamicNodeContext
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="umbraco.MacroEngines.RazorUmbracoFactory, umbraco.MacroEngines"/>
|
||||
<pages pageBaseType="System.Web.WebPages.WebPage, System.Web.WebPages">
|
||||
<pages pageBaseType="umbraco.MacroEngines.DynamicNodeContext">
|
||||
<namespaces>
|
||||
<add namespace="Microsoft.Web.Helpers" />
|
||||
</namespaces>
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace umbraco.MacroEngines
|
||||
if (razorSyntax == null)
|
||||
throw new ArgumentNullException("razorSyntax");
|
||||
if (scriptLanguage == null)
|
||||
throw new AbandonedMutexException("scriptLanguage");
|
||||
throw new ArgumentNullException("scriptLanguage");
|
||||
|
||||
//Get Rid Of Whitespace From Start/End
|
||||
razorSyntax = razorSyntax.Trim();
|
||||
|
||||
Reference in New Issue
Block a user