Skip to content

Commit

Permalink
added a sample image and js file
Browse files Browse the repository at this point in the history
  • Loading branch information
Oobert committed Jun 13, 2013
1 parent b5bddaf commit b9f0d73
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ASPNET.Plugin.Master/Lib/AssembleVirtualPathProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private bool IsAppResourcePath(string virtualPath)

return null != manifest;

//return checkPath.StartsWith("~/Views/home/Index.cshtml", StringComparison.InvariantCultureIgnoreCase);


}
public override bool FileExists(string virtualPath)
Expand Down
3 changes: 2 additions & 1 deletion ASPNET.Plugin.PluginOne/ASPNET.Plugin.PluginOne.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Content\plugin.png" />
<Content Include="Global.asax" />
<Content Include="Content\Site.css" />
<EmbeddedResource Include="Scripts\pluginExample.js" />
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
Expand All @@ -143,7 +145,6 @@
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="Models\" />
<Folder Include="Scripts\" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
Expand Down
Binary file added ASPNET.Plugin.PluginOne/Content/plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ASPNET.Plugin.PluginOne/Scripts/pluginExample.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alert('hi from the plugin');
8 changes: 8 additions & 0 deletions ASPNET.Plugin.PluginOne/Views/PluginOne/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
}

<h2>Index of plugin one</h2>


<img src="~/Content/plugin.png" />

@section scripts{

<script src="~/Scripts/pluginExample.js"></script>
}

0 comments on commit b9f0d73

Please sign in to comment.