From bf91fc05cd2805f34405902818a5de2886acfb33 Mon Sep 17 00:00:00 2001 From: David Miller Date: Wed, 15 Mar 2017 12:23:51 -0400 Subject: [PATCH] format package.json --- index.html | 2 +- js/agency.js | 2 +- js/agency.min.js | 2 +- package.json | 54 ++++++++++++++++++++++++------------------------ 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/index.html b/index.html index f0686ee..df750cf 100644 --- a/index.html +++ b/index.html @@ -675,7 +675,7 @@ - + diff --git a/js/agency.js b/js/agency.js index c1b8019..636a6d0 100644 --- a/js/agency.js +++ b/js/agency.js @@ -4,7 +4,7 @@ "use strict"; // Start of use strict // jQuery for page scrolling feature - requires jQuery Easing plugin - $('a.page-scroll').bind('click', function(event) { + $(document).on('click', 'a.page-scroll', function(event) { var $anchor = $(this); $('html, body').stop().animate({ scrollTop: ($($anchor.attr('href')).offset().top - 54) diff --git a/js/agency.min.js b/js/agency.min.js index bd6328b..2e25858 100644 --- a/js/agency.min.js +++ b/js/agency.min.js @@ -3,4 +3,4 @@ * Copyright 2013-2017 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ -!function(a){"use strict";a("a.page-scroll").bind("click",function(n){var o=a(this);a("html, body").stop().animate({scrollTop:a(o.attr("href")).offset().top-54},1250,"easeInOutExpo"),n.preventDefault()}),a("body").scrollspy({target:"#mainNav",offset:54}),a(".navbar-collapse>ul>li>a").click(function(){a(".navbar-collapse").collapse("hide")}),a(window).scroll(function(){a("#mainNav").offset().top>100?a("#mainNav").addClass("navbar-shrink"):a("#mainNav").removeClass("navbar-shrink")})}(jQuery); \ No newline at end of file +!function(a){"use strict";a(document).on("click","a.page-scroll",function(o){var n=a(this);a("html, body").stop().animate({scrollTop:a(n.attr("href")).offset().top-54},1250,"easeInOutExpo"),o.preventDefault()}),a("body").scrollspy({target:"#mainNav",offset:54}),a(".navbar-collapse>ul>li>a").click(function(){a(".navbar-collapse").collapse("hide")}),a(window).scroll(function(){a("#mainNav").offset().top>100?a("#mainNav").addClass("navbar-shrink"):a("#mainNav").removeClass("navbar-shrink")})}(jQuery); \ No newline at end of file diff --git a/package.json b/package.json index 3fc1700..0acb332 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,29 @@ { - "name": "startbootstrap-agency", - "title": "Agency", - "version": "4.0.0-alpha", - "homepage": "http://startbootstrap.com/template-overviews/agency", - "author": "Start Bootstrap", - "license": { - "type": "MIT", - "url": "https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE" - }, - "devDependencies": { - "bootstrap": "^4.0.0-alpha.6", - "browser-sync": "^2.13.0", - "font-awesome": "^4.6.3", - "gulp": "^3.9.1", - "gulp-clean-css": "^2.0.10", - "gulp-header": "^1.8.7", - "gulp-less": "^3.1.0", - "gulp-rename": "^1.2.2", - "gulp-sass": "^2.3.2", - "gulp-uglify": "^1.5.4", - "jquery": "^3.1.1", - "tether": "^1.4.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/BlackrockDigital/startbootstrap-agency.git" - } + "name": "startbootstrap-agency", + "title": "Agency", + "version": "4.0.0-alpha", + "homepage": "http://startbootstrap.com/template-overviews/agency", + "author": "Start Bootstrap", + "license": { + "type": "MIT", + "url": "https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE" + }, + "devDependencies": { + "bootstrap": "^4.0.0-alpha.6", + "browser-sync": "^2.13.0", + "font-awesome": "^4.6.3", + "gulp": "^3.9.1", + "gulp-clean-css": "^2.0.10", + "gulp-header": "^1.8.7", + "gulp-less": "^3.1.0", + "gulp-rename": "^1.2.2", + "gulp-sass": "^2.3.2", + "gulp-uglify": "^1.5.4", + "jquery": "^3.1.1", + "tether": "^1.4.0" + }, + "repository": { + "type": "git", + "url": "https://github.com/BlackrockDigital/startbootstrap-agency.git" + } }