Skip to content

Commit c7f6abd

Browse files
author
The Real Josh
committed
Switched to SweetAlert2
1 parent 8df6c30 commit c7f6abd

5 files changed

+18
-83
lines changed

CHANGELOG.md

+2-60
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,5 @@
1-
## 1.1.0
1+
## 0.0.1
22

33
## Features
44

5-
- update angular ~1.3.0
6-
7-
Improvements:
8-
9-
- Replace use of $timeout with $evalAsync
10-
11-
12-
# 1.0.4
13-
14-
15-
# 1.0.3
16-
17-
## Features
18-
19-
- update sweetalert 0.2.0
20-
21-
## Bug Fixes
22-
23-
## Breaking Changes
24-
25-
26-
# 1.0.2
27-
28-
## Features
29-
30-
## Bug Fixes
31-
32-
- remove console.log
33-
34-
## Breaking Changes
35-
36-
37-
# 1.0.1
38-
39-
## Features
40-
41-
## Bug Fixes
42-
43-
- call SweetAlert.swal inside another SweetAlert.swal(
44-
45-
## Breaking Changes
46-
47-
48-
# 1.0.0
49-
50-
## Features
51-
52-
- SweetAlert.swal( "title" )
53-
- SweetAlert.swal( "title", "message" )
54-
- SweetAlert.swal( "title", "message", "type" )
55-
- SweetAlert.swal( {options} )
56-
- SweetAlert.success( "title", "message" )
57-
- SweetAlert.warning( "title", "message" )
58-
- SweetAlert.error( "title", "message" )
59-
- SweetAlert.info( "title", "message" )
60-
61-
## Bug Fixes
62-
63-
## Breaking Changes
5+
- First commit!

SweetAlert.js SweetAlert2.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
'use strict';
99

10-
angular.module('oitozero.ngSweetAlert', [])
10+
angular.module('joshtate04.ngSweetAlert2', [])
1111
.factory('SweetAlert', [ '$rootScope', function ( $rootScope ) {
1212

1313
var swal = window.swal;

SweetAlert.min.js SweetAlert2.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
{
2-
"name": "ngSweetAlert",
3-
"version": "1.1.0",
4-
"main": "./SweetAlert.js",
5-
"author": "[email protected]",
6-
"contributors": [
7-
8-
9-
],
10-
"description": "AngularJS wrapper for SweetAlert",
2+
"name": "ngSweetAlert2",
3+
"version": "0.0.1",
4+
"main": "./SweetAlert2.js",
5+
"author": "[email protected]",
6+
"description": "AngularJS wrapper for SweetAlert2",
117
"keywords": [
128
"angular",
139
"AngularJs",
@@ -26,7 +22,7 @@
2622
],
2723
"dependencies": {
2824
"angular":">=1.3.0",
29-
"sweetalert":">=0.3.0"
25+
"sweetalert2":">=0.3.4"
3026
},
3127
"devDependencies": {
3228
}

package.json

+8-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "angular-sweetalert",
3-
"version": "1.1.0",
4-
"description": "AngularJS wrapper for SweetAlert",
5-
"main": "SweetAlert.js",
2+
"name": "angular-sweetalert2",
3+
"version": "0.0.1",
4+
"description": "AngularJS wrapper for SweetAlert2",
5+
"main": "SweetAlert2.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/oitozero/ngSweetAlert.git"
11+
"url": "https://github.com/joshtate04/ngSweetAlert2.git"
1212
},
1313
"keywords": [
1414
"angular",
@@ -17,16 +17,13 @@
1717
"sweet",
1818
"alert"
1919
],
20-
"author": "[email protected]",
21-
"contributors": [
22-
23-
],
20+
"author": "[email protected]",
2421
"license": "MIT",
2522
"bugs": {
26-
"url": "https://github.com/oitozero/ngSweetAlert/issues"
23+
"url": "https://github.com/joshtate04/ngSweetAlert2/issues"
2724
},
2825
"dependencies": {
2926
"angular": "^1.3.14",
30-
"sweetalert": "^0.4.2"
27+
"sweetalert2": "^0.3.4"
3128
}
3229
}

0 commit comments

Comments
 (0)