Async JavaScript - Version 1.14.12.11.2

Version Description

Download this release

Release Info

Developer cloughit
Plugin Icon 128x128 Async JavaScript
Version 1.14.12.11.2
Comparing to
See all releases

Code changes from version 1.14.12.10 to 1.14.12.11.2

assets/async-javascript-screenshot1.jpg ADDED
Binary file
async-javascript.php CHANGED
@@ -2,9 +2,9 @@
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
  /*
4
  Plugin Name: Async Javascript
5
- Plugin URI: http://www.cloughit.com.au/projects/async-javascript/
6
- Description: Async Javascript adds a 'async' attribute to scripts loaded via wp_enqueue_script
7
- Version: 0.14.12.10
8
  Author: David Clough (cloughit)
9
  Author URI: http://www.cloughit.com.au/
10
  Text Domain: async-javascript
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
  /*
4
  Plugin Name: Async Javascript
5
+ Plugin URI: http://www.cloughit.com.au/wordpress/plugins/async-javascript-wordpress-plugin/
6
+ Description: Async Javascript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
7
+ Version: 1.14.12.11.2
8
  Author: David Clough (cloughit)
9
  Author URI: http://www.cloughit.com.au/
10
  Text Domain: async-javascript
css/admin.css CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  .aj_method {
2
  display:none;
3
  }
1
+ /*
2
+ Plugin Name: Async Javascript
3
+ Plugin URI: http://www.cloughit.com.au/wordpress/plugins/async-javascript-wordpress-plugin/
4
+ Description: Async Javascript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
5
+ Version: 1.14.12.11
6
+ Author: David Clough (cloughit)
7
+ Author URI: http://www.cloughit.com.au/
8
+ Text Domain: async-javascript
9
+ License: GNU General Public License v2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+ */
12
+
13
  .aj_method {
14
  display:none;
15
  }
