This commit is contained in:
Jass Bagga 2018-03-13 09:48:50 -07:00 коммит произвёл GitHub
Родитель c81e95adc5
Коммит 6c54903e9f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 50 добавлений и 37 удалений

Просмотреть файл

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Microsoft.jQuery.Unobtrusive.Ajax</id>
<version>$version$</version>
<title>Microsoft jQuery Unobtrusive Ajax</title>
<authors>Microsoft</authors>
<owners>Microsoft,aspnet</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
<projectUrl>https://www.asp.net/</projectUrl>
<iconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>jQuery plugin that unobtrusively sets up jQuery Ajax.</description>
<summary>jQuery plugin that unobtrusively sets up jQuery Ajax.</summary>
<releaseNotes>Please visit https://go.microsoft.com/fwlink/?LinkId=389866 to view the release notes.</releaseNotes>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<tags>jQuery Unobtrusive Ajax</tags>
<dependencies>
<dependency id="jQuery" version="1.8.0" />
</dependencies>
</metadata>
<files>
<file src="dist\jquery.unobtrusive-ajax.js" target="Content\Scripts"/>
<file src="dist\jquery.unobtrusive-ajax.min.js" target="Content\Scripts"/>
</files>
</package>

Просмотреть файл

@ -1,34 +0,0 @@
{
"name": "jquery-ajax-unobtrusive",
"version": "3.2.4",
"homepage": "https://github.com/aspnet/jquery-ajax-unobtrusive",
"description": "Add-on to jQuery Ajax to enable unobtrusive options in data-* attributes",
"main": [
"dist/jquery.unobtrusive-ajax.js"
],
"ignore": [
"**/.*",
"*.json",
"*.md",
"*.txt",
"!LICENSE.txt"
],
"keywords": [
"jquery",
"asp.net",
"mvc",
"ajax",
"unobtrusive"
],
"authors": [
"Microsoft"
],
"license": "https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/jquery-ajax-unobtrusive.git"
},
"dependencies": {
"jquery": ">=1.8"
}
}

2
build.cmd Normal file
Просмотреть файл

@ -0,0 +1,2 @@
@ECHO OFF
PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' %*; exit $LASTEXITCODE"

17
build.msbuild Normal file
Просмотреть файл

@ -0,0 +1,17 @@
<Project>
<ItemGroup>
<VersionFile Include="version.props"/>
</ItemGroup>
<PropertyGroup>
<NuspecPath>Microsoft.jQuery.Unobtrusive.Ajax.nuspec</NuspecPath>
</PropertyGroup>
<Target Name="Build">
<ReadLinesFromFile File="@(VersionFile)">
<Output TaskParameter="Lines" PropertyName="PackageVersion"/>
</ReadLinesFromFile>
<Exec Command="npm install" />
<Exec Command="npm version --no-git-tag-version --allow-same-version $(PackageVersion)" />
<Exec Command="gulp" />
<Exec Command="nuget pack $(NuspecPath) -Version $(PackageVersion)" />
</Target>
</Project>

2
dist/jquery.unobtrusive-ajax.js поставляемый
Просмотреть файл

@ -1,6 +1,6 @@
// Unobtrusive Ajax support library for jQuery
// Copyright (C) Microsoft Corporation. All rights reserved.
// @version v3.2.4
// @version v3.2.5
//
// Microsoft grants you the right to use these script files for the sole
// purpose of either: (i) interacting through your browser with the Microsoft

2
dist/jquery.unobtrusive-ajax.min.js поставляемый
Просмотреть файл

@ -1,6 +1,6 @@
// Unobtrusive Ajax support library for jQuery
// Copyright (C) Microsoft Corporation. All rights reserved.
// @version v3.2.4
// @version v3.2.5
//
// Microsoft grants you the right to use these script files for the sole
// purpose of either: (i) interacting through your browser with the Microsoft

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "jquery-ajax-unobtrusive",
"version": "3.2.4",
"version": "3.2.5",
"description": "Add-on to jQuery Ajax to enable unobtrusive options in data-* attributes",
"main": "dist/jquery.unobtrusive-ajax.js",
"repository": {

1
run.ps1 Normal file
Просмотреть файл

@ -0,0 +1 @@
msbuild .\build.msbuild

1
version.props Normal file
Просмотреть файл

@ -0,0 +1 @@
3.2.5