Ticket #2542: dojo.data.api.Read_20070501.patch
| File dojo.data.api.Read_20070501.patch, 1.3 kB (added by guest, 19 months ago) |
|---|
-
dojo/data/api/Read.js
132 132 // summary: 133 133 // Given an item, this method loads the item so that a subsequent call 134 134 // to store.isItemLoaded(item) will return true. If a call to 135 // toisItemLoaded() returns true before loadItem() is even called,135 // isItemLoaded() returns true before loadItem() is even called, 136 136 // then loadItem() need not do any work at all and will not even invoke 137 137 // the callback handlers. So, before invoking this method, check that 138 138 // the item has not already been loaded. … … 161 161 // 162 162 // The *scope* parameter. 163 163 // If a scope object is provided, all of the callback functions (onItem, 164 // on Item, onError, etc) will be invoked in the context of the scope165 // object.In the body of the callback function, the value of the "this"164 // onError, etc) will be invoked in the context of the scope object. 165 // In the body of the callback function, the value of the "this" 166 166 // keyword will be the scope object. If no scope object is provided, 167 167 // the callback functions will be called in the context of dojo.global(). 168 168 // For example, onItem.call(scope, item, request) vs.