File tree 4 files changed +17
-7
lines changed
4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2014 Blocks
3
+ Copyright (c) 2014 Sparkart Group, Inc.
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -5,10 +5,16 @@ An `Alerter()` instance does two things;
5
5
2 ) Emits events when alerts are created or dismissed.
6
6
7
7
# Getting the Module
8
- You can get the module in any one of the following ways;
9
- - Download [ the latest release] ( https://github.com/blocks/alerter/releases ) from GitHub
10
- - Or install with npm; ` npm install alerter `
11
- - Or install with Bower; ` bower install alerter `
8
+ From GitHub;
9
+ - Download [ the latest release] ( https://github.com/blocks/alerter/releases )
10
+
11
+ Using npm;
12
+ - ` npm install blocks-alerter `
13
+
14
+ Using Bower;
15
+ - [ Install using the tarball URL] [ http://bower.io/docs/api/#install ] (best option)
16
+ - Use browserify or webpack to consume the CommonJS module
17
+ - Install dependencies and run ` gulp build ` after installing/updating with Bower
12
18
13
19
# Quick Start
14
20
To get started, you'll need to include the script on your page. To create an ` Alerter() ` instance you can do;
Original file line number Diff line number Diff line change 4
4
"authors" : [
5
5
" Josiah Sprague <[email protected] >"
6
6
],
7
- "description" : " Alerter is a UMD JavaScript module for displaying arbitrary messaging to communicate certain states in a web app ." ,
7
+ "description" : " Injects notification and alert markup and UI in the browser ." ,
8
8
"main" : " src/alerter.js" ,
9
9
"keywords" : [
10
10
" alert" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " blocks-alerter" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " Alerter is a UMD JavaScript module for displaying arbitrary messaging to communicate certain states in a web app ." ,
4
+ "description" : " Injects notification and alert markup and UI in the browser ." ,
5
5
"main" : " src/alerter.js" ,
6
+ "files" : [
7
+ " src" ,
8
+ " gulpfile.js"
9
+ ],
6
10
"repository" : {
7
11
"type" : " git" ,
8
12
"url" : " https://github.com/blocks/alerter.git"
You can’t perform that action at this time.
0 commit comments