From 4a73982303864fdfdaf6478392d81f1cee3b21d5 Mon Sep 17 00:00:00 2001 From: Edward Opare-Aryee Date: Tue, 3 Nov 2015 14:10:26 +0000 Subject: [PATCH] Release v0.0.2 --- bower.json | 2 +- dist/angular-smart-nav.js | 4 +--- dist/angular-smart-nav.min.js | 6 ++---- package.json | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/bower.json b/bower.json index b95f9d8..a2fda0b 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "angular-smart-nav", "description": "Show or hide a navbar when scrolling in any particular direction and or minimise nav when scrolling pass the navbar", - "version": "0.0.1", + "version": "0.0.2", "homepage": "https://github.com/thisissoon/angular-smart-nav", "license": "MIT", "ignore": [ diff --git a/dist/angular-smart-nav.js b/dist/angular-smart-nav.js index 6ece62e..cc1b92d 100644 --- a/dist/angular-smart-nav.js +++ b/dist/angular-smart-nav.js @@ -1,4 +1,4 @@ -/*! angular-smart-nav - v0.0.1 - 2015-11-03 */ +/*! angular-smart-nav - v0.0.2 - 2015-11-03 */ 'use strict'; /** * Module that detects the last scroll direction and @@ -121,5 +121,3 @@ angular.module('sn.smartNav', [ }; } ]); - -//# sourceMappingURL=angular-smart-nav.js.map \ No newline at end of file diff --git a/dist/angular-smart-nav.min.js b/dist/angular-smart-nav.min.js index 95a35a9..c45bf79 100644 --- a/dist/angular-smart-nav.min.js +++ b/dist/angular-smart-nav.min.js @@ -1,4 +1,2 @@ -/*! angular-smart-nav - v0.0.1 - 2015-11-03 */ - -!function(a){"use strict";angular.module("sn.smartNav",[]).directive("snSmartNav",["$window","$document",function(a,b){return{restrict:"A",scope:{},link:function(c,d){var e=0,f=!1,g=function(a){return a>e},h=function(a){return e>a},i=function(a){f&&h(a)?(f=!1,d.removeClass("scrolling-down"),d.addClass("scrolling-up")):!f&&g(a)&&(f=!0,d.removeClass("scrolling-up"),d.addClass("scrolling-down"))},j=function(a){a>d[0].offsetHeight?d.addClass("minimised-mode"):d.removeClass("minimised-mode")},k=function(){var a=b[0].documentElement,c=b[0].body,d=a&&a.scrollTop||c&&c.scrollTop||0;i(d),j(d),e=d};angular.element(a).on("scroll",k)}}}])}(window); -//# sourceMappingURL=angular-smart-nav.min.js.map \ No newline at end of file +/*! angular-smart-nav - v0.0.2 - 2015-11-03 */ +!function(a){"use strict";angular.module("sn.smartNav",[]).directive("snSmartNav",["$window","$document",function(a,b){return{restrict:"A",scope:{},link:function(c,d){var e=0,f=!1,g=function(a){return a>e},h=function(a){return e>a},i=function(a){f&&h(a)?(f=!1,d.removeClass("scrolling-down"),d.addClass("scrolling-up")):!f&&g(a)&&(f=!0,d.removeClass("scrolling-up"),d.addClass("scrolling-down"))},j=function(a){a>d[0].offsetHeight?d.addClass("minimised-mode"):d.removeClass("minimised-mode")},k=function(){var a=b[0].documentElement,c=b[0].body,d=a&&a.scrollTop||c&&c.scrollTop||0;i(d),j(d),e=d};angular.element(a).on("scroll",k)}}}])}(window); \ No newline at end of file diff --git a/package.json b/package.json index 6f9b7ba..f32b0a9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "angular-smart-nav", "private": false, - "version": "0.0.1", + "version": "0.0.2", "description": "Show or hide a navbar when scrolling in any particular direction and or minimise nav when scrolling pass the navbar", "repository": "https://github.com/thisissoon/angular-smart-nav", "license": "MIT",