Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: maverix/scriptsharp
base: c470ae4b6b
...
head fork: maverix/scriptsharp
compare: c63b786661
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
View
13 src/ScriptSharp.sln
@@ -52,6 +52,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework", "Runtime\Client
{B87E403B-354D-47A1-9876-14C618A80A41} = {B87E403B-354D-47A1-9876-14C618A80A41}
EndProjectSection
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jQuery.Validation", "jQuery.Validation\jQuery.Validation.csproj", "{967A6FD7-E14B-4DB0-81D9-86E0DC12291A}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
@@ -242,6 +244,16 @@ Global
{000BA94F-E6E2-4734-B708-015592B0C36F}.Release|Any CPU.Build.0 = Release|Any CPU
{000BA94F-E6E2-4734-B708-015592B0C36F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{000BA94F-E6E2-4734-B708-015592B0C36F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Debug|.NET.ActiveCfg = Debug|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Release|.NET.ActiveCfg = Release|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -255,6 +267,7 @@ Global
{9600C55B-E14E-45EA-92C6-F453B19F5D7F} = {5D0FD0F6-498E-4126-A297-97B7763DD0AB}
{DCA0235F-88C1-43A0-A8DB-FF765D344E06} = {5D0FD0F6-498E-4126-A297-97B7763DD0AB}
{36D4B098-A21C-4725-ACD3-400922885F38} = {5D0FD0F6-498E-4126-A297-97B7763DD0AB}
+ {967A6FD7-E14B-4DB0-81D9-86E0DC12291A} = {5D0FD0F6-498E-4126-A297-97B7763DD0AB}
{F08ABF8F-6A05-4C42-9C09-9CAC7B4DC1D0} = {B82D80A3-6436-46B5-A78C-E4AFAD853CEE}
{ECBDD6E0-44E4-42AA-81C1-E510C9798F8E} = {B82D80A3-6436-46B5-A78C-E4AFAD853CEE}
{8780581F-7C26-4B64-9235-BA1C458DF36E} = {F08ABF8F-6A05-4C42-9C09-9CAC7B4DC1D0}
View
22 src/jQuery.Validation/Properties/AssemblyInfo.cs
@@ -0,0 +1,22 @@
+// AssemblyInfo.cs
+//
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("jQuery.Validation")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("jQuery.Validation")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: ScriptAssembly("jQuery.Validation")]
View
17 src/jQuery.Validation/Validator.cs
@@ -0,0 +1,17 @@
+// Validator.cs
+//
+
+using System;
+using System.Collections.Generic;
+using System.Runtime.CompilerServices;
+
+namespace jQueryApi.Validation
+{
+ [Imported]
+ [IgnoreNamespace]
+ public class Validator {
+
+
+
+ }
+}
View
200 src/jQuery.Validation/ValidatorOptions.cs
@@ -0,0 +1,200 @@
+// ValidatorOptions.cs
+//
+
+using System;
+using System.Collections.Generic;
+using System.Runtime.CompilerServices;
+using System.Collections;
+
+namespace jQueryApi.Validation
+{
+ [Imported]
+ [IgnoreNamespace]
+ public class ValidatorOptions {
+
+ [IntrinsicProperty]
+ public bool Debug {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string ErrorClass {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string ErrorContainer {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string ErrorElement {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string ErrorLabelContainer {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public bool FocusCleanup {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public bool FocusInvalid {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public Dictionary Groups {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ [ScriptName("ignore")]
+ public string IgnoreSelector {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public Action<jQueryEvent, Validator> InvalidHandler {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public Dictionary Messages {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string Meta {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public Dictionary Rules {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public Action<jQueryObject> SubmitHandler {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ [ScriptName("onclick")]
+ public bool ValidateOnClick {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ [ScriptName("onfocusout")]
+ public bool ValidateOnFocusOut {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ [ScriptName("onkeyup")]
+ public bool ValidateOnKeyUp {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ [ScriptName("onsubmit")]
+ public bool ValidateOnSubmit {
+ get {
+ return false;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string ValidClass {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+
+ [IntrinsicProperty]
+ public string Wrapper {
+ get {
+ return null;
+ }
+ set {
+ }
+ }
+ }
+}
View
64 src/jQuery.Validation/jQuery.Validation.csproj
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{967A6FD7-E14B-4DB0-81D9-86E0DC12291A}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoStdLib>True</NoStdLib>
+ <FileAlignment>512</FileAlignment>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkProfile />
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>jQueryApi.Validation</RootNamespace>
+ <AssemblyName>Script.jQuery.Validation</AssemblyName>
+ <ReferencePath>$(ProgramFiles)\ScriptSharp\v1.0\Framework\</ReferencePath>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>false</DebugSymbols>
+ <DebugType>none</DebugType>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>1591, 0661, 0660, 1684</NoWarn>
+ <DocumentationFile>bin\Debug\Script.jQuery.Validation.xml</DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugSymbols>false</DebugSymbols>
+ <DebugType>none</DebugType>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>
+ </DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>1591, 0661, 0660, 1684</NoWarn>
+ <DocumentationFile>bin\Release\Script.jQuery.Validation.xml</DocumentationFile>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="jQueryValidation.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Validator.cs" />
+ <Compile Include="ValidatorOptions.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Libraries\CoreLib\CoreLib.csproj">
+ <Project>{36D4B098-A21C-4725-ACD3-400922885F38}</Project>
+ <Name>CoreLib</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Libraries\jQuery\jQuery.Core\jQuery.Core.csproj">
+ <Project>{4A9F7CE0-5A45-4B28-AD01-05528709B6E4}</Project>
+ <Name>jQuery.Core</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Libraries\Web\Web.csproj">
+ <Project>{3681A9A8-FC40-4125-B842-7775713C8DCE}</Project>
+ <Name>Web</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Reference Include="Script.Web, Version=0.7.0.0, Culture=neutral, processorArchitecture=MSIL" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>
View
26 src/jQuery.Validation/jQueryValidation.cs
@@ -0,0 +1,26 @@
+// jQueryValidation.cs
+//
+
+using System;
+using System.Collections.Generic;
+using System.Runtime.CompilerServices;
+
+namespace jQueryApi.Validation
+{
+ [Imported]
+ [IgnoreNamespace]
+ public class jQueryValidation
+ {
+ [ScriptAlias("$.fn.validate.call")]
+ public Validator Validate(jQueryObject form) {
+ return null;
+ }
+
+ [ScriptAlias("$.fn.valid.call")]
+ public bool Valid(jQueryObject form) {
+ return false;
+ }
+
+
+ }
+}

No commit comments for this range

Something went wrong with that request. Please try again.