Last active
August 29, 2015 14:11
-
-
Save bangpound/7ef98e3726fbf8bf0b7e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/index.html b/app/index.html | |
index 6ae0c13..5616fa4 100644 | |
--- a/app/index.html | |
+++ b/app/index.html | |
@@ -12,7 +12,6 @@ | |
<!-- build:css(.) styles/vendor.css --> | |
<!-- bower:css --> | |
- <link rel="stylesheet" href="bower_components/jquery-mobile/css/themes/default/jquery.mobile.css" /> | |
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css" /> | |
<link rel="stylesheet" href="bower_components/isteven-angular-multiselect/angular-multi-select.css" /> | |
<!-- endbower --> | |
@@ -50,7 +49,7 @@ | |
<div class="logo"></div> | |
</header> | |
- <div id="main"> | |
+ <div id="main" ng-swipe-left="wizNavSwipe('left')" ng-swipe-right="wizNavSwipe('right')"> | |
<div id="wiz-wrap"> | |
<div id="wiz-ellipse"></div> | |
@@ -103,7 +102,6 @@ | |
<script src="bower_components/jquery/dist/jquery.js"></script> | |
<script src="bower_components/modernizr/modernizr.js"></script> | |
<script src="bower_components/jquery-ui/jquery-ui.js"></script> | |
- <script src="bower_components/jquery-mobile/js/jquery.mobile.js"></script> | |
<script src="bower_components/iCheck/icheck.min.js"></script> | |
<script src="bower_components/moment/moment.js"></script> | |
<script src="bower_components/underscore/underscore.js"></script> | |
diff --git a/app/scripts/app.js b/app/scripts/app.js | |
index 5b4a925..8ffad44 100644 | |
--- a/app/scripts/app.js | |
+++ b/app/scripts/app.js | |
@@ -72,6 +72,10 @@ angular | |
RegisterService.resetLocalStorage(); | |
}; | |
+ $scope.wizNavSwipe = function (direction) { | |
+ wizNavSwipe(direction); | |
+ }; | |
+ | |
}]) | |
; | |
\ No newline at end of file | |
diff --git a/app/scripts/sifma.jquery.js b/app/scripts/sifma.jquery.js | |
index d9a2055..70287fd 100644 | |
--- a/app/scripts/sifma.jquery.js | |
+++ b/app/scripts/sifma.jquery.js | |
@@ -144,15 +144,5 @@ $(document).ready(function() { | |
$(window).on('resize', function () { | |
setProgressBarWidth(); | |
}); | |
- | |
- // mobile swipe wizard action | |
- $('#main') | |
- .on('swipeleft', function() { | |
- wizNavSwipe('left'); | |
- }) | |
- .on('swiperight', function() { | |
- wizNavSwipe('right'); | |
- }); | |
- | |
}); | |
diff --git a/bower.json b/bower.json | |
index e72c04e..d6fd79d 100644 | |
--- a/bower.json | |
+++ b/bower.json | |
@@ -10,7 +10,6 @@ | |
"jquery": "~2.1.1", | |
"jquery-ui": "~1.11.1", | |
- "jquery-mobile": "~1.4.5", | |
"iCheck": "~1.0", | |
"moment": "~2.7", | |
@@ -46,8 +45,6 @@ | |
"angular-scenario": "~1.3.0" | |
}, | |
"resolutions": { | |
- "jquery-ui": "~1.11.1", | |
- "jquery": "~2.1.1", | |
"angular": "~1.3.0" | |
}, | |
"appPath": "app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment