Skip to content

Commit

Permalink
upd dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Dec 30, 2014
1 parent 3c5267b commit c077115
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 39 deletions.
21 changes: 13 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,21 @@ module.exports = function(grunt) {
},
jekyll: {
dev: {
src: 'website',
dest: '_site',
url: 'local',
raw: jekyllConfig + "url: local"
options: {
src: 'website',
dest: '_site',
url: 'local',
raw: jekyllConfig + "url: local"
}
},
production: {
src: 'website',
dest: '_production',
url: 'production',
raw: jekyllConfig + "url: production"
options: {
src: 'website',
dest: '_production',
url: 'production',
raw: jekyllConfig + "url: production"
}

}
},

Expand Down
4 changes: 3 additions & 1 deletion dist/jquery.magnific-popup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Magnific Popup - v1.0.0 - 2014-12-12
/*! Magnific Popup - v1.0.0 - 2014-12-30
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2014 Dmitry Semenov; */
;(function (factory) {
Expand Down Expand Up @@ -42,6 +42,7 @@ var CLOSE_EVENT = 'Close',
/**
* Private vars
*/
/*jshint -W079 */
var mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'
MagnificPopup = function(){},
_isJQ = !!(window.jQuery),
Expand Down Expand Up @@ -97,6 +98,7 @@ var _mfpOn = function(name, f) {
// Initialize Magnific Popup only when called at least once
_checkInstance = function() {
if(!$.magnificPopup.instance) {
/*jshint -W020 */
mfp = new MagnificPopup();
mfp.init();
$.magnificPopup.instance = mfp;
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.magnific-popup.min.js

Large diffs are not rendered by default.

39 changes: 22 additions & 17 deletions dist/magnific-popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
display: none !important; }

.mfp-preloader {
color: #cccccc;
color: #CCC;
position: absolute;
top: 50%;
width: auto;
Expand All @@ -93,9 +93,9 @@
right: 8px;
z-index: 1044; }
.mfp-preloader a {
color: #cccccc; }
color: #CCC; }
.mfp-preloader a:hover {
color: white; }
color: #FFF; }

.mfp-s-ready .mfp-preloader {
display: none; }
Expand Down Expand Up @@ -131,7 +131,7 @@ button::-moz-focus-inner {
opacity: 0.65;
filter: alpha(opacity=65);
padding: 0 0 18px 10px;
color: white;
color: #FFF;
font-style: normal;
font-size: 28px;
font-family: Arial, Baskerville, monospace; }
Expand All @@ -142,10 +142,10 @@ button::-moz-focus-inner {
top: 1px; }

.mfp-close-btn-in .mfp-close {
color: #333333; }
color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
color: white;
color: #FFF;
right: -6px;
text-align: right;
padding-right: 6px;
Expand All @@ -155,7 +155,7 @@ button::-moz-focus-inner {
position: absolute;
top: 0;
right: 0;
color: #cccccc;
color: #CCC;
font-size: 12px;
line-height: 18px;
white-space: nowrap; }
Expand Down Expand Up @@ -199,19 +199,19 @@ button::-moz-focus-inner {
.mfp-arrow-left {
left: 0; }
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
border-right: 17px solid white;
border-right: 17px solid #FFF;
margin-left: 31px; }
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
margin-left: 25px;
border-right: 27px solid #3f3f3f; }
border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
right: 0; }
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
border-left: 17px solid white;
border-left: 17px solid #FFF;
margin-left: 39px; }
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
border-left: 27px solid #3f3f3f; }
border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
padding-top: 40px;
Expand All @@ -236,7 +236,7 @@ button::-moz-focus-inner {
width: 100%;
height: 100%;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
background: black; }
background: #000; }

/* Main image in popup */
img.mfp-img {
Expand Down Expand Up @@ -266,9 +266,9 @@ img.mfp-img {
height: auto;
z-index: -1;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
background: #444444; }
background: #444; }
.mfp-figure small {
color: #bdbdbd;
color: #BDBDBD;
display: block;
font-size: 12px;
line-height: 14px; }
Expand All @@ -286,7 +286,7 @@ img.mfp-img {
.mfp-title {
text-align: left;
line-height: 18px;
color: #f3f3f3;
color: #F3F3F3;
word-wrap: break-word;
padding-right: 36px; }

Expand Down Expand Up @@ -335,21 +335,26 @@ img.mfp-img {
background: rgba(0, 0, 0, 0.6);
position: fixed;
text-align: center;
padding: 0; } }
padding: 0; }
}

@media all and (max-width: 900px) {
.mfp-arrow {
-webkit-transform: scale(0.75);
transform: scale(0.75); }

.mfp-arrow-left {
-webkit-transform-origin: 0;
transform-origin: 0; }

.mfp-arrow-right {
-webkit-transform-origin: 100%;
transform-origin: 100%; }

.mfp-container {
padding-left: 6px;
padding-right: 6px; } }
padding-right: 6px; }
}

.mfp-ie7 .mfp-img {
padding: 0; }
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
"test": "grunt jshint"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-concat": "~0.1.2",
"grunt-contrib-uglify": "~0.1.1",
"grunt-contrib-watch": "~0.2.0",
"grunt-contrib-clean": "~0.4.0",
"grunt": "~0.4.0",
"grunt-contrib-cssmin": "~0.4.1",
"grunt-contrib-copy": "~0.4.0",
"grunt-jekyll": "~0.3.9",
"grunt-sass": "~0.6.1"
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-concat": "~0.5.0",
"grunt-contrib-uglify": "~0.7.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-contrib-clean": "~0.6.0",
"grunt": "~0.4.5",
"grunt-contrib-cssmin": "~0.11.0",
"grunt": "~0.4.5",
"grunt-jekyll": "~0.4.2",
"grunt-sass": "~0.17.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var CLOSE_EVENT = 'Close',
/**
* Private vars
*/
/*jshint -W079 */
var mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'
MagnificPopup = function(){},
_isJQ = !!(window.jQuery),
Expand Down Expand Up @@ -80,6 +81,7 @@ var _mfpOn = function(name, f) {
// Initialize Magnific Popup only when called at least once
_checkInstance = function() {
if(!$.magnificPopup.instance) {
/*jshint -W020 */
mfp = new MagnificPopup();
mfp.init();
$.magnificPopup.instance = mfp;
Expand Down
4 changes: 3 additions & 1 deletion website/site-assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ body {
clear: left;
}


h1#magnific-popup-docs {
display: none;
}

#logo {
height: 150px;
Expand Down

0 comments on commit c077115

Please sign in to comment.