diff --git a/README.txt b/README.txt
index 05cd58d..2070e80 100755
--- a/README.txt
+++ b/README.txt
@@ -43,6 +43,9 @@ This plugin will not work out the box with the following plugins (unless they ar
== Changelog ==
+= 1.2.0 =
+* Wordpress already orders dependencies, updated as head.js doesn't support multiple dependency resolution
+
= 1.1.2 =
* Starting incompatibility list
diff --git a/asynchronous-javascript.php b/asynchronous-javascript.php
index bb036c1..5f588c7 100644
--- a/asynchronous-javascript.php
+++ b/asynchronous-javascript.php
@@ -1,9 +1,9 @@
$depend){
- if(is_array($depend['deps']) && count($depend['deps']) > 0){
- echo '';
- }elseif(is_string($depend['deps'])){
- echo '';
- }else{
- echo '';
- }
+ $handles[] = '{"' . $handle . '": "' . $depend['src'] . '"}';
}
+ echo '';
+
self::$depends = array();
}