You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-34Lines changed: 13 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ PNotify is a JavaScript notification plugin. PNotify can provide [desktop notifi
9
9
10
10
# Whoa there!
11
11
12
-
I guarantee**none of this README applies to you!** You want to check out the **[README on the master branch](https://github.com/sciactive/pnotify/blob/master/README.md)**.
12
+
Unless you're an alpha tester,**none of this README applies to you!** You want to check out the **[README on the master branch](https://github.com/sciactive/pnotify/blob/master/README.md)**.
13
13
14
-
This README is for **PNotify v4**. v4 isn't out yet, but it's got some huge changes.
14
+
This README is for **PNotify v4**. v4 is only in alpha stage, but it's got some huge changes:
15
15
16
16
* jQuery is no longer required. v4 doesn't require any libraries, actually.
17
17
* It's built using [Svelte](http://svelte.technology), which means it compiles down to vanilla JS.
@@ -20,25 +20,6 @@ This README is for **PNotify v4**. v4 isn't out yet, but it's got some huge chan
20
20
*`insert_brs` option has gone away. (Text and title now have `white-space: pre-line;`.)
21
21
* The default width was raised from 300px to 360px.
22
22
23
-
But v4 isn't even in the alpha stage yet.
24
-
25
-
Things that work:
26
-
27
-
* PNotify Core
28
-
* Bright Theme styling (CSS)
29
-
* Material styling (module)
30
-
* Buttons module
31
-
* Animate module
32
-
* Callbacks module
33
-
* NonBlock module
34
-
* Mobile module
35
-
* History module
36
-
* Desktop module
37
-
* Confirm module
38
-
39
-
Things that don't work:
40
-
* npm package...
41
-
42
23
# Getting Started
43
24
44
25
You can get PNotify using NPM. (You can also use [jsDelivr](https://www.jsdelivr.com/package/npm/pnotify).)
@@ -49,30 +30,28 @@ npm install pnotify
49
30
50
31
Inside the pnotify directory in node_modules, you'll find a `src`, `lib`, and `dist` directory.
51
32
52
-
*`src` contains the actual Svelte source code, and CSS files.
53
-
*`lib` contains all the JS files uncompressed.
33
+
*`src` contains the Svelte source code, and uncompressed CSS.
34
+
*`lib` contains all the compiled JS files uncompressed.
54
35
*`dist` contains both JS and CSS files compressed.
55
36
*`lib` and `dist` each have subdirectories for the available formats, UMD, IIFE, and ES6 modules.
56
37
57
38
So if you're not using Webpack or Rollup, here's how you'd include PNotify on your page:
0 commit comments