File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ This plugin will not work out the box with the following plugins (unless they ar
4343
4444== Changelog ==
4545
46+ = 1.3.2 =
47+ * Ability to specify your own head.js file (thanks to DeanStr)
48+
4649= 1.3.1 =
4750* Removed PHP warning
4851
Original file line number Diff line number Diff line change 33Plugin Name: Asynchronous Javascript
44Plugin URI: http://wordpress.org/extend/plugins/asynchronous-javascript/
55Description: Improve page load performance by asynchronously loading javascript using head.js
6- Version: 1.3.1
6+ Version: 1.3.2
77Author: Paris Holley
88Author URI: http://www.linkedin.com/in/parisholley
99Author Email: mail@parisholley.com
@@ -99,9 +99,7 @@ function admin(){
9999 )
100100 ));
101101
102- $ NHP_Options = new NHP_Options ($ sections , $ args );
103- if (empty ($ NHP_Options ->options ['head_file ' ]))
104- $ NHP_Options ->set ('head_file ' , self ::$ default_head_file );
102+ new NHP_Options ($ sections , $ args );
105103 }
106104
107105 /**
@@ -135,8 +133,9 @@ function filter_headjs(){
135133 $ names = split (', ' , $ options ['exclude_name ' ]);
136134 $ files = split (', ' , $ options ['exclude_js ' ]);
137135
138- if (empty ($ options ['head_file ' ]))
139- $ options ['head_file ' ] == self ::$ default_head_file ;
136+ if (empty ($ options ['head_file ' ])){
137+ $ options ['head_file ' ] == self ::$ default_head_file ;
138+ }
140139
141140 if (count (self ::$ depends ) > 0 ){
142141 $ handles = array ();
You can’t perform that action at this time.
0 commit comments