//>>built
define("dojox/wire/ml/DataStore",["dijit","dojo","dojox","dojo/require!dijit/_Widget,dojox/wire/_base"],function(g,b,h){b.provide("dojox.wire.ml.DataStore");b.require("dijit._Widget");b.require("dojox.wire._base");b.declare("dojox.wire.ml.DataStore",g._Widget,{storeClass:"",postCreate:function(){this.store=this._createStore()},_createStore:function(){if(!this.storeClass)return null;var a=h.wire._getClass(this.storeClass);if(!a)return null;for(var e={},f=this.domNode.attributes,d=0;d<f.length;d++){var c=
f.item(d);c.specified&&!this[c.nodeName]&&(e[c.nodeName]=c.nodeValue)}return new a(e)},getFeatures:function(){return this.store.getFeatures()},fetch:function(a){return this.store.fetch(a)},save:function(a){this.store.save(a)},newItem:function(a){return this.store.newItem(a)},deleteItem:function(a){return this.store.deleteItem(a)},revert:function(){return this.store.revert()}})});