7 Commits
Author SHA1 Message Date
Evan Carroll 302b39f587 slightly awkward positioning beforehand 2015-11-03 16:21:12 -06:00
Evan Carroll 97c2fd11e2 added a README 2015-11-03 16:17:14 -06:00
Evan Carroll 3b6b214eb8 minor changes
* jshintrc: let's stick to defaults.
	* updated package.json to reflect suggestions on plugins.jquery.com
2015-11-03 15:17:08 -06:00
Evan Carroll 4f88f06677 fixed bug in UMD code 2015-11-03 10:33:50 -06:00
Jaime Pillora b724df3b02 cleanup more generated javascript code 2015-11-03 17:20:36 +11:00
Jaime Pillora 521514180d remove ugly coffeescript variable hoisting, fix indexOf polyfill 2015-11-03 14:43:27 +11:00
Evan Carroll 904d09251b readded UMD stuff, and package.json tests 2015-11-02 18:18:18 -06:00
4 changed files with 633 additions and 588 deletions
+2 -5
View File
@@ -1,7 +1,4 @@
2015-10-20 v0.3.3
@EvanCarroll - Updated to remove Grunt, and coffeescript stuff.
2015-11-01 v0.3.4
2015-10-20 v0.4
@EvanCarroll - Updated to remove Grunt, and coffeescript stuff, changed to use UMD.
@jpillora - Remove deprecated grunt file, there is now a single `notify.js` file
+19 -18
View File
@@ -7,25 +7,26 @@ See demos and full documentation at:
## http://notifyjs.com/
#### MIT License
SYNOPSIS
====
Copyright © 2015 Jaime Pillora <dev@jpillora.com>
Global Notifications
----
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
$.notify("Hello World");
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
Element Notifications
----
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
$(".elem-demo").notify("Hello World");
// where x is one letter: [t]op [m]iddle [b]ottom
// where y is one letter: [l]eft [c]enter [r]ight
$(".elem-demo").notify("Hello World", {position: "x y"});
COPYRIGHT
====
Notify.js is released under the [MIT License](https://opensource.org/licenses/MIT).
Copyright © Jaime Pillora <dev@jpillora.com>
+579 -549
View File
File diff suppressed because it is too large Load Diff
+33 -16
View File
@@ -1,18 +1,35 @@
{
"title": "Notify.js",
"name": "notify",
"version": "0.3.4",
"author": {
"name": "Jaime Pillora"
},
"contributors": [
{
"name": "Evan Carroll",
"url": "http://www.evancarroll.com",
"email": "me@evancarroll.com"
}
],
"homepage": "http://notifyjs.com/",
"license": "MIT",
"main": "dist/notify.js"
"title": "Notify.js",
"name": "notify",
"version": "0.4.0",
"author": {
"name": "Jaime Pillora"
},
"contributors": [
{
"name": "Evan Carroll",
"url": "http://www.evancarroll.com",
"email": "me@evancarroll.com"
}
],
"homepage": "http://notifyjs.com/",
"license": "MIT",
"main": "dist/notify.js",
"scripts": {
"test": "npm run lint",
"lint": "jshint ./dist/*.js"
},
"dependencies": {
"jquery": "^2.1.4"
},
"devDependencies": {
"jshint": "^2.8.0"
},
"keywords": [
"notify",
"notification",
"prompt",
"popup",
"jquery-plugin"
]
}