Skip to content

Commit 7bee01d

Browse files
committed
publishing patch version 2.0.9
1 parent 9028459 commit 7bee01d

File tree

8 files changed

+42
-23
lines changed

8 files changed

+42
-23
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-base-apps",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"main": [
55
"scss/base.scss",
66
"dist/js/base-apps.js"

dist/docs/assets/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/partials/global-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav class="global-nav">
22
<ul class="title-area">
33
<li class="name">
4-
<h1><a><strong>Angular Base Apps 2.0.8</strong></a></h1>
4+
<h1><a><strong>Angular Base Apps 2.0.9</strong></a></h1>
55
</li>
66
</ul>
77
<ul class="right">

dist/docs/templates/changelog.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ <h4>Docs</h4>
5353
5454
<hr>
5555
-->
56+
<h3>Version 2.0.9</h3>
57+
58+
<h4>Bug Fixes</h4>
59+
60+
<ul>
61+
<li>Fix <a href="https://github.com/base-apps/angular-base-apps/pull/88#issuecomment-279258688">build issue</a></li>
62+
</ul>
63+
64+
<h4>Docs</h4>
65+
66+
<a href="https://base-apps.github.io/angular-base-apps/v2.0.9">https://base-apps.github.io/angular-base-apps/v2.0.9</a>
67+
68+
<hr>
69+
5670
<h3>Version 2.0.8</h3>
5771

5872
<h4>Bug Fixes</h4>
@@ -64,7 +78,7 @@ <h4>Bug Fixes</h4>
6478

6579
<h4>Docs</h4>
6680

67-
<a href="https://base-apps.github.io/angular-base-apps/v2.0.6">https://base-apps.github.io/angular-base-apps/v2.0.8</a>
81+
<a href="https://base-apps.github.io/angular-base-apps/v2.0.8">https://base-apps.github.io/angular-base-apps/v2.0.8</a>
6882

6983
<hr>
7084

@@ -78,7 +92,7 @@ <h4>Bug Fixes</h4>
7892

7993
<h4>Docs</h4>
8094

81-
<a href="https://base-apps.github.io/angular-base-apps/v2.0.6">https://base-apps.github.io/angular-base-apps/v2.0.7</a>
95+
<a href="https://base-apps.github.io/angular-base-apps/v2.0.7">https://base-apps.github.io/angular-base-apps/v2.0.7</a>
8296

8397
<hr>
8498

dist/docs/templates/installation.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ <h3>CDN</h3>
5252

5353
<hljs language="html">
5454
<!-- CSS -->
55-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.css">
56-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.min.css">
55+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.9/base-apps.css">
56+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.9/base-apps.min.css">
5757

5858
<!-- JavaScript -->
59-
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.js"></script>
60-
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.min.js"></script>
59+
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.9/base-apps.js"></script>
60+
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.9/base-apps.min.js"></script>
6161
</hljs>
6262

6363
</section>

dist/js/base-apps.js

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,34 +1217,39 @@
12171217

12181218
function link($scope, element, attrs) {
12191219
var swipeDirection;
1220-
var hammerElem;
1221-
if (typeof(Hammer)!=='undefined') {
1222-
hammerElem = new Hammer(element[0]);
1223-
// set the options for swipe (to make them a bit more forgiving in detection)
1224-
hammerElem.get('swipe').set({
1225-
direction: Hammer.DIRECTION_ALL,
1226-
threshold: 5, // this is how far the swipe has to travel
1227-
velocity: 0.5 // and this is how fast the swipe must travel
1228-
});
1229-
}
1220+
var hammerElem, hammerDirection;
1221+
12301222
// detect what direction the directive is pointing
12311223
switch (attrs.baSwipeClose) {
12321224
case 'right':
12331225
swipeDirection = 'swiperight';
1226+
hammerDirection = Hammer.DIRECTION_RIGHT;
12341227
break;
12351228
case 'left':
12361229
swipeDirection = 'swipeleft';
1230+
hammerDirection = Hammer.DIRECTION_LEFT;
12371231
break;
12381232
case 'up':
12391233
swipeDirection = 'swipeup';
1234+
hammerDirection = Hammer.DIRECTION_UP;
12401235
break;
12411236
case 'down':
12421237
swipeDirection = 'swipedown';
1238+
hammerDirection = Hammer.DIRECTION_DOWN;
12431239
break;
12441240
default:
12451241
swipeDirection = 'swipe';
1242+
hammerDirection = Hammer.DIRECTION_ALL;
12461243
}
1247-
if(typeof(hammerElem) !== 'undefined'){
1244+
1245+
if (typeof(Hammer)!=='undefined') {
1246+
hammerElem = new Hammer(element[0]);
1247+
// set the options for swipe (to make them a bit more forgiving in detection)
1248+
hammerElem.get('swipe').set({
1249+
direction: hammerDirection,
1250+
threshold: 5, // this is how far the swipe has to travel
1251+
velocity: 0.5 // and this is how fast the swipe must travel
1252+
});
12481253
hammerElem.on(swipeDirection, function() {
12491254
BaseAppsApi.publish(attrs.id, 'close');
12501255
});

dist/js/base-apps.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-base-apps",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"license": "MIT",
55
"description": "A responsive, Angular-powered framework for web apps",
66
"scripts": {

0 commit comments

Comments
 (0)