Skip to content

Commit

Permalink
Documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryJones committed Aug 8, 2016
1 parent b85a069 commit cf32224
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Load plugin text domain.
* Add `composer.json`.
* Better [change log format][changelogformat].
* Tweak documentation.

## [2.0.0] - 2014-08-23

Expand Down
5 changes: 2 additions & 3 deletions genesis-js-no-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
* Genesis js / no-js WordPress plugin.
*
* For child themes of the Genesis Framework.
*
*
* Adds a no-js body class to the front-end, and a script on genesis_before
* which immediately changes the class to js if JavaScript is enabled. This is
* how WP does things on the back-end, to allow different styles for the same
* elements depending if JavaScript is active or not.
*
* @package GenesisJsNoJs
* @package Gamajo\GenesisJsNoJs
* @author Gary Jones
* @link https://github.com/GaryJones/genesis-js-no-js
* @copyright 2011 Gary Jones, Gamajo Tech
* @license GPL-2.0+
*
Expand Down
5 changes: 2 additions & 3 deletions includes/class-genesis-js-no-js.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php
/**
* Genesis Header Nav
* Genesis JS No Js
*
* @package GenesisJsNoJs
* @package Gamajo\GenesisJsNoJs
* @author Gary Jones
* @link https://github.com/GaryJones/genesis-header-nav
* @copyright 2011 Gary Jones, Gamajo Tech
* @license GPL-2.0+
*/
Expand Down
12 changes: 10 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: GaryJ
Donate link: http://code.garyjones.co.uk/donate/
Tags: genesis, js-no-js
Requires at least: 3.0
Tested up to: 4.0
Tested up to: 4.6.0
Stable tag: 2.0.0

Make front-end styling easier for child themes on the Genesis Framework based on whether JavaScript is enabled or not.
Expand Down Expand Up @@ -42,6 +42,11 @@ Doing it immediately also reduces a flash of incorrectly styled content, as the

== Changelog ==

= 2.0.0 =
* GitHub Updater plugin support
* Refactor class into a new file. Stops using half-implemented Singleton pattern.
* Update documentation.

= 1.0.1 =
* Improved plugin so script is hooked in with priority 1 - avoids a theme placing anything before the script (props [Josh Stauffer](http://twitter.com/joshstauffer))

Expand All @@ -50,8 +55,11 @@ Doing it immediately also reduces a flash of incorrectly styled content, as the

== Upgrade Notice ==

= 2.0.0 =
Update to add GitHub Updater plugin support.

= 1.0.1 =
Minor change to avoid potential problems with themes hooking in elements before the script.

= 1.0 =
Update from nothingness. You will feel better for it.
Update from nothingness. You will feel better for it.

0 comments on commit cf32224

Please sign in to comment.