Skip to content

Commit

Permalink
Updated NuGet to v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpapa committed Feb 27, 2013
1 parent 242584e commit 10edc29
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 216 deletions.
210 changes: 0 additions & 210 deletions nuget/content/scripts/toastr-1.1.5.js

This file was deleted.

1 change: 0 additions & 1 deletion nuget/content/scripts/toastr-1.1.5.min.js

This file was deleted.

7 changes: 3 additions & 4 deletions nuget/content/scripts/toastr.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,15 @@
var
options = getOptions(),
iconClass = map.iconClass || options.iconClass;

if (!$container) { getContainer(options) };


if (typeof (map.optionsOverride) !== 'undefined') {
options = $.extend(options, map.optionsOverride);
iconClass = map.optionsOverride.iconClass || iconClass;
}

var
intervalId = null,
$container = getContainer(options),
$toastElement = $('<div/>'),
$titleElement = $('<div/>'),
$messageElement = $('<div/>'),
Expand Down Expand Up @@ -171,7 +170,7 @@
info: info,
options: {},
success: success,
version: '1.2.0',
version: '1.2.1',
warning: warning
};

Expand Down
2 changes: 1 addition & 1 deletion nuget/content/scripts/toastr.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added nuget/toastr.1.2.1.nupkg
Binary file not shown.
40 changes: 40 additions & 0 deletions nuget/toastr.1.2.1.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>toastr</id>
<version>1.2.1</version>
<title>toastr</title>
<authors>John Papa,Hans Fjällemark</authors>
<owners>John Papa,Hans Fjällemark</owners>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<projectUrl>https://github.com/CodeSeven/toastr</projectUrl>
<iconUrl>http://johnpapa.net/wp-content/images/toastr-icon.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>3 Easy Steps:

(1) Link to toastr.css
(2) Link to toastr.js
(3) Use toastr to display a toast for info, success, warning or error

// Display an info toast with no title
toastr.info('Are you the 6 fingered man?')

*** For other API calls, see the demo</description>
<summary>toastr is a Javascript library for Gnome / Growl type non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.</summary>
<releaseNotes>Added getContainer().
Fixed clear() bug.
Removed semver from file name.</releaseNotes>
<copyright>Copyright © 2012 Hans Fjällemark &amp; John Papa.</copyright>
<language>en-US</language>
<tags>toastr, toast, notification, dialog, jquery</tags>
<dependencies>
<dependency id="jQuery" version="1.6.3" />
</dependencies>
</metadata>
<files>
<file src="content\content\toastr.css" target="content\content\toastr.css" />
<file src="content\content\toastr.min.css" target="content\content\toastr.min.css" />
<file src="content\scripts\toastr.js" target="content\scripts\toastr.js" />
<file src="content\scripts\toastr.min.js" target="content\scripts\toastr.min.js" />
</files>
</package>

0 comments on commit 10edc29

Please sign in to comment.