123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <!--
- Copyright 2011, The gwtquery team.
-
- Licensed under the Apache License, Version 2.0 (the "License"); you may not
- use this file except in compliance with the License. You may obtain a copy of
- the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- License for the specific language governing permissions and limitations under
- the License.
- -->
-
- <module>
- <inherits name='com.google.gwt.user.User'/>
-
- <generate-with class="com.google.gwt.query.rebind.LazyGenerator">
- <when-type-assignable class="com.google.gwt.query.client.Lazy"/>
- </generate-with>
-
- <!-- Selector Generators -->
- <generate-with class="com.google.gwt.query.rebind.SelectorGeneratorJS">
- <when-type-assignable class="com.google.gwt.query.client.Selectors"/>
- </generate-with>
- <generate-with class="com.google.gwt.query.rebind.SelectorGeneratorNative">
- <when-type-assignable class="com.google.gwt.query.client.Selectors"/>
- <any>
- <when-property-is name="user.agent" value="gecko1_8"/>
- <when-property-is name="user.agent" value="opera"/>
- <when-property-is name="user.agent" value="safari"/>
- </any>
- </generate-with>
- <generate-with class="com.google.gwt.query.rebind.SelectorGeneratorNativeIE8">
- <when-type-assignable class="com.google.gwt.query.client.Selectors"/>
- <when-property-is name="user.agent" value="ie8"/>
- </generate-with>
-
- <!-- Document Style -->
- <replace-with class="com.google.gwt.query.client.impl.DocumentStyleImpl">
- <when-type-assignable class="com.google.gwt.query.client.impl.DocumentStyleImpl"/>
- </replace-with>
- <replace-with class="com.google.gwt.query.client.impl.DocumentStyleImplIE">
- <when-type-assignable class="com.google.gwt.query.client.impl.DocumentStyleImpl"/>
- <any>
- <when-property-is name="user.agent" value="ie6"/>
- <when-property-is name="user.agent" value="ie8"/>
- </any>
- </replace-with>
-
- <!-- Selector Engines -->
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineCssToXPath">
- <when-type-assignable class="com.google.gwt.query.client.impl.HasSelector"/>
- </replace-with>
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineSizzleIE">
- <when-type-assignable class="com.google.gwt.query.client.impl.HasSelector"/>
- <any>
- <when-property-is name="user.agent" value="ie8"/>
- <when-property-is name="user.agent" value="ie6"/>
- </any>
- </replace-with>
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineSizzle">
- <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>
- </replace-with>
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineSizzleIE">
- <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>
- <when-property-is name="user.agent" value="ie6"/>
- </replace-with>
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineNative">
- <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>
- <any>
- <when-property-is name="user.agent" value="gecko1_8"/>
- <when-property-is name="user.agent" value="opera"/>
- <when-property-is name="user.agent" value="safari"/>
- </any>
- </replace-with>
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineNativeIE8">
- <when-type-assignable class="com.google.gwt.query.client.impl.SelectorEngineImpl"/>
- <when-property-is name="user.agent" value="ie8"/>
- </replace-with>
-
- <!-- UI implementations -->
- <replace-with
- class="gwtquery.plugins.commonui.client.GQuery.GQueryUiImplTrident">
- <when-type-is
- class="gwtquery.plugins.commonui.client.GQuery.GQueryUiImpl" />
- <any>
- <when-property-is name="user.agent" value="ie6" />
- <when-property-is name="user.agent" value="ie8" />
- </any>
- </replace-with>
-
- <!-- IE8 needs the iframe where the js of app is loaded set to standard in order
- to use the queryAll native selector -->
- <define-linker name="stddoctype" class="com.google.gwt.query.linker.IFrameWithDocTypeLinker"/>
- <add-linker name="stddoctype"/>
-
- </module>
|