js/admin.js CHANGED
@@ -1,3 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  function isChecked() {
2
  if (jQuery('#aj_enabled').prop('checked')) {
3
  jQuery('.aj_method').show();
@@ -6,6 +26,9 @@ function isChecked() {
6
  }
7
  }
8
 
 
 
 
9
  jQuery(document).ready(function() {
10
  isChecked();
11
 
1
+ /*
2
+ Plugin Name: Async Javascript
3
+ Plugin URI: http://www.cloughit.com.au/wordpress/plugins/async-javascript-wordpress-plugin/
4
+ Description: Async Javascript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
5
+ Version: 1.14.12.11
6
+ Author: David Clough (cloughit)
7
+ Author URI: http://www.cloughit.com.au/
8
+ Text Domain: async-javascript
9
+ License: GNU General Public License v2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+ */
12
+
13
+ /**
14
+ * isChecked()
15
+ *
16
+ * checks to see if the 'aj_enabled' checkbox is checked. If yes, show extended options, if no, hide extended options
17
+ *
18
+ * @param n/a
19
+ * @return n/a
20
+ */
21
  function isChecked() {
22
  if (jQuery('#aj_enabled').prop('checked')) {
23
  jQuery('.aj_method').show();
26
  }
27
  }
28
 
29
+ /**
30
+ * functions and actions to load after document ready
31
+ */
32
  jQuery(document).ready(function() {
33
  isChecked();
34
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Async Javascript ===
2
  Contributors: (cloughit)
3
- Donate link: http://www.cloughit.com.au/donate/
4
- Tags: async,javascript,google,pagespeed,js,speed,performance,boost
5
  Requires at least: 2.8
6
  Tested up to: 4.0.1
7
- Stable tag: 1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -16,7 +16,7 @@ Eliminate Render-blocking Javascript in above-the-fold content with Async Javasc
16
 
17
  Render-blocking Javascript prevents above-the-fold content on your page from being rendered until the javascript has finished loading. This can impact on your page speed and ultimately your ranking within search engines. It can also impact your users experience.
18
 
19
- Async Javascript adds a 'async' attribute to all scripts loaded by the WordPress wp_enqueue_script function. This 'async' attribute forces the javascript to be loaded asynchronously, therefore speeding up page delivery.
20
 
21
  == Installation ==
22
 
@@ -24,7 +24,7 @@ Just install from your WordPress "Plugins | Add New" screen and all will be well
24
 
25
  1. Upload the zip-file and unzip it in the /wp-content/plugins/ directory
26
  2. Activate the plugin through the 'Plugins' menu in WordPress
27
- 3. Go to `Settings -> Async Javascript`
28
 
29
  == Frequently Asked Questions ==
30
 
@@ -38,19 +38,36 @@ The 'async' attribute is new in HTML5. It is supported by the following browsers
38
  > Safari
39
  > Opera
40
 
41
- = What about foo bar? =
42
 
43
- Answer to foo bar dilemma.
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  == Screenshots ==
46
 
47
- 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
48
- the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
49
- directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
50
- (or jpg, jpeg, gif).
51
- 2. This is the second screen shot
52
 
53
  == Changelog ==
54
 
55
- = 1.0 =
 
 
 
 
 
 
 
 
 
56
  * Genesis
1
  === Async Javascript ===
2
  Contributors: (cloughit)
3
+ Donate link: http://www.cloughit.com.au/donate/ (coming soon)
4
+ Tags: async,javascript,google,pagespeed,js,speed,performance,boost,render,blocking,above-the-fold
5
  Requires at least: 2.8
6
  Tested up to: 4.0.1
7
+ Stable tag: 1.14.12.11.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
16
 
17
  Render-blocking Javascript prevents above-the-fold content on your page from being rendered until the javascript has finished loading. This can impact on your page speed and ultimately your ranking within search engines. It can also impact your users experience.
18
 
19
+ Async Javascript adds a 'async' or 'defer' attribute to all scripts loaded by the WordPress wp_enqueue_script function. This 'async' or 'defer' attribute forces the javascript to be loaded asynchronously or deferred, therefore speeding up page delivery.
20
 
21
  == Installation ==
22
 
24
 
25
  1. Upload the zip-file and unzip it in the /wp-content/plugins/ directory
26
  2. Activate the plugin through the 'Plugins' menu in WordPress
27
+ 3. Go to `Async Javascript` menu to load setings page
28
 
29
  == Frequently Asked Questions ==
30
 
38
  > Safari
39
  > Opera
40
 
41
+ = Where can I report an error? =
42
 
43
+ Contact David Clough @ Clough I.T. Solutions - support@cloughit.com.au
44
+
45
+ = What information should I include when requesting support =
46
+
47
+ * A description of the problem, including screenshots and information from your browser's Error/ debug console
48
+ * URL of your blog (you can turn Async Javascript off, but should be willing to turn it briefly on to have the error visible)
49
+ * your Async Javascript settings (including a description of changes you made to the configuration to try to troubleshoot yourself)
50
+ * the Theme used (including the Theme's download link)
51
+ * optionally plugins used (if you suspect one or more plugins are raising havoc)
52
+
53
+ = I want out, how should I remove Async Javascript? =
54
+ * Disable the plugin
55
+ * Delete the plugin
56
 
57
  == Screenshots ==
58
 
59
+ 1. this screen shot description corresponds to async-javascript-screenshot1.jpg and shows the admin page for Async Javascript
 
 
 
 
60
 
61
  == Changelog ==
62
 
63
+ = 1.14.12.11.2
64
+ * Repaired broken SVN issue preventing plugin install
65
+
66
+ = 1.14.12.11.1
67
+ * Repaired broken SVN issue preventing plugin install
68
+
69
+ = 1.14.12.11 =
70
+ * Updated minor versioning issue
71
+
72
+ = 1.14.12.10 =
73
  * Genesis