Sha256: ddf8cbf8e5ba26be82d8679659e203f4205c01071b31e182860a21745eb5da89
Contents?: true
Size: 714 Bytes
Versions: 7
Compression:
Stored size: 714 Bytes
Contents
dojo.provide("dojox.data.demos.widgets.FlickrViewList"); dojo.require("dojox.dtl._Templated"); dojo.require("dijit._Widget"); dojo.declare("dojox.data.demos.widgets.FlickrViewList", [ dijit._Widget, dojox.dtl._Templated ], { store: null, items: null, templatePath: dojo.moduleUrl("dojox", "data/demos/widgets/templates/FlickrViewList.html"), fetch: function(request){ request.onComplete = dojo.hitch(this, "onComplete"); request.onError = dojo.hitch(this, "onError"); return this.store.fetch(request); }, onError: function(){ console.trace(); this.items = []; this.render(); }, onComplete: function(items, request){ this.items = items||[]; this.render(); } } );
Version data entries
7 entries across 7 versions & 1 rubygems