Skip to content

Commit 2ff1692

Browse files
committed
docs & readme update
1 parent b485bc8 commit 2ff1692

File tree

6 files changed

+18
-7
lines changed

6 files changed

+18
-7
lines changed

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ module.exports = function(grunt) {
1010

1111
'use strict';
1212

13-
var jekyllConfig = "my_setting: 'string1' \r\n"+
14-
"isLocal : false \r\n"+
13+
var jekyllConfig = "isLocal : false \r\n"+
1514
"permalink: /:title/ \r\n"+
1615
"exclude: ['.json', '.rvmrc', '.rbenv-version', 'README.md', 'Rakefile', 'changelog.md', 'compiler.jar', 'private', 'magnific-popup.sublime-project', 'magnific-popup.sublime-workspace', '.htaccess'] \r\n"+
1716
"auto: true \r\n"+

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ Optionally:
4949

5050
## Changelog
5151

52+
### 0.9.9 (Nov 15, 2013)
53+
54+
- Popup instance object is now available even before the first `$.fn.magnificPopup call`.
55+
- Methods `_onFocusIn` and `_setFocus` are now public, to allow overriding.
5256

5357
### 0.9.8 (Oct 26, 2013)
5458

website/_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
<title>{{ page.title }}</title>
77

8+
<meta charset="utf-8">
89
<meta name="description" content="{{page.description}}"/>
910
<meta name="viewport" content="width = device-width, initial-scale = 1.0" />
1011
<meta name="author" content="Dmitry Semenov">

website/documentation.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Here you can find the guide on how to use Magnific Popup. Besides this docs page
2929

3030
Please ask general questions through <a href="http://stackoverflow.com/questions/ask?tags=magnific-popup">StackOverflow</a> tagged with `magnific-popup`.
3131

32-
# &nbsp;
32+
# magnific popup docs
3333

3434
* This will become a table of contents (this text will be scraped).
3535
{:toc}
@@ -1167,7 +1167,7 @@ $.magnificPopup.instance.next = function() {
11671167

11681168
You may override any public function, just note that this change applies globally.
11691169

1170-
### Known issues
1170+
## Known issues
11711171

11721172
### Text input in [Select2](http://ivaynberg.github.io/select2/) plugin is inactive when added inside popup
11731173

@@ -1177,4 +1177,6 @@ Refer to [this discussion on GitHub](https://github.com/dimsemenov/Magnific-Popu
11771177

11781178
Improve this documentation page <a href="https://github.com/dimsemenov/Magnific-Popup/edit/master/website/documentation.md">via GitHub</a> (simply submit commit). Any improvements, including your own CodePen examples are very welcome. And, lastly, don't forget to star the script on GitHub:
11791179

1180-
<iframe src="http://ghbtns.com/github-btn.html?user=dimsemenov&amp;repo=magnific-popup&amp;type=watch&amp;count=true&amp;size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
1180+
<div>
1181+
<iframe src="http://ghbtns.com/github-btn.html?user=dimsemenov&amp;repo=magnific-popup&amp;type=watch&amp;count=true&amp;size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30">&nbsp;</iframe>
1182+
</div>

website/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 id="logo-title">Magnific Popup</h1>
1313
</div>
1414
{% include logo.html %}
1515
<div>
16-
<h2 class="intro">Magnific Popup is a responsive jQuery lightbox plugin that is focused on performance and providing best experience for user with any device (Zepto.js compatible).</h2>
16+
<h2 class="intro">Magnific Popup is a responsive jQuery lightbox & dialog plugin that is focused on performance and providing best experience for user with any device (Zepto.js compatible).</h2>
1717
<div id="header-links">
1818
<a href="documentation.html">Documentation</a> &middot; <a href="https://github.com/dimsemenov/Magnific-Popup">GitHub</a> &middot; <a href="wordpress.html" class="wp-version-link" data-mfp-src="#mc_embed_signup">WordPress plugin</a> &middot; <a href="#mfp-build-tool" class="mfp-build-tool-link">Build tool</a> &middot; <a class="smashing-link" href="http://coding.smashingmagazine.com/2013/05/02/truly-responsive-lightbox/">How it was made</a>
1919
</div>

website/site-assets/site.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ h2.intro {
186186
}*/
187187

188188

189-
189+
#magnific_popup_docs {
190+
display: none;
191+
}
190192
.maruku_toc {
191193
position: fixed;
192194
left: 0;
@@ -195,6 +197,9 @@ h2.intro {
195197
background: rgba(255, 255, 255, 0.71);
196198
-webkit-backface-visibility:hidden;
197199
}
200+
.maruku_toc ul {
201+
list-style: none;
202+
}
198203
.maruku_toc ul ul {
199204
display: none;
200205
}

0 commit comments

Comments
 (0)