Skip to content

Commit 0fb0d50

Browse files
committed
v.3 renamed ScriptTemplate -> ServerTemplate
1 parent b4dcc72 commit 0fb0d50

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Otherwise, the easiest way is to start in-line. Then at some point when the page
9797
- `SquashWS` - Boolean value (default true) indicating if all white space in HTML templates should be squashed (sequences of space, `<LF>`, `<CR>`, `<Tab>` are replaced with a single space).
9898

9999

100-
- **ScriptTemplate**
100+
- **ServerTemplate**
101101

102102
Used to extract inner HTML content. The content is not rendered directly to the page but can be obtained through .NET methods.
103103

sample-web-site/Bin/VueJSWebForms.dll

0 Bytes
Binary file not shown.

sample-web-site/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<h1>Vue.JS ASP.NET Web Forms Helpers - Examples</h1>
77

88
<ul>
9-
<li><a href="sample-vuejs.aspx">Component and App controls</a></li>
9+
<li><a href="sample-vuejs.aspx"><b>Component</b> and <b>App</b> controls - in-line</a></li>
1010
<li><a href="sample-vue-file.aspx">Using .vue file</a></li>
11-
<li><a href="sample-template.aspx"><b>ScriptTemplate</b> control</a></li>
11+
<li><a href="sample-servertemplate.aspx"><b>ScriptTemplate</b> control</a></li>
1212
</ul>
1313

1414
</body>

sample-web-site/sample-scripttemplate.aspx renamed to sample-web-site/sample-servertemplate.aspx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
<body>
1010

11-
<vue:ScriptTemplate ID="template1" runat="server">
11+
<vue:ServerTemplate ID="template1" runat="server">
1212
<div>
1313
<p>Today is: <%:DateTime.Now.ToLongDateString()%></p>
1414
<p>{{ message }}</p>
1515
</div>
16-
</vue:ScriptTemplate>
16+
</vue:ServerTemplate>
1717

1818
<div id="app"></div>
1919

src/My Project/AssemblyInfo.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("2.0.0.0")>
35-
<Assembly: AssemblyFileVersion("2.0.0.0")>
34+
<Assembly: AssemblyVersion("3.0.0.0")>
35+
<Assembly: AssemblyFileVersion("3.0.0.0")>

src/ScriptTemplate.vb renamed to src/ServerTemplate.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Imports System.Web.UI
22

33
<ParseChildren>
4-
Public Class ScriptTemplate
4+
Public Class ServerTemplate
55
Inherits System.Web.UI.WebControls.WebControl
66

77
Public Property SquashWS As Boolean = True

src/VueJSWebForms.vbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<Import Include="System.Linq" />
6060
</ItemGroup>
6161
<ItemGroup>
62-
<Compile Include="ScriptTemplate.vb" />
62+
<Compile Include="ServerTemplate.vb" />
6363
<Compile Include="VueComponent.vb" />
6464
<Compile Include="VueApp.vb" />
6565
<Compile Include="VueFilesToJS.vb" />

0 commit comments

Comments
 (0)