Changes between Version 1 and Version 2 of Ticket #16779, comment 3


Ignore:
Timestamp:
Mar 1, 2013, 1:26:25 PM (8 years ago)
Author:
ebengtso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16779, comment 3

    v1 v2  
    33_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.
    44
    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 function that uses the regexp to check all the attributes of the given object.
     5the 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.
    66
     7The function (2) will be later called by dojo/store/util/SimpleQueryEngine