]> source.dussan.org Git - gwtquery.git/commitdiff
removing redundant lines in deferred binding selections
authorManolo Carrasco <manolo@apache.org>
Wed, 7 Sep 2011 10:48:07 +0000 (10:48 +0000)
committerManolo Carrasco <manolo@apache.org>
Wed, 7 Sep 2011 10:48:07 +0000 (10:48 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml

index 0b88c8a6d0e20fce28799a89f16852e61ea55fc8..a4124550246e5bf761c0eca88caaa6d2f9dc8330 100644 (file)
     <replace-with class="com.google.gwt.query.client.impl.DocumentStyleImplIE">\r
         <when-type-assignable class="com.google.gwt.query.client.impl.DocumentStyleImpl"/>\r
         <any>\r
-               <when-property-is name="user.agent" value="ie6"/>\r
-               <when-property-is name="user.agent" value="ie8"/>\r
-               <when-property-is name="user.agent" value="ie9"/>\r
+            <when-property-is name="user.agent" value="ie6"/>\r
+            <when-property-is name="user.agent" value="ie8"/>\r
+            <when-property-is name="user.agent" value="ie9"/>\r
         </any>\r
     </replace-with>\r
 \r
-    <!-- Selector Engines -->\r
+    <!-- Fall-back Engine for unsupported cases when using SelectorEngineImpl -->\r
     <replace-with class="com.google.gwt.query.client.impl.SelectorEngineCssToXPath">\r
         <when-type-assignable class="com.google.gwt.query.client.impl.HasSelector"/>\r
     </replace-with>\r
@@ -67,7 +67,8 @@
             <when-property-is name="user.agent" value="ie9"/>\r
         </any>\r
     </replace-with>\r
-    \r
+\r
+    <!-- Selector Engines -->\r
     <replace-with class="com.google.gwt.query.client.impl.SelectorEngineSizzle">\r
         <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>\r
     </replace-with>\r
@@ -75,8 +76,6 @@
         <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>\r
         <any>\r
           <when-property-is name="user.agent" value="ie6"/>\r
-          <when-property-is name="user.agent" value="ie8"/>\r
-          <when-property-is name="user.agent" value="ie9"/>\r
         </any>\r
     </replace-with>\r
     <replace-with class="com.google.gwt.query.client.impl.SelectorEngineNative">\r
             <when-property-is name="user.agent" value="gecko1_8"/>\r
             <when-property-is name="user.agent" value="opera"/>\r
             <when-property-is name="user.agent" value="safari"/>\r
-               <when-property-is name="user.agent" value="ie9"/>\r
+            <when-property-is name="user.agent" value="ie9"/>\r
         </any>\r
     </replace-with>\r
     <replace-with class="com.google.gwt.query.client.impl.SelectorEngineNativeIE8">\r
         <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>\r
         <any>\r
-               <when-property-is name="user.agent" value="ie8"/>\r
+            <when-property-is name="user.agent" value="ie8"/>\r
         </any>\r
     </replace-with>\r
     \r
     <!-- UI implementations -->\r
     <replace-with class="com.google.gwt.query.client.plugins.UiPlugin.GQueryUiImpl">\r
-               <when-type-is class="com.google.gwt.query.client.plugins.UiPlugin.GQueryUiImpl" />\r
-       </replace-with>    \r
+        <when-type-is class="com.google.gwt.query.client.plugins.UiPlugin.GQueryUiImpl" />\r
+    </replace-with>    \r
     <replace-with class="com.google.gwt.query.client.plugins.UiPlugin.GQueryUiImplTrident">\r
-               <when-type-is class="com.google.gwt.query.client.plugins.UiPlugin.GQueryUiImpl" />\r
-               <any>\r
-                       <when-property-is name="user.agent" value="ie6" />\r
-                       <when-property-is name="user.agent" value="ie8" />\r
-                       <when-property-is name="user.agent" value="ie9" />\r
-               </any>\r
-       </replace-with>\r
-       \r
-       <!-- Attribute setter implementations -->\r
+        <when-type-is class="com.google.gwt.query.client.plugins.UiPlugin.GQueryUiImpl" />\r
+        <any>\r
+            <when-property-is name="user.agent" value="ie6" />\r
+            <when-property-is name="user.agent" value="ie8" />\r
+            <when-property-is name="user.agent" value="ie9" />\r
+        </any>\r
+    </replace-with>\r
+    \r
+    <!-- Attribute setter implementations -->\r
     <replace-with class="com.google.gwt.query.client.impl.AttributeImpl">\r
-               <when-type-is class="com.google.gwt.query.client.impl.AttributeImpl" />\r
-       </replace-with>\r
+        <when-type-is class="com.google.gwt.query.client.impl.AttributeImpl" />\r
+    </replace-with>\r
     <replace-with class="com.google.gwt.query.client.impl.AttributeTridentImpl">\r
-               <when-type-is class="com.google.gwt.query.client.impl.AttributeImpl" />\r
-               <when-property-is name="user.agent" value="ie6" />\r
-       </replace-with>\r
+        <when-type-is class="com.google.gwt.query.client.impl.AttributeImpl" />\r
+        <when-property-is name="user.agent" value="ie6" />\r
+    </replace-with>\r
 \r
     <!-- IE8 needs the iframe where the js of app is loaded set to standard in order \r
          to use the queryAll native selector -->    \r