Refesh Pt 2a

This commit is contained in:
Thomas Hounsell 2015-03-21 19:32:06 +00:00
parent e11ac1cd38
commit 276be268b3
3 changed files with 68 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -22,6 +23,7 @@
<IISExpressUseClassicPipelineMode />
<ApplicationInsightsResourceId>/subscriptions/4af45631-0e5c-4253-9e38-d0c47f9c5b32/resourcegroups/Default-ApplicationInsights-CentralUS/providers/microsoft.insights/components/BuildFeed</ApplicationInsightsResourceId>
<NuGetPackageImportStamp>3caa6a92</NuGetPackageImportStamp>
<TypeScriptToolsVersion>1.4</TypeScriptToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -326,11 +328,20 @@
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<TypeScriptCompile Include="Scripts\index-page.ts" />
<TypeScriptCompile Include="Scripts\typings\jquery\jquery.d.ts" />
<TypeScriptCompile Include="Scripts\typings\jsrender\jsrender.d.ts" />
</ItemGroup>
<ItemGroup>
<Service Include="{4A0DDDB5-7A95-4FBF-97CC-616D07737A77}" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">

56
Scripts/typings/jsrender/jsrender.d.ts vendored Normal file
View File

@ -0,0 +1,56 @@
// Type definitions for JsRender
// Project: http://www.jsviews.com/#jsrender
// Definitions by: Kensuke Matsuzaki <https://github.com/zakki>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts"/>
declare module JsRender {
interface Converters {
(name: string, converterFn: (value: any) => any): any;
(namedConverters: any, parentTemplate?: any): any;
html(valueToEncode: string): string;
attr(valueToEncode: string): string;
url(valueToEncode: string): string;
}
interface Views {
converters: Converters;
tags(name: string, tagFn: (value: any) => any): any;
tags(name: string, tagOptions: any): any;
tags(namedTags: any): any;
helpers(name: string, helper: any): any;
helpers(namedHelpers: any, parentTemplate?: any): any;
}
interface Template {
render(data?: any): string;
}
interface NamedTemplate {
(data?: any): string;
}
interface Render {
(data?: any, helpersOrContext?: any): string;
}
interface RenderStatic {
[index: string]: NamedTemplate;
}
}
interface JQuery {
render: JsRender.Render;
}
interface JQueryStatic {
render: JsRender.RenderStatic;
views: JsRender.Views;
templates(markupOrSelector: string): JsRender.Template;
templates(name: string, markupOrSelector: string): JsRender.Template;
templates(namedTemplates: any): any;
}

View File

@ -5,6 +5,7 @@
<package id="jQuery" version="2.1.3" targetFramework="net45" userInstalled="true" />
<package id="jquery.TypeScript.DefinitelyTyped" version="2.2.2" targetFramework="net45" userInstalled="true" />
<package id="jQuery.Validation" version="1.13.1" targetFramework="net45" userInstalled="true" />
<package id="jsrender.TypeScript.DefinitelyTyped" version="0.0.3" targetFramework="net45" userInstalled="true" />
<package id="Microsoft.ApplicationInsights" version="0.13.2-build00132" targetFramework="net45" userInstalled="true" />
<package id="Microsoft.ApplicationInsights.PerformanceCollector" version="0.13.2-build00132" targetFramework="net45" userInstalled="true" />
<package id="Microsoft.ApplicationInsights.RuntimeTelemetry" version="0.13.2-build00132" targetFramework="net45" userInstalled="true" />