Skip to content
This repository was archived by the owner on Aug 24, 2020. It is now read-only.

Commit b2d4697

Browse files
Merge to fix dependencies
2 parents 97778a9 + a80532e commit b2d4697

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

README.MD

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@ ionic-swing is a fork of the following projects intended to add the swipeable ca
55
- swing.js (version 4.2.0, https://github.com/gajus/swing)
66
- angular2-swing (version 0.11.0, https://github.com/ksachdeva/angular2-swing)
77

8-
The main reason behind this fork is that I was facing a problem with hammerjs, which was freezing the scrolling of my application's on iOS and Android when I was using (swipe) on a list or on an ion-scroll.
8+
The main reason behind this fork is that I was facing a problem with hammerjs, which was freezing the scrolling of my application on iOS and Android when I was using (swipe) on a list or on an ion-scroll.
9+
910
After having unsuccessfully tried many solutions I was thinking, after all, that Ionic already include is own version of hammer.
11+
1012
Therefore I decided to create this fork with the goal to make a version of swing.js which doesn't embed any external hammerjs.
1113

1214
## Current status
1315

14-
This fork project is in beta version but seems to work (tested with Ionic 3.0.1).
16+
This fork project is in version beta but seems to work (tested with Ionic 3.0.1).
1517

1618
Possible improvements not yet done:
1719

1820
- Improve typescripting and remove class swing.ts
19-
- The fork special dependencies are, inherited from swing.js, lodash, raf, rebound, sister, vendor-prefix. For bundle size reason mostly, it should be checked if these can't be replaced with native code or smaller libs.
21+
- The fork special dependencies are, inherited from swing.js, lodash, raf, rebound, sister, vendor-prefix. To spare size of my application (smaller bundle = faster boot), it should be checked if these can't be replaced with native code or smaller libs.
2022

2123
## Installation
2224

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionic-swing",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"scripts": {
55
"build": "gulp build",
66
"build:watch": "gulp",

src/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionic-swing",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/peterpeterparker/ionic-swing.git"
@@ -19,7 +19,9 @@
1919
"module": "ionic-swing.js",
2020
"typings": "ionic-swing.d.ts",
2121
"peerDependencies": {
22-
"@angular/core": "^4.0.0",
22+
"@angular/core": "^4.0.0"
23+
},
24+
"dependencies": {
2325
"lodash": "^4.6.1",
2426
"raf": "^3.1.0",
2527
"rebound": "^0.0.13",

0 commit comments

Comments
 (0)