Changes between Version 1 and Version 2 of Ticket #16779, comment 3
- Timestamp:
- Mar 1, 2013, 1:26:25 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16779, comment 3
v1 v2 3 3 _SearchMixin will check if there is a custom query factory, if there is one, then it calls it with the regexp as parameter, otherwise it will work as before. 4 4 5 the application is responsible to provide a factory function. It calls setQueryFunctionFactory with a function that takes a regular expression. The factory returns a functionthat uses the regexp to check all the attributes of the given object.5 the application is responsible to provide a factory function. It calls setQueryFunctionFactory with a function (1) that takes a regular expression. _SearchMixin will call the factory function (1) which returns a function (2) that uses the regexp to check all the attributes of the given object. 6 6 7 The function (2) will be later called by dojo/store/util/SimpleQueryEngine