forked from dotnet/blazor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename "blazor content" project to "blazor library". Fixes #539
- Loading branch information
1 parent
b93b8b6
commit 01d4e78
Showing
11 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorContent.CSharp/Component1.cshtml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary.CSharp/Component1.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="my-component"> | ||
This Blazor component is defined in the <strong>BlazorLibrary.CSharp</strong> package. | ||
</div> |
4 changes: 2 additions & 2 deletions
4
.../BlazorContent.CSharp/ExampleJsInterop.cs → .../BlazorLibrary.CSharp/ExampleJsInterop.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
4 changes: 2 additions & 2 deletions
4
...ontent.CSharp/content/exampleJsInterop.js → ...ibrary.CSharp/content/exampleJsInterop.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// This file is to show how a content package may provide JavaScript interop features | ||
// This file is to show how a library package may provide JavaScript interop features | ||
// wrapped in a .NET API | ||
|
||
Blazor.registerFunction('BlazorContent.CSharp.ExampleJsInterop.Prompt', function (message) { | ||
Blazor.registerFunction('BlazorLibrary.CSharp.ExampleJsInterop.Prompt', function (message) { | ||
return prompt(message, 'Type anything here'); | ||
}); |
2 changes: 1 addition & 1 deletion
2
...t/BlazorContent.CSharp/content/styles.css → ...t/BlazorLibrary.CSharp/content/styles.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters