root / trunk / web / dojo / dojox / data / JsonQueryRestStore.js
History | View | Annotate | Download (712 Bytes)
| 1 | 9 | andrej.cim | /*
|
|---|---|---|---|
| 2 | Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||
| 3 | Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
| 4 | see: http://dojotoolkit.org/license for details
|
||
| 5 | */
|
||
| 6 | |||
| 7 | |||
| 8 | if(!dojo._hasResource["dojox.data.JsonQueryRestStore"]){ |
||
| 9 | dojo._hasResource["dojox.data.JsonQueryRestStore"]=true; |
||
| 10 | dojo.provide("dojox.data.JsonQueryRestStore");
|
||
| 11 | dojo.require("dojox.data.JsonRestStore");
|
||
| 12 | dojo.require("dojox.data.util.JsonQuery");
|
||
| 13 | dojo.requireIf(!!dojox.data.ClientFilter,"dojox.json.query");
|
||
| 14 | dojo.declare("dojox.data.JsonQueryRestStore",[dojox.data.JsonRestStore,dojox.data.util.JsonQuery],{matchesQuery:function(_1,_2){ |
||
| 15 | return _1.__id&&(_1.__id.indexOf("#")==-1)&&this.inherited(arguments); |
||
| 16 | }}); |
||
| 17 | } |