Labs/Ubiquity/Writing A Search Command: Difference between revisions

m
No edit summary
Line 135: Line 135:
Each selector can alternatively be a function that receives its context and returns the expected result for each mode.
Each selector can alternatively be a function that receives its context and returns the expected result for each mode.
* jQuery mode: jQuery object
* jQuery mode: jQuery object
* JSON mode: string if [#contianer] is specified, object/array otherwise.
* JSON mode: String if [[#container]] is specified. Object/Array otherwise.


==== type ====
==== type ====
73

edits