Merge lp:~abreu-alexandre/unity-js-scopes/fix-classnames-docs into lp:unity-js-scopes

Proposed by Alexandre Abreu
Status: Merged
Approved by: Marcus Tomlinson
Approved revision: 99
Merged at revision: 98
Proposed branch: lp:~abreu-alexandre/unity-js-scopes/fix-classnames-docs
Merge into: lp:unity-js-scopes
Diff against target: 3670 lines (+1446/-1266)
49 files modified
doc/docbuild/api.js (+7/-3)
doc/docbuild/assets/js/api-filter.js (+0/-1)
doc/docbuild/assets/js/api-list.js (+0/-1)
doc/docbuild/assets/js/api-search.js (+0/-1)
doc/docbuild/assets/js/apidocs.js (+0/-1)
doc/docbuild/assets/js/yui-prettify.js (+0/-1)
doc/docbuild/assets/vendor/prettify/prettify-min.js (+1/-2)
doc/docbuild/classes/ActionMetadata.html (+6/-1)
doc/docbuild/classes/ActivationQuery.html (+6/-1)
doc/docbuild/classes/CategorisedResult.html (+6/-1)
doc/docbuild/classes/Category.html (+6/-1)
doc/docbuild/classes/CategoryRenderer.html (+6/-1)
doc/docbuild/classes/ColumnLayout.html (+6/-1)
doc/docbuild/classes/PreviewQuery.html (+6/-1)
doc/docbuild/classes/PreviewReply.html (+6/-1)
doc/docbuild/classes/PreviewWidget.html (+6/-1)
doc/docbuild/classes/Result.html (+6/-1)
doc/docbuild/classes/Scope.html (+6/-1)
doc/docbuild/classes/SearchMetaData.html (+0/-1130)
doc/docbuild/classes/SearchQuery.html (+6/-1)
doc/docbuild/classes/SearchReply.html (+6/-1)
doc/docbuild/data.json (+685/-42)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_index.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_action-metadata.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_activation-query.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_categorised-result.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category-renderer.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_column-layout.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-query.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-reply.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-widget.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_result.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html (+9/-4)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-query.js.html (+6/-1)
doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-reply.js.html (+6/-1)
doc/docbuild/index.html (+6/-1)
doc/docbuild/modules/ScopeJS.html (+33/-3)
examples/simple-click/src/js-scope.webapps_js-scope.js (+9/-9)
examples/simple/simple.js (+4/-4)
examples/soundcloud/soundcloud.js (+9/-9)
src/bindings/src/addon.cc (+26/-27)
src/bindings/src/category-renderer.h (+1/-1)
src/bindings/src/department.h (+114/-0)
src/bindings/src/filter-option.h (+52/-0)
src/bindings/src/filter-state.h (+58/-0)
src/bindings/src/online-account-client-service-status.h (+82/-0)
src/bindings/src/online-account-client.h (+74/-0)
src/bindings/src/option-selector-filter.h (+120/-0)
To merge this branch: bzr merge lp:~abreu-alexandre/unity-js-scopes/fix-classnames-docs
Reviewer Review Type Date Requested Status
Marcus Tomlinson (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+275774@code.launchpad.net

Commit message

Update the class names & associated examples for the export JS classes

Description of the change

Update documentation for:
- OnlineAccountClient,
- OnlineAccountClientServiceStatus,
- Department,
- FilterState,
- FilterOption,
- OptionSelectorFilter,

Update the class names & associated examples for the export JS classes

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Looks good. I'm going to piggy back an update that fixes the templates as well.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/docbuild/api.js'
2--- doc/docbuild/api.js 2015-10-23 17:41:06 +0000
3+++ doc/docbuild/api.js 2015-10-26 22:14:51 +0000
4@@ -24,7 +24,6 @@
5 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
6 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7 */
8-
9 YUI.add("yuidoc-meta", function(Y) {
10 Y.YUIDoc = { meta: {
11 "classes": [
12@@ -34,12 +33,17 @@
13 "Category",
14 "CategoryRenderer",
15 "ColumnLayout",
16+ "Department",
17+ "FilterOption",
18+ "OnlineAccountClient",
19+ "OnlineAccountClientServiceStatus",
20+ "OptionSelectorFilter",
21 "PreviewQuery",
22 "PreviewReply",
23 "PreviewWidget",
24 "Result",
25 "Scope",
26- "SearchMetaData",
27+ "SearchMetadata",
28 "SearchQuery",
29 "SearchReply"
30 ],
31@@ -54,4 +58,4 @@
32 }
33 ]
34 } };
35-});
36+});
37\ No newline at end of file
38
39=== modified file 'doc/docbuild/assets/js/api-filter.js'
40--- doc/docbuild/assets/js/api-filter.js 2015-10-23 17:41:06 +0000
41+++ doc/docbuild/assets/js/api-filter.js 2015-10-26 22:14:51 +0000
42@@ -24,7 +24,6 @@
43 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 */
46-
47 YUI.add('api-filter', function (Y) {
48
49 Y.APIFilter = Y.Base.create('apiFilter', Y.Base, [Y.AutoCompleteBase], {
50
51=== modified file 'doc/docbuild/assets/js/api-list.js'
52--- doc/docbuild/assets/js/api-list.js 2015-10-23 17:41:06 +0000
53+++ doc/docbuild/assets/js/api-list.js 2015-10-26 22:14:51 +0000
54@@ -24,7 +24,6 @@
55 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
56 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57 */
58-
59 YUI.add('api-list', function (Y) {
60
61 var Lang = Y.Lang,
62
63=== modified file 'doc/docbuild/assets/js/api-search.js'
64--- doc/docbuild/assets/js/api-search.js 2015-10-23 17:41:06 +0000
65+++ doc/docbuild/assets/js/api-search.js 2015-10-26 22:14:51 +0000
66@@ -24,7 +24,6 @@
67 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
68 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
69 */
70-
71 YUI.add('api-search', function (Y) {
72
73 var Lang = Y.Lang,
74
75=== modified file 'doc/docbuild/assets/js/apidocs.js'
76--- doc/docbuild/assets/js/apidocs.js 2015-10-23 17:41:06 +0000
77+++ doc/docbuild/assets/js/apidocs.js 2015-10-26 22:14:51 +0000
78@@ -24,7 +24,6 @@
79 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
80 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
81 */
82-
83 YUI().use(
84 'yuidoc-meta',
85 'api-list', 'history-hash', 'node-screen', 'node-style', 'pjax',
86
87=== modified file 'doc/docbuild/assets/js/yui-prettify.js'
88--- doc/docbuild/assets/js/yui-prettify.js 2015-10-23 17:41:06 +0000
89+++ doc/docbuild/assets/js/yui-prettify.js 2015-10-26 22:14:51 +0000
90@@ -24,7 +24,6 @@
91 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
92 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
93 */
94-
95 YUI().use('node', function(Y) {
96 var code = Y.all('.prettyprint.linenums');
97 if (code.size()) {
98
99=== modified file 'doc/docbuild/assets/vendor/prettify/prettify-min.js'
100--- doc/docbuild/assets/vendor/prettify/prettify-min.js 2015-10-23 17:41:06 +0000
101+++ doc/docbuild/assets/vendor/prettify/prettify-min.js 2015-10-26 22:14:51 +0000
102@@ -24,5 +24,4 @@
103 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
104 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
105 */
106-
107-window.PR_SHOULD_USE_CONTINUATION=true;var prettyPrintOne;var prettyPrint;(function(){var O=window;var j=["break,continue,do,else,for,if,return,while"];var v=[j,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var q=[v,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var m=[q,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var y=[q,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var T=[y,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"];var s="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes";var x=[q,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var t="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var J=[j,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var g=[j,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var I=[j,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var B=[m,T,x,t+J,g,I];var f=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;var D="str";var A="kwd";var k="com";var Q="typ";var H="lit";var M="pun";var G="pln";var n="tag";var F="dec";var K="src";var R="atn";var o="atv";var P="nocode";var N="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function l(ab){var af=0;var U=false;var ae=false;for(var X=0,W=ab.length;X<W;++X){var ag=ab[X];if(ag.ignoreCase){ae=true}else{if(/[a-z]/i.test(ag.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){U=true;ae=false;break}}}var aa={b:8,t:9,n:10,v:11,f:12,r:13};function ad(aj){var ai=aj.charCodeAt(0);if(ai!==92){return ai}var ah=aj.charAt(1);ai=aa[ah];if(ai){return ai}else{if("0"<=ah&&ah<="7"){return parseInt(aj.substring(1),8)}else{if(ah==="u"||ah==="x"){return parseInt(aj.substring(2),16)}else{return aj.charCodeAt(1)}}}}function V(ah){if(ah<32){return(ah<16?"\\x0":"\\x")+ah.toString(16)}var ai=String.fromCharCode(ah);return(ai==="\\"||ai==="-"||ai==="]"||ai==="^")?"\\"+ai:ai}function Z(an){var ar=an.substring(1,an.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g"));var ah=[];var ap=ar[0]==="^";var ao=["["];if(ap){ao.push("^")}for(var at=ap?1:0,al=ar.length;at<al;++at){var aj=ar[at];if(/\\[bdsw]/i.test(aj)){ao.push(aj)}else{var ai=ad(aj);var am;if(at+2<al&&"-"===ar[at+1]){am=ad(ar[at+2]);at+=2}else{am=ai}ah.push([ai,am]);if(!(am<65||ai>122)){if(!(am<65||ai>90)){ah.push([Math.max(65,ai)|32,Math.min(am,90)|32])}if(!(am<97||ai>122)){ah.push([Math.max(97,ai)&~32,Math.min(am,122)&~32])}}}}ah.sort(function(aw,av){return(aw[0]-av[0])||(av[1]-aw[1])});var ak=[];var aq=[];for(var at=0;at<ah.length;++at){var au=ah[at];if(au[0]<=aq[1]+1){aq[1]=Math.max(aq[1],au[1])}else{ak.push(aq=au)}}for(var at=0;at<ak.length;++at){var au=ak[at];ao.push(V(au[0]));if(au[1]>au[0]){if(au[1]+1>au[0]){ao.push("-")}ao.push(V(au[1]))}}ao.push("]");return ao.join("")}function Y(an){var al=an.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var aj=al.length;var ap=[];for(var am=0,ao=0;am<aj;++am){var ai=al[am];if(ai==="("){++ao}else{if("\\"===ai.charAt(0)){var ah=+ai.substring(1);if(ah){if(ah<=ao){ap[ah]=-1}else{al[am]=V(ah)}}}}}for(var am=1;am<ap.length;++am){if(-1===ap[am]){ap[am]=++af}}for(var am=0,ao=0;am<aj;++am){var ai=al[am];if(ai==="("){++ao;if(!ap[ao]){al[am]="(?:"}}else{if("\\"===ai.charAt(0)){var ah=+ai.substring(1);if(ah&&ah<=ao){al[am]="\\"+ap[ah]}}}}for(var am=0;am<aj;++am){if("^"===al[am]&&"^"!==al[am+1]){al[am]=""}}if(an.ignoreCase&&U){for(var am=0;am<aj;++am){var ai=al[am];var ak=ai.charAt(0);if(ai.length>=2&&ak==="["){al[am]=Z(ai)}else{if(ak!=="\\"){al[am]=ai.replace(/[a-zA-Z]/g,function(aq){var ar=aq.charCodeAt(0);return"["+String.fromCharCode(ar&~32,ar|32)+"]"})}}}}return al.join("")}var ac=[];for(var X=0,W=ab.length;X<W;++X){var ag=ab[X];if(ag.global||ag.multiline){throw new Error(""+ag)}ac.push("(?:"+Y(ag)+")")}return new RegExp(ac.join("|"),ae?"gi":"g")}function b(aa,Y){var W=/(?:^|\s)nocode(?:\s|$)/;var ab=[];var Z=0;var X=[];var V=0;function U(ac){switch(ac.nodeType){case 1:if(W.test(ac.className)){return}for(var af=ac.firstChild;af;af=af.nextSibling){U(af)}var ae=ac.nodeName.toLowerCase();if("br"===ae||"li"===ae){ab[V]="\n";X[V<<1]=Z++;X[(V++<<1)|1]=ac}break;case 3:case 4:var ad=ac.nodeValue;if(ad.length){if(!Y){ad=ad.replace(/[ \t\r\n]+/g," ")}else{ad=ad.replace(/\r\n?/g,"\n")}ab[V]=ad;X[V<<1]=Z;Z+=ad.length;X[(V++<<1)|1]=ac}break}}U(aa);return{sourceCode:ab.join("").replace(/\n$/,""),spans:X}}function C(U,W,Y,V){if(!W){return}var X={sourceCode:W,basePos:U};Y(X);V.push.apply(V,X.decorations)}var w=/\S/;function p(U){var X=undefined;for(var W=U.firstChild;W;W=W.nextSibling){var V=W.nodeType;X=(V===1)?(X?U:W):(V===3)?(w.test(W.nodeValue)?U:X):X}return X===U?undefined:X}function h(W,V){var U={};var X;(function(){var af=W.concat(V);var aj=[];var ai={};for(var ad=0,ab=af.length;ad<ab;++ad){var aa=af[ad];var ae=aa[3];if(ae){for(var ag=ae.length;--ag>=0;){U[ae.charAt(ag)]=aa}}var ah=aa[1];var ac=""+ah;if(!ai.hasOwnProperty(ac)){aj.push(ah);ai[ac]=null}}aj.push(/[\0-\uffff]/);X=l(aj)})();var Z=V.length;var Y=function(aj){var ab=aj.sourceCode,aa=aj.basePos;var af=[aa,G];var ah=0;var ap=ab.match(X)||[];var al={};for(var ag=0,at=ap.length;ag<at;++ag){var ai=ap[ag];var ar=al[ai];var ak=void 0;var ao;if(typeof ar==="string"){ao=false}else{var ac=U[ai.charAt(0)];if(ac){ak=ai.match(ac[1]);ar=ac[0]}else{for(var aq=0;aq<Z;++aq){ac=V[aq];ak=ai.match(ac[1]);if(ak){ar=ac[0];break}}if(!ak){ar=G}}ao=ar.length>=5&&"lang-"===ar.substring(0,5);if(ao&&!(ak&&typeof ak[1]==="string")){ao=false;ar=K}if(!ao){al[ai]=ar}}var ad=ah;ah+=ai.length;if(!ao){af.push(aa+ad,ar)}else{var an=ak[1];var am=ai.indexOf(an);var ae=am+an.length;if(ak[2]){ae=ai.length-ak[2].length;am=ae-an.length}var au=ar.substring(5);C(aa+ad,ai.substring(0,am),Y,af);C(aa+ad+am,an,r(au,an),af);C(aa+ad+ae,ai.substring(ae),Y,af)}}aj.decorations=af};return Y}function i(V){var Y=[],U=[];if(V.tripleQuotedStrings){Y.push([D,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(V.multiLineStrings){Y.push([D,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{Y.push([D,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(V.verbatimStrings){U.push([D,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var ab=V.hashComments;if(ab){if(V.cStyleComments){if(ab>1){Y.push([k,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{Y.push([k,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}U.push([D,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])}else{Y.push([k,/^#[^\r\n]*/,null,"#"])}}if(V.cStyleComments){U.push([k,/^\/\/[^\r\n]*/,null]);U.push([k,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(V.regexLiterals){var aa=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");U.push(["lang-regex",new RegExp("^"+N+"("+aa+")")])}var X=V.types;if(X){U.push([Q,X])}var W=(""+V.keywords).replace(/^ | $/g,"");if(W.length){U.push([A,new RegExp("^(?:"+W.replace(/[\s,]+/g,"|")+")\\b"),null])}Y.push([G,/^\s+/,null," \r\n\t\xA0"]);var Z=/^.[^\s\w\.$@\'\"\`\/\\]*/;U.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[Q,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[G,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[G,/^\\[\s\S]?/,null],[M,Z,null]);return h(Y,U)}var L=i({keywords:B,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function S(W,ah,aa){var V=/(?:^|\s)nocode(?:\s|$)/;var ac=/\r\n?|\n/;var ad=W.ownerDocument;var ag=ad.createElement("li");while(W.firstChild){ag.appendChild(W.firstChild)}var X=[ag];function af(am){switch(am.nodeType){case 1:if(V.test(am.className)){break}if("br"===am.nodeName){ae(am);if(am.parentNode){am.parentNode.removeChild(am)}}else{for(var ao=am.firstChild;ao;ao=ao.nextSibling){af(ao)}}break;case 3:case 4:if(aa){var an=am.nodeValue;var ak=an.match(ac);if(ak){var aj=an.substring(0,ak.index);am.nodeValue=aj;var ai=an.substring(ak.index+ak[0].length);if(ai){var al=am.parentNode;al.insertBefore(ad.createTextNode(ai),am.nextSibling)}ae(am);if(!aj){am.parentNode.removeChild(am)}}}break}}function ae(al){while(!al.nextSibling){al=al.parentNode;if(!al){return}}function aj(am,at){var ar=at?am.cloneNode(false):am;var ap=am.parentNode;if(ap){var aq=aj(ap,1);var ao=am.nextSibling;aq.appendChild(ar);for(var an=ao;an;an=ao){ao=an.nextSibling;aq.appendChild(an)}}return ar}var ai=aj(al.nextSibling,0);for(var ak;(ak=ai.parentNode)&&ak.nodeType===1;){ai=ak}X.push(ai)}for(var Z=0;Z<X.length;++Z){af(X[Z])}if(ah===(ah|0)){X[0].setAttribute("value",ah)}var ab=ad.createElement("ol");ab.className="linenums";var Y=Math.max(0,((ah-1))|0)||0;for(var Z=0,U=X.length;Z<U;++Z){ag=X[Z];ag.className="L"+((Z+Y)%10);if(!ag.firstChild){ag.appendChild(ad.createTextNode("\xA0"))}ab.appendChild(ag)}W.appendChild(ab)}function E(af){var X=/\bMSIE\s(\d+)/.exec(navigator.userAgent);X=X&&+X[1]<=8;var ao=/\n/g;var an=af.sourceCode;var ap=an.length;var Y=0;var ad=af.spans;var V=ad.length;var aj=0;var aa=af.decorations;var ab=aa.length;var ac=0;aa[ab]=ap;var av,at;for(at=av=0;at<ab;){if(aa[at]!==aa[at+2]){aa[av++]=aa[at++];aa[av++]=aa[at++]}else{at+=2}}ab=av;for(at=av=0;at<ab;){var aw=aa[at];var ae=aa[at+1];var Z=at+2;while(Z+2<=ab&&aa[Z+1]===ae){Z+=2}aa[av++]=aw;aa[av++]=ae;at=Z}ab=aa.length=av;var au=af.sourceNode;var ak;if(au){ak=au.style.display;au.style.display="none"}try{var ah=null;while(aj<V){var ai=ad[aj];var U=ad[aj+2]||ap;var ar=aa[ac+2]||ap;var Z=Math.min(U,ar);var am=ad[aj+1];var W;if(am.nodeType!==1&&(W=an.substring(Y,Z))){if(X){W=W.replace(ao,"\r")}am.nodeValue=W;var al=am.ownerDocument;var aq=al.createElement("span");aq.className=aa[ac+1];var ag=am.parentNode;ag.replaceChild(aq,am);aq.appendChild(am);if(Y<U){ad[aj+1]=am=al.createTextNode(an.substring(Z,U));ag.insertBefore(am,aq.nextSibling)}}Y=Z;if(Y>=U){aj+=2}if(Y>=ar){ac+=2}}}finally{if(au){au.style.display=ak}}}var u={};function d(W,X){for(var U=X.length;--U>=0;){var V=X[U];if(!u.hasOwnProperty(V)){u[V]=W}else{if(O.console){console.warn("cannot override language handler %s",V)}}}}function r(V,U){if(!(V&&u.hasOwnProperty(V))){V=/^\s*</.test(U)?"default-markup":"default-code"}return u[V]}d(L,["default-code"]);d(h([],[[G,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[k,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[M,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);d(h([[G,/^[\s]+/,null," \t\r\n"],[o,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[n,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[R,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[M,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);d(h([],[[o,/^[\s\S]+/]]),["uq.val"]);d(i({keywords:m,hashComments:true,cStyleComments:true,types:f}),["c","cc","cpp","cxx","cyc","m"]);d(i({keywords:"null,true,false"}),["json"]);d(i({keywords:T,hashComments:true,cStyleComments:true,verbatimStrings:true,types:f}),["cs"]);d(i({keywords:y,cStyleComments:true}),["java"]);d(i({keywords:I,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);d(i({keywords:J,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);d(i({keywords:t,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);d(i({keywords:g,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);d(i({keywords:x,cStyleComments:true,regexLiterals:true}),["js"]);d(i({keywords:s,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);d(h([],[[D,/^[\s\S]+/]]),["regex"]);function e(X){var W=X.langExtension;try{var U=b(X.sourceNode,X.pre);var V=U.sourceCode;X.sourceCode=V;X.spans=U.spans;X.basePos=0;r(W,V)(X);E(X)}catch(Y){if(O.console){console.log(Y&&Y.stack?Y.stack:Y)}}}function z(Y,X,W){var U=document.createElement("pre");U.innerHTML=Y;if(W){S(U,W,true)}var V={langExtension:X,numberLines:W,sourceNode:U,pre:1};e(V);return U.innerHTML}function c(aj){function ab(al){return document.getElementsByTagName(al)}var ah=[ab("pre"),ab("code"),ab("xmp")];var V=[];for(var ae=0;ae<ah.length;++ae){for(var ac=0,Y=ah[ae].length;ac<Y;++ac){V.push(ah[ae][ac])}}ah=null;var Z=Date;if(!Z.now){Z={now:function(){return +(new Date)}}}var aa=0;var U;var af=/\blang(?:uage)?-([\w.]+)(?!\S)/;var ak=/\bprettyprint\b/;var W=/\bprettyprinted\b/;var ag=/pre|xmp/i;var ai=/^code$/i;var ad=/^(?:pre|code|xmp)$/i;function X(){var ar=(O.PR_SHOULD_USE_CONTINUATION?Z.now()+250:Infinity);for(;aa<V.length&&Z.now()<ar;aa++){var at=V[aa];var au=at.className;if(ak.test(au)&&!W.test(au)){var aw=false;for(var ao=at.parentNode;ao;ao=ao.parentNode){var ax=ao.tagName;if(ad.test(ax)&&ao.className&&ak.test(ao.className)){aw=true;break}}if(!aw){at.className+=" prettyprinted";var aq=au.match(af);var am;if(!aq&&(am=p(at))&&ai.test(am.tagName)){aq=am.className.match(af)}if(aq){aq=aq[1]}var ap;if(ag.test(at.tagName)){ap=1}else{var an=at.currentStyle;var al=(an?an.whiteSpace:(document.defaultView&&document.defaultView.getComputedStyle)?document.defaultView.getComputedStyle(at,null).getPropertyValue("white-space"):0);ap=al&&"pre"===al.substring(0,3)}var av=at.className.match(/\blinenums\b(?::(\d+))?/);av=av?av[1]&&av[1].length?+av[1]:true:false;if(av){S(at,av,ap)}U={langExtension:aq,sourceNode:at,numberLines:av,pre:ap};e(U)}}}if(aa<V.length){setTimeout(X,250)}else{if(aj){aj()}}}X()}var a=O.PR={createSimpleLexer:h,registerLangHandler:d,sourceDecorator:i,PR_ATTRIB_NAME:R,PR_ATTRIB_VALUE:o,PR_COMMENT:k,PR_DECLARATION:F,PR_KEYWORD:A,PR_LITERAL:H,PR_NOCODE:P,PR_PLAIN:G,PR_PUNCTUATION:M,PR_SOURCE:K,PR_STRING:D,PR_TAG:n,PR_TYPE:Q,prettyPrintOne:O.prettyPrintOne=z,prettyPrint:O.prettyPrint=c};if(typeof define==="function"&&define.amd){define("google-code-prettify",[],function(){return a})}})();PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_DECLARATION,/^<!\w[^>]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^<script\b[^>]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:<!--|-->)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]);
108+window.PR_SHOULD_USE_CONTINUATION=true;var prettyPrintOne;var prettyPrint;(function(){var O=window;var j=["break,continue,do,else,for,if,return,while"];var v=[j,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var q=[v,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var m=[q,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var y=[q,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var T=[y,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"];var s="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes";var x=[q,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var t="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var J=[j,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var g=[j,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var I=[j,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var B=[m,T,x,t+J,g,I];var f=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;var D="str";var A="kwd";var k="com";var Q="typ";var H="lit";var M="pun";var G="pln";var n="tag";var F="dec";var K="src";var R="atn";var o="atv";var P="nocode";var N="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function l(ab){var af=0;var U=false;var ae=false;for(var X=0,W=ab.length;X<W;++X){var ag=ab[X];if(ag.ignoreCase){ae=true}else{if(/[a-z]/i.test(ag.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){U=true;ae=false;break}}}var aa={b:8,t:9,n:10,v:11,f:12,r:13};function ad(aj){var ai=aj.charCodeAt(0);if(ai!==92){return ai}var ah=aj.charAt(1);ai=aa[ah];if(ai){return ai}else{if("0"<=ah&&ah<="7"){return parseInt(aj.substring(1),8)}else{if(ah==="u"||ah==="x"){return parseInt(aj.substring(2),16)}else{return aj.charCodeAt(1)}}}}function V(ah){if(ah<32){return(ah<16?"\\x0":"\\x")+ah.toString(16)}var ai=String.fromCharCode(ah);return(ai==="\\"||ai==="-"||ai==="]"||ai==="^")?"\\"+ai:ai}function Z(an){var ar=an.substring(1,an.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g"));var ah=[];var ap=ar[0]==="^";var ao=["["];if(ap){ao.push("^")}for(var at=ap?1:0,al=ar.length;at<al;++at){var aj=ar[at];if(/\\[bdsw]/i.test(aj)){ao.push(aj)}else{var ai=ad(aj);var am;if(at+2<al&&"-"===ar[at+1]){am=ad(ar[at+2]);at+=2}else{am=ai}ah.push([ai,am]);if(!(am<65||ai>122)){if(!(am<65||ai>90)){ah.push([Math.max(65,ai)|32,Math.min(am,90)|32])}if(!(am<97||ai>122)){ah.push([Math.max(97,ai)&~32,Math.min(am,122)&~32])}}}}ah.sort(function(aw,av){return(aw[0]-av[0])||(av[1]-aw[1])});var ak=[];var aq=[];for(var at=0;at<ah.length;++at){var au=ah[at];if(au[0]<=aq[1]+1){aq[1]=Math.max(aq[1],au[1])}else{ak.push(aq=au)}}for(var at=0;at<ak.length;++at){var au=ak[at];ao.push(V(au[0]));if(au[1]>au[0]){if(au[1]+1>au[0]){ao.push("-")}ao.push(V(au[1]))}}ao.push("]");return ao.join("")}function Y(an){var al=an.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var aj=al.length;var ap=[];for(var am=0,ao=0;am<aj;++am){var ai=al[am];if(ai==="("){++ao}else{if("\\"===ai.charAt(0)){var ah=+ai.substring(1);if(ah){if(ah<=ao){ap[ah]=-1}else{al[am]=V(ah)}}}}}for(var am=1;am<ap.length;++am){if(-1===ap[am]){ap[am]=++af}}for(var am=0,ao=0;am<aj;++am){var ai=al[am];if(ai==="("){++ao;if(!ap[ao]){al[am]="(?:"}}else{if("\\"===ai.charAt(0)){var ah=+ai.substring(1);if(ah&&ah<=ao){al[am]="\\"+ap[ah]}}}}for(var am=0;am<aj;++am){if("^"===al[am]&&"^"!==al[am+1]){al[am]=""}}if(an.ignoreCase&&U){for(var am=0;am<aj;++am){var ai=al[am];var ak=ai.charAt(0);if(ai.length>=2&&ak==="["){al[am]=Z(ai)}else{if(ak!=="\\"){al[am]=ai.replace(/[a-zA-Z]/g,function(aq){var ar=aq.charCodeAt(0);return"["+String.fromCharCode(ar&~32,ar|32)+"]"})}}}}return al.join("")}var ac=[];for(var X=0,W=ab.length;X<W;++X){var ag=ab[X];if(ag.global||ag.multiline){throw new Error(""+ag)}ac.push("(?:"+Y(ag)+")")}return new RegExp(ac.join("|"),ae?"gi":"g")}function b(aa,Y){var W=/(?:^|\s)nocode(?:\s|$)/;var ab=[];var Z=0;var X=[];var V=0;function U(ac){switch(ac.nodeType){case 1:if(W.test(ac.className)){return}for(var af=ac.firstChild;af;af=af.nextSibling){U(af)}var ae=ac.nodeName.toLowerCase();if("br"===ae||"li"===ae){ab[V]="\n";X[V<<1]=Z++;X[(V++<<1)|1]=ac}break;case 3:case 4:var ad=ac.nodeValue;if(ad.length){if(!Y){ad=ad.replace(/[ \t\r\n]+/g," ")}else{ad=ad.replace(/\r\n?/g,"\n")}ab[V]=ad;X[V<<1]=Z;Z+=ad.length;X[(V++<<1)|1]=ac}break}}U(aa);return{sourceCode:ab.join("").replace(/\n$/,""),spans:X}}function C(U,W,Y,V){if(!W){return}var X={sourceCode:W,basePos:U};Y(X);V.push.apply(V,X.decorations)}var w=/\S/;function p(U){var X=undefined;for(var W=U.firstChild;W;W=W.nextSibling){var V=W.nodeType;X=(V===1)?(X?U:W):(V===3)?(w.test(W.nodeValue)?U:X):X}return X===U?undefined:X}function h(W,V){var U={};var X;(function(){var af=W.concat(V);var aj=[];var ai={};for(var ad=0,ab=af.length;ad<ab;++ad){var aa=af[ad];var ae=aa[3];if(ae){for(var ag=ae.length;--ag>=0;){U[ae.charAt(ag)]=aa}}var ah=aa[1];var ac=""+ah;if(!ai.hasOwnProperty(ac)){aj.push(ah);ai[ac]=null}}aj.push(/[\0-\uffff]/);X=l(aj)})();var Z=V.length;var Y=function(aj){var ab=aj.sourceCode,aa=aj.basePos;var af=[aa,G];var ah=0;var ap=ab.match(X)||[];var al={};for(var ag=0,at=ap.length;ag<at;++ag){var ai=ap[ag];var ar=al[ai];var ak=void 0;var ao;if(typeof ar==="string"){ao=false}else{var ac=U[ai.charAt(0)];if(ac){ak=ai.match(ac[1]);ar=ac[0]}else{for(var aq=0;aq<Z;++aq){ac=V[aq];ak=ai.match(ac[1]);if(ak){ar=ac[0];break}}if(!ak){ar=G}}ao=ar.length>=5&&"lang-"===ar.substring(0,5);if(ao&&!(ak&&typeof ak[1]==="string")){ao=false;ar=K}if(!ao){al[ai]=ar}}var ad=ah;ah+=ai.length;if(!ao){af.push(aa+ad,ar)}else{var an=ak[1];var am=ai.indexOf(an);var ae=am+an.length;if(ak[2]){ae=ai.length-ak[2].length;am=ae-an.length}var au=ar.substring(5);C(aa+ad,ai.substring(0,am),Y,af);C(aa+ad+am,an,r(au,an),af);C(aa+ad+ae,ai.substring(ae),Y,af)}}aj.decorations=af};return Y}function i(V){var Y=[],U=[];if(V.tripleQuotedStrings){Y.push([D,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(V.multiLineStrings){Y.push([D,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{Y.push([D,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(V.verbatimStrings){U.push([D,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var ab=V.hashComments;if(ab){if(V.cStyleComments){if(ab>1){Y.push([k,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{Y.push([k,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}U.push([D,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])}else{Y.push([k,/^#[^\r\n]*/,null,"#"])}}if(V.cStyleComments){U.push([k,/^\/\/[^\r\n]*/,null]);U.push([k,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(V.regexLiterals){var aa=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");U.push(["lang-regex",new RegExp("^"+N+"("+aa+")")])}var X=V.types;if(X){U.push([Q,X])}var W=(""+V.keywords).replace(/^ | $/g,"");if(W.length){U.push([A,new RegExp("^(?:"+W.replace(/[\s,]+/g,"|")+")\\b"),null])}Y.push([G,/^\s+/,null," \r\n\t\xA0"]);var Z=/^.[^\s\w\.$@\'\"\`\/\\]*/;U.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[Q,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[G,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[G,/^\\[\s\S]?/,null],[M,Z,null]);return h(Y,U)}var L=i({keywords:B,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function S(W,ah,aa){var V=/(?:^|\s)nocode(?:\s|$)/;var ac=/\r\n?|\n/;var ad=W.ownerDocument;var ag=ad.createElement("li");while(W.firstChild){ag.appendChild(W.firstChild)}var X=[ag];function af(am){switch(am.nodeType){case 1:if(V.test(am.className)){break}if("br"===am.nodeName){ae(am);if(am.parentNode){am.parentNode.removeChild(am)}}else{for(var ao=am.firstChild;ao;ao=ao.nextSibling){af(ao)}}break;case 3:case 4:if(aa){var an=am.nodeValue;var ak=an.match(ac);if(ak){var aj=an.substring(0,ak.index);am.nodeValue=aj;var ai=an.substring(ak.index+ak[0].length);if(ai){var al=am.parentNode;al.insertBefore(ad.createTextNode(ai),am.nextSibling)}ae(am);if(!aj){am.parentNode.removeChild(am)}}}break}}function ae(al){while(!al.nextSibling){al=al.parentNode;if(!al){return}}function aj(am,at){var ar=at?am.cloneNode(false):am;var ap=am.parentNode;if(ap){var aq=aj(ap,1);var ao=am.nextSibling;aq.appendChild(ar);for(var an=ao;an;an=ao){ao=an.nextSibling;aq.appendChild(an)}}return ar}var ai=aj(al.nextSibling,0);for(var ak;(ak=ai.parentNode)&&ak.nodeType===1;){ai=ak}X.push(ai)}for(var Z=0;Z<X.length;++Z){af(X[Z])}if(ah===(ah|0)){X[0].setAttribute("value",ah)}var ab=ad.createElement("ol");ab.className="linenums";var Y=Math.max(0,((ah-1))|0)||0;for(var Z=0,U=X.length;Z<U;++Z){ag=X[Z];ag.className="L"+((Z+Y)%10);if(!ag.firstChild){ag.appendChild(ad.createTextNode("\xA0"))}ab.appendChild(ag)}W.appendChild(ab)}function E(af){var X=/\bMSIE\s(\d+)/.exec(navigator.userAgent);X=X&&+X[1]<=8;var ao=/\n/g;var an=af.sourceCode;var ap=an.length;var Y=0;var ad=af.spans;var V=ad.length;var aj=0;var aa=af.decorations;var ab=aa.length;var ac=0;aa[ab]=ap;var av,at;for(at=av=0;at<ab;){if(aa[at]!==aa[at+2]){aa[av++]=aa[at++];aa[av++]=aa[at++]}else{at+=2}}ab=av;for(at=av=0;at<ab;){var aw=aa[at];var ae=aa[at+1];var Z=at+2;while(Z+2<=ab&&aa[Z+1]===ae){Z+=2}aa[av++]=aw;aa[av++]=ae;at=Z}ab=aa.length=av;var au=af.sourceNode;var ak;if(au){ak=au.style.display;au.style.display="none"}try{var ah=null;while(aj<V){var ai=ad[aj];var U=ad[aj+2]||ap;var ar=aa[ac+2]||ap;var Z=Math.min(U,ar);var am=ad[aj+1];var W;if(am.nodeType!==1&&(W=an.substring(Y,Z))){if(X){W=W.replace(ao,"\r")}am.nodeValue=W;var al=am.ownerDocument;var aq=al.createElement("span");aq.className=aa[ac+1];var ag=am.parentNode;ag.replaceChild(aq,am);aq.appendChild(am);if(Y<U){ad[aj+1]=am=al.createTextNode(an.substring(Z,U));ag.insertBefore(am,aq.nextSibling)}}Y=Z;if(Y>=U){aj+=2}if(Y>=ar){ac+=2}}}finally{if(au){au.style.display=ak}}}var u={};function d(W,X){for(var U=X.length;--U>=0;){var V=X[U];if(!u.hasOwnProperty(V)){u[V]=W}else{if(O.console){console.warn("cannot override language handler %s",V)}}}}function r(V,U){if(!(V&&u.hasOwnProperty(V))){V=/^\s*</.test(U)?"default-markup":"default-code"}return u[V]}d(L,["default-code"]);d(h([],[[G,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[k,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[M,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);d(h([[G,/^[\s]+/,null," \t\r\n"],[o,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[n,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[R,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[M,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);d(h([],[[o,/^[\s\S]+/]]),["uq.val"]);d(i({keywords:m,hashComments:true,cStyleComments:true,types:f}),["c","cc","cpp","cxx","cyc","m"]);d(i({keywords:"null,true,false"}),["json"]);d(i({keywords:T,hashComments:true,cStyleComments:true,verbatimStrings:true,types:f}),["cs"]);d(i({keywords:y,cStyleComments:true}),["java"]);d(i({keywords:I,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);d(i({keywords:J,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);d(i({keywords:t,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);d(i({keywords:g,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);d(i({keywords:x,cStyleComments:true,regexLiterals:true}),["js"]);d(i({keywords:s,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);d(h([],[[D,/^[\s\S]+/]]),["regex"]);function e(X){var W=X.langExtension;try{var U=b(X.sourceNode,X.pre);var V=U.sourceCode;X.sourceCode=V;X.spans=U.spans;X.basePos=0;r(W,V)(X);E(X)}catch(Y){if(O.console){console.log(Y&&Y.stack?Y.stack:Y)}}}function z(Y,X,W){var U=document.createElement("pre");U.innerHTML=Y;if(W){S(U,W,true)}var V={langExtension:X,numberLines:W,sourceNode:U,pre:1};e(V);return U.innerHTML}function c(aj){function ab(al){return document.getElementsByTagName(al)}var ah=[ab("pre"),ab("code"),ab("xmp")];var V=[];for(var ae=0;ae<ah.length;++ae){for(var ac=0,Y=ah[ae].length;ac<Y;++ac){V.push(ah[ae][ac])}}ah=null;var Z=Date;if(!Z.now){Z={now:function(){return +(new Date)}}}var aa=0;var U;var af=/\blang(?:uage)?-([\w.]+)(?!\S)/;var ak=/\bprettyprint\b/;var W=/\bprettyprinted\b/;var ag=/pre|xmp/i;var ai=/^code$/i;var ad=/^(?:pre|code|xmp)$/i;function X(){var ar=(O.PR_SHOULD_USE_CONTINUATION?Z.now()+250:Infinity);for(;aa<V.length&&Z.now()<ar;aa++){var at=V[aa];var au=at.className;if(ak.test(au)&&!W.test(au)){var aw=false;for(var ao=at.parentNode;ao;ao=ao.parentNode){var ax=ao.tagName;if(ad.test(ax)&&ao.className&&ak.test(ao.className)){aw=true;break}}if(!aw){at.className+=" prettyprinted";var aq=au.match(af);var am;if(!aq&&(am=p(at))&&ai.test(am.tagName)){aq=am.className.match(af)}if(aq){aq=aq[1]}var ap;if(ag.test(at.tagName)){ap=1}else{var an=at.currentStyle;var al=(an?an.whiteSpace:(document.defaultView&&document.defaultView.getComputedStyle)?document.defaultView.getComputedStyle(at,null).getPropertyValue("white-space"):0);ap=al&&"pre"===al.substring(0,3)}var av=at.className.match(/\blinenums\b(?::(\d+))?/);av=av?av[1]&&av[1].length?+av[1]:true:false;if(av){S(at,av,ap)}U={langExtension:aq,sourceNode:at,numberLines:av,pre:ap};e(U)}}}if(aa<V.length){setTimeout(X,250)}else{if(aj){aj()}}}X()}var a=O.PR={createSimpleLexer:h,registerLangHandler:d,sourceDecorator:i,PR_ATTRIB_NAME:R,PR_ATTRIB_VALUE:o,PR_COMMENT:k,PR_DECLARATION:F,PR_KEYWORD:A,PR_LITERAL:H,PR_NOCODE:P,PR_PLAIN:G,PR_PUNCTUATION:M,PR_SOURCE:K,PR_STRING:D,PR_TAG:n,PR_TYPE:Q,prettyPrintOne:O.prettyPrintOne=z,prettyPrint:O.prettyPrint=c};if(typeof define==="function"&&define.amd){define("google-code-prettify",[],function(){return a})}})();PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_DECLARATION,/^<!\w[^>]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^<script\b[^>]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:<!--|-->)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]);
109\ No newline at end of file
110
111=== modified file 'doc/docbuild/classes/ActionMetadata.html'
112--- doc/docbuild/classes/ActionMetadata.html 2015-10-20 20:44:15 +0000
113+++ doc/docbuild/classes/ActionMetadata.html 2015-10-26 22:14:51 +0000
114@@ -44,12 +44,17 @@
115 <li><a href="../classes/Category.html">Category</a></li>
116 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
117 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
118+ <li><a href="../classes/Department.html">Department</a></li>
119+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
120+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
121+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
122+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
123 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
124 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
125 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
126 <li><a href="../classes/Result.html">Result</a></li>
127 <li><a href="../classes/Scope.html">Scope</a></li>
128- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
129+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
130 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
131 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
132 </ul>
133
134=== modified file 'doc/docbuild/classes/ActivationQuery.html'
135--- doc/docbuild/classes/ActivationQuery.html 2015-10-20 20:44:15 +0000
136+++ doc/docbuild/classes/ActivationQuery.html 2015-10-26 22:14:51 +0000
137@@ -44,12 +44,17 @@
138 <li><a href="../classes/Category.html">Category</a></li>
139 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
140 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
141+ <li><a href="../classes/Department.html">Department</a></li>
142+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
143+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
144+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
145+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
146 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
147 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
148 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
149 <li><a href="../classes/Result.html">Result</a></li>
150 <li><a href="../classes/Scope.html">Scope</a></li>
151- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
152+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
153 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
154 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
155 </ul>
156
157=== modified file 'doc/docbuild/classes/CategorisedResult.html'
158--- doc/docbuild/classes/CategorisedResult.html 2015-10-20 20:44:15 +0000
159+++ doc/docbuild/classes/CategorisedResult.html 2015-10-26 22:14:51 +0000
160@@ -44,12 +44,17 @@
161 <li><a href="../classes/Category.html">Category</a></li>
162 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
163 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
164+ <li><a href="../classes/Department.html">Department</a></li>
165+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
166+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
167+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
168+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
169 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
170 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
171 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
172 <li><a href="../classes/Result.html">Result</a></li>
173 <li><a href="../classes/Scope.html">Scope</a></li>
174- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
175+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
176 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
177 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
178 </ul>
179
180=== modified file 'doc/docbuild/classes/Category.html'
181--- doc/docbuild/classes/Category.html 2015-10-20 20:44:15 +0000
182+++ doc/docbuild/classes/Category.html 2015-10-26 22:14:51 +0000
183@@ -44,12 +44,17 @@
184 <li><a href="../classes/Category.html">Category</a></li>
185 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
186 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
187+ <li><a href="../classes/Department.html">Department</a></li>
188+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
189+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
190+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
191+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
192 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
193 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
194 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
195 <li><a href="../classes/Result.html">Result</a></li>
196 <li><a href="../classes/Scope.html">Scope</a></li>
197- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
198+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
199 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
200 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
201 </ul>
202
203=== modified file 'doc/docbuild/classes/CategoryRenderer.html'
204--- doc/docbuild/classes/CategoryRenderer.html 2015-10-20 20:44:15 +0000
205+++ doc/docbuild/classes/CategoryRenderer.html 2015-10-26 22:14:51 +0000
206@@ -44,12 +44,17 @@
207 <li><a href="../classes/Category.html">Category</a></li>
208 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
209 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
210+ <li><a href="../classes/Department.html">Department</a></li>
211+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
212+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
213+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
214+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
215 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
216 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
217 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
218 <li><a href="../classes/Result.html">Result</a></li>
219 <li><a href="../classes/Scope.html">Scope</a></li>
220- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
221+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
222 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
223 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
224 </ul>
225
226=== modified file 'doc/docbuild/classes/ColumnLayout.html'
227--- doc/docbuild/classes/ColumnLayout.html 2015-10-20 20:44:15 +0000
228+++ doc/docbuild/classes/ColumnLayout.html 2015-10-26 22:14:51 +0000
229@@ -44,12 +44,17 @@
230 <li><a href="../classes/Category.html">Category</a></li>
231 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
232 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
233+ <li><a href="../classes/Department.html">Department</a></li>
234+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
235+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
236+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
237+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
238 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
239 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
240 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
241 <li><a href="../classes/Result.html">Result</a></li>
242 <li><a href="../classes/Scope.html">Scope</a></li>
243- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
244+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
245 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
246 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
247 </ul>
248
249=== modified file 'doc/docbuild/classes/PreviewQuery.html'
250--- doc/docbuild/classes/PreviewQuery.html 2015-10-20 20:44:15 +0000
251+++ doc/docbuild/classes/PreviewQuery.html 2015-10-26 22:14:51 +0000
252@@ -44,12 +44,17 @@
253 <li><a href="../classes/Category.html">Category</a></li>
254 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
255 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
256+ <li><a href="../classes/Department.html">Department</a></li>
257+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
258+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
259+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
260+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
261 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
262 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
263 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
264 <li><a href="../classes/Result.html">Result</a></li>
265 <li><a href="../classes/Scope.html">Scope</a></li>
266- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
267+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
268 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
269 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
270 </ul>
271
272=== modified file 'doc/docbuild/classes/PreviewReply.html'
273--- doc/docbuild/classes/PreviewReply.html 2015-10-20 20:44:15 +0000
274+++ doc/docbuild/classes/PreviewReply.html 2015-10-26 22:14:51 +0000
275@@ -44,12 +44,17 @@
276 <li><a href="../classes/Category.html">Category</a></li>
277 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
278 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
279+ <li><a href="../classes/Department.html">Department</a></li>
280+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
281+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
282+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
283+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
284 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
285 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
286 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
287 <li><a href="../classes/Result.html">Result</a></li>
288 <li><a href="../classes/Scope.html">Scope</a></li>
289- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
290+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
291 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
292 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
293 </ul>
294
295=== modified file 'doc/docbuild/classes/PreviewWidget.html'
296--- doc/docbuild/classes/PreviewWidget.html 2015-10-20 20:44:15 +0000
297+++ doc/docbuild/classes/PreviewWidget.html 2015-10-26 22:14:51 +0000
298@@ -44,12 +44,17 @@
299 <li><a href="../classes/Category.html">Category</a></li>
300 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
301 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
302+ <li><a href="../classes/Department.html">Department</a></li>
303+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
304+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
305+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
306+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
307 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
308 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
309 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
310 <li><a href="../classes/Result.html">Result</a></li>
311 <li><a href="../classes/Scope.html">Scope</a></li>
312- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
313+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
314 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
315 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
316 </ul>
317
318=== modified file 'doc/docbuild/classes/Result.html'
319--- doc/docbuild/classes/Result.html 2015-10-20 20:44:15 +0000
320+++ doc/docbuild/classes/Result.html 2015-10-26 22:14:51 +0000
321@@ -44,12 +44,17 @@
322 <li><a href="../classes/Category.html">Category</a></li>
323 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
324 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
325+ <li><a href="../classes/Department.html">Department</a></li>
326+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
327+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
328+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
329+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
330 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
331 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
332 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
333 <li><a href="../classes/Result.html">Result</a></li>
334 <li><a href="../classes/Scope.html">Scope</a></li>
335- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
336+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
337 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
338 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
339 </ul>
340
341=== modified file 'doc/docbuild/classes/Scope.html'
342--- doc/docbuild/classes/Scope.html 2015-10-20 20:44:15 +0000
343+++ doc/docbuild/classes/Scope.html 2015-10-26 22:14:51 +0000
344@@ -44,12 +44,17 @@
345 <li><a href="../classes/Category.html">Category</a></li>
346 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
347 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
348+ <li><a href="../classes/Department.html">Department</a></li>
349+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
350+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
351+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
352+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
353 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
354 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
355 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
356 <li><a href="../classes/Result.html">Result</a></li>
357 <li><a href="../classes/Scope.html">Scope</a></li>
358- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
359+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
360 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
361 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
362 </ul>
363
364=== removed file 'doc/docbuild/classes/SearchMetaData.html'
365--- doc/docbuild/classes/SearchMetaData.html 2015-10-20 20:44:15 +0000
366+++ doc/docbuild/classes/SearchMetaData.html 1970-01-01 00:00:00 +0000
367@@ -1,1130 +0,0 @@
368-<!DOCTYPE html>
369-<html lang="en">
370-<head>
371- <meta charset="utf-8">
372- <title>SearchMetaData - Javascript Scopes API</title>
373- <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
374- <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
375- <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
376- <link rel="icon" href="../assets/favicon.ico">
377- <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
378-</head>
379-<body class="yui3-skin-sam">
380-
381-<div id="doc">
382- <div id="hd" class="yui3-g header">
383- <div class="yui3-u-3-4">
384- <h1><img src="../assets/css/logo.png" title="Javascript Scopes API" width="117" height="52"></h1>
385- </div>
386- <div class="yui3-u-1-4 version">
387- <em>API Docs for: 0.1</em>
388- </div>
389- </div>
390- <div id="bd" class="yui3-g">
391-
392- <div class="yui3-u-1-4">
393- <div id="docs-sidebar" class="sidebar apidocs">
394- <div id="api-list">
395- <h2 class="off-left">APIs</h2>
396- <div id="api-tabview" class="tabview">
397- <ul class="tabs">
398- <li><a href="#api-classes">Classes</a></li>
399- <li><a href="#api-modules">Modules</a></li>
400- </ul>
401-
402- <div id="api-tabview-filter">
403- <input type="search" id="api-filter" placeholder="Type to filter APIs">
404- </div>
405-
406- <div id="api-tabview-panel">
407- <ul id="api-classes" class="apis classes">
408- <li><a href="../classes/ActionMetadata.html">ActionMetadata</a></li>
409- <li><a href="../classes/ActivationQuery.html">ActivationQuery</a></li>
410- <li><a href="../classes/CategorisedResult.html">CategorisedResult</a></li>
411- <li><a href="../classes/Category.html">Category</a></li>
412- <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
413- <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
414- <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
415- <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
416- <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
417- <li><a href="../classes/Result.html">Result</a></li>
418- <li><a href="../classes/Scope.html">Scope</a></li>
419- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
420- <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
421- <li><a href="../classes/SearchReply.html">SearchReply</a></li>
422- </ul>
423-
424- <ul id="api-modules" class="apis modules">
425- <li><a href="../modules/ScopeJS.html">ScopeJS</a></li>
426- </ul>
427- </div>
428- </div>
429- </div>
430- </div>
431- </div>
432- <div class="yui3-u-3-4">
433- <div id="api-options">
434- Show:
435- <label for="api-show-inherited">
436- <input type="checkbox" id="api-show-inherited" checked>
437- Inherited
438- </label>
439-
440- <label for="api-show-protected">
441- <input type="checkbox" id="api-show-protected">
442- Protected
443- </label>
444-
445- <label for="api-show-private">
446- <input type="checkbox" id="api-show-private">
447- Private
448- </label>
449- <label for="api-show-deprecated">
450- <input type="checkbox" id="api-show-deprecated">
451- Deprecated
452- </label>
453-
454- </div>
455-
456- <div class="apidocs">
457- <div id="docs-main">
458- <div class="content">
459-<h1>SearchMetaData Class</h1>
460-<div class="box meta">
461-
462-
463- <div class="foundat">
464- Defined in: <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l1"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:1</code></a>
465- </div>
466-
467- Module: <a href="../modules/ScopeJS.html">ScopeJS</a>
468-
469-</div>
470-
471-
472-<div class="box intro">
473- <p>Metadata passed with search requests.
474-Two forms of construction are allowed depending on the number
475-and types of the parameters:</p>
476-<ul>
477-<li>with locale and form factor
478-or</li>
479-<li>with cardinality, locale, and form factor.</li>
480-</ul>
481-
482-</div>
483-
484-
485-<div id="classdocs" class="tabview">
486- <ul class="api-class-tabs">
487- <li class="api-class-tab index"><a href="#index">Index</a></li>
488-
489- <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
490- </ul>
491-
492- <div>
493- <div id="index" class="api-class-tabpanel index">
494- <h2 class="off-left">Item Index</h2>
495-
496- <div class="index-section methods">
497- <h3>Methods</h3>
498-
499- <ul class="index-list methods">
500- <li class="index-item method">
501- <a href="#method_aggregated_keywords">aggregated_keywords</a>
502-
503- </li>
504- <li class="index-item method">
505- <a href="#method_cardinality">cardinality</a>
506-
507- </li>
508- <li class="index-item method">
509- <a href="#method_contains_hint">contains_hint</a>
510-
511- </li>
512- <li class="index-item method">
513- <a href="#method_form_factor">form_factor</a>
514-
515- </li>
516- <li class="index-item method">
517- <a href="#method_get">get</a>
518-
519- </li>
520- <li class="index-item method">
521- <a href="#method_has_location">has_location</a>
522-
523- </li>
524- <li class="index-item method">
525- <a href="#method_hints">hints</a>
526-
527- </li>
528- <li class="index-item method">
529- <a href="#method_internet_connectivity">internet_connectivity</a>
530-
531- </li>
532- <li class="index-item method">
533- <a href="#method_is_aggregated">is_aggregated</a>
534-
535- </li>
536- <li class="index-item method">
537- <a href="#method_locale">locale</a>
538-
539- </li>
540- <li class="index-item method">
541- <a href="#method_location">location</a>
542-
543- </li>
544- <li class="index-item method">
545- <a href="#method_remove_location">remove_location</a>
546-
547- </li>
548- <li class="index-item method">
549- <a href="#method_set">set</a>
550-
551- </li>
552- <li class="index-item method">
553- <a href="#method_set_aggregated_keywords">set_aggregated_keywords</a>
554-
555- </li>
556- <li class="index-item method">
557- <a href="#method_set_cardinality">set_cardinality</a>
558-
559- </li>
560- <li class="index-item method">
561- <a href="#method_set_hint">set_hint</a>
562-
563- </li>
564- <li class="index-item method">
565- <a href="#method_set_internet_connectivity">set_internet_connectivity</a>
566-
567- </li>
568- <li class="index-item method">
569- <a href="#method_set_location">set_location</a>
570-
571- </li>
572- </ul>
573- </div>
574-
575-
576-
577- </div>
578-
579- <div id="methods" class="api-class-tabpanel">
580- <h2 class="off-left">Methods</h2>
581-
582-<div id="method_aggregated_keywords" class="method item">
583- <h3 class="name"><code>aggregated_keywords</code></h3>
584-
585- <span class="paren">()</span>
586-
587- <span class="returns-inline">
588- <span class="type">Array of String</span>
589- </span>
590-
591-
592-
593-
594-
595-
596-
597- <div class="meta">
598- <p>
599- Defined in
600- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l71"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:71</code></a>
601- </p>
602-
603-
604-
605- </div>
606-
607- <div class="description">
608- <p>Get the list of scope keywords used to initiate this search request.</p>
609-
610- </div>
611-
612-
613- <div class="returns">
614- <h4>Returns:</h4>
615-
616- <div class="returns-description">
617- <span class="type">Array of String</span>:
618- <p>The list of scope keywords used to initiate this search request.</p>
619-
620- </div>
621- </div>
622-
623-
624-</div>
625-<div id="method_cardinality" class="method item">
626- <h3 class="name"><code>cardinality</code></h3>
627-
628- <span class="paren">()</span>
629-
630- <span class="returns-inline">
631- <span class="type">Int</span>
632- </span>
633-
634-
635-
636-
637-
638-
639-
640- <div class="meta">
641- <p>
642- Defined in
643- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l29"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:29</code></a>
644- </p>
645-
646-
647-
648- </div>
649-
650- <div class="description">
651- <p>Get cardinality.</p>
652-
653- </div>
654-
655-
656- <div class="returns">
657- <h4>Returns:</h4>
658-
659- <div class="returns-description">
660- <span class="type">Int</span>:
661- </div>
662- </div>
663-
664-
665-</div>
666-<div id="method_contains_hint" class="method item">
667- <h3 class="name"><code>contains_hint</code></h3>
668-
669- <div class="args">
670- <span class="paren">(</span><ul class="args-list inline commas">
671- <li class="arg">
672- <code>key</code>
673- </li>
674- </ul><span class="paren">)</span>
675- </div>
676-
677- <span class="returns-inline">
678- <span class="type">Boolean</span>
679- </span>
680-
681-
682-
683-
684-
685-
686-
687- <div class="meta">
688- <p>
689- Defined in
690- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l100"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:100</code></a>
691- </p>
692-
693-
694-
695- </div>
696-
697- <div class="description">
698- <p>Check if this SearchMetadata has a hint.</p>
699-
700- </div>
701-
702- <div class="params">
703- <h4>Parameters:</h4>
704-
705- <ul class="params-list">
706- <li class="param">
707- <code class="param-name">key</code>
708- <span class="type">String</span>
709-
710-
711- <div class="param-description">
712- <p>The hint name.</p>
713-
714- </div>
715-
716- </li>
717- </ul>
718- </div>
719-
720- <div class="returns">
721- <h4>Returns:</h4>
722-
723- <div class="returns-description">
724- <span class="type">Boolean</span>:
725- <p>True if the hint is set.</p>
726-
727- </div>
728- </div>
729-
730-
731-</div>
732-<div id="method_form_factor" class="method item">
733- <h3 class="name"><code>form_factor</code></h3>
734-
735- <span class="paren">()</span>
736-
737- <span class="returns-inline">
738- <span class="type"></span>
739- </span>
740-
741-
742-
743-
744-
745-
746-
747- <div class="meta">
748- <p>
749- Defined in
750- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l124"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:124</code></a>
751- </p>
752-
753-
754-
755- </div>
756-
757- <div class="description">
758- <p>Get the form factor string.</p>
759-
760- </div>
761-
762-
763- <div class="returns">
764- <h4>Returns:</h4>
765-
766- <div class="returns-description">
767- <p>The form factor string</p>
768-
769- </div>
770- </div>
771-
772-
773-</div>
774-<div id="method_get" class="method item">
775- <h3 class="name"><code>get</code></h3>
776-
777- <div class="args">
778- <span class="paren">(</span><ul class="args-list inline commas">
779- <li class="arg">
780- <code>key</code>
781- </li>
782- </ul><span class="paren">)</span>
783- </div>
784-
785- <span class="returns-inline">
786- <span class="type">String</span>
787- </span>
788-
789-
790-
791-
792-
793-
794-
795- <div class="meta">
796- <p>
797- Defined in
798- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l116"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:116</code></a>
799- </p>
800-
801-
802-
803- </div>
804-
805- <div class="description">
806- <p>Get the value of an attribute</p>
807-
808- </div>
809-
810- <div class="params">
811- <h4>Parameters:</h4>
812-
813- <ul class="params-list">
814- <li class="param">
815- <code class="param-name">key</code>
816- <span class="type">String</span>
817-
818-
819- <div class="param-description">
820-
821- </div>
822-
823- </li>
824- </ul>
825- </div>
826-
827- <div class="returns">
828- <h4>Returns:</h4>
829-
830- <div class="returns-description">
831- <span class="type">String</span>:
832- <p>, {Number} or {Object}</p>
833-
834- </div>
835- </div>
836-
837-
838-</div>
839-<div id="method_has_location" class="method item">
840- <h3 class="name"><code>has_location</code></h3>
841-
842- <span class="paren">()</span>
843-
844- <span class="returns-inline">
845- <span class="type">Boolean</span>
846- </span>
847-
848-
849-
850-
851-
852-
853-
854- <div class="meta">
855- <p>
856- Defined in
857- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l50"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:50</code></a>
858- </p>
859-
860-
861-
862- </div>
863-
864- <div class="description">
865- <p>Does the SearchMetadata have a location.</p>
866-
867- </div>
868-
869-
870- <div class="returns">
871- <h4>Returns:</h4>
872-
873- <div class="returns-description">
874- <span class="type">Boolean</span>:
875- <p>True if there is a location property.</p>
876-
877- </div>
878- </div>
879-
880-
881-</div>
882-<div id="method_hints" class="method item">
883- <h3 class="name"><code>hints</code></h3>
884-
885- <span class="paren">()</span>
886-
887- <span class="returns-inline">
888- <span class="type">Dictionary</span>
889- </span>
890-
891-
892-
893-
894-
895-
896-
897- <div class="meta">
898- <p>
899- Defined in
900- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l93"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:93</code></a>
901- </p>
902-
903-
904-
905- </div>
906-
907- <div class="description">
908- <p>Get all hints.</p>
909-
910- </div>
911-
912-
913- <div class="returns">
914- <h4>Returns:</h4>
915-
916- <div class="returns-description">
917- <span class="type">Dictionary</span>:
918- </div>
919- </div>
920-
921-
922-</div>
923-<div id="method_internet_connectivity" class="method item">
924- <h3 class="name"><code>internet_connectivity</code></h3>
925-
926- <span class="paren">()</span>
927-
928- <span class="returns-inline">
929- <span class="type">ConnectivityStatus</span>
930- </span>
931-
932-
933-
934-
935-
936-
937-
938- <div class="meta">
939- <p>
940- Defined in
941- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l138"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:138</code></a>
942- </p>
943-
944-
945-
946- </div>
947-
948- <div class="description">
949- <p>Get internet connectivity status.</p>
950-
951- </div>
952-
953-
954- <div class="returns">
955- <h4>Returns:</h4>
956-
957- <div class="returns-description">
958- <span class="type">ConnectivityStatus</span>:
959- <p>The internet connectivity status.</p>
960-
961- </div>
962- </div>
963-
964-
965-</div>
966-<div id="method_is_aggregated" class="method item">
967- <h3 class="name"><code>is_aggregated</code></h3>
968-
969- <span class="paren">()</span>
970-
971- <span class="returns-inline">
972- <span class="type">Boolean</span>
973- </span>
974-
975-
976-
977-
978-
979-
980-
981- <div class="meta">
982- <p>
983- Defined in
984- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l78"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:78</code></a>
985- </p>
986-
987-
988-
989- </div>
990-
991- <div class="description">
992- <p>Check if this search request originated from an aggregator scope.</p>
993-
994- </div>
995-
996-
997- <div class="returns">
998- <h4>Returns:</h4>
999-
1000- <div class="returns-description">
1001- <span class="type">Boolean</span>:
1002- <p>True if this search request originated from an aggregator scope.</p>
1003-
1004- </div>
1005- </div>
1006-
1007-
1008-</div>
1009-<div id="method_locale" class="method item">
1010- <h3 class="name"><code>locale</code></h3>
1011-
1012- <span class="paren">()</span>
1013-
1014- <span class="returns-inline">
1015- <span class="type"></span>
1016- </span>
1017-
1018-
1019-
1020-
1021-
1022-
1023-
1024- <div class="meta">
1025- <p>
1026- Defined in
1027- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l131"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:131</code></a>
1028- </p>
1029-
1030-
1031-
1032- </div>
1033-
1034- <div class="description">
1035- <p>Get the locale string.</p>
1036-
1037- </div>
1038-
1039-
1040- <div class="returns">
1041- <h4>Returns:</h4>
1042-
1043- <div class="returns-description">
1044- <p>The locale string</p>
1045-
1046- </div>
1047- </div>
1048-
1049-
1050-</div>
1051-<div id="method_location" class="method item">
1052- <h3 class="name"><code>location</code></h3>
1053-
1054- <span class="paren">()</span>
1055-
1056- <span class="returns-inline">
1057- <span class="type">Location</span>
1058- </span>
1059-
1060-
1061-
1062-
1063-
1064-
1065-
1066- <div class="meta">
1067- <p>
1068- Defined in
1069- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l43"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:43</code></a>
1070- </p>
1071-
1072-
1073-
1074- </div>
1075-
1076- <div class="description">
1077- <p>Get location.</p>
1078-
1079- </div>
1080-
1081-
1082- <div class="returns">
1083- <h4>Returns:</h4>
1084-
1085- <div class="returns-description">
1086- <span class="type">Location</span>:
1087- <p>data representing the current location, including attributes such as city and country.</p>
1088-
1089- </div>
1090- </div>
1091-
1092-
1093-</div>
1094-<div id="method_remove_location" class="method item">
1095- <h3 class="name"><code>remove_location</code></h3>
1096-
1097- <span class="paren">()</span>
1098-
1099-
1100-
1101-
1102-
1103-
1104-
1105-
1106- <div class="meta">
1107- <p>
1108- Defined in
1109- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l57"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:57</code></a>
1110- </p>
1111-
1112-
1113-
1114- </div>
1115-
1116- <div class="description">
1117- <p>Remove location data entirely.
1118-This method does nothing if no location data is present.</p>
1119-
1120- </div>
1121-
1122-
1123-
1124-
1125-</div>
1126-<div id="method_set" class="method item">
1127- <h3 class="name"><code>set</code></h3>
1128-
1129- <div class="args">
1130- <span class="paren">(</span><ul class="args-list inline commas">
1131- <li class="arg">
1132- <code>key</code>
1133- </li>
1134- <li class="arg">
1135- <code>value</code>
1136- </li>
1137- </ul><span class="paren">)</span>
1138- </div>
1139-
1140-
1141-
1142-
1143-
1144-
1145-
1146-
1147- <div class="meta">
1148- <p>
1149- Defined in
1150- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l108"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:108</code></a>
1151- </p>
1152-
1153-
1154-
1155- </div>
1156-
1157- <div class="description">
1158- <p>Set the value of an attribute</p>
1159-
1160- </div>
1161-
1162- <div class="params">
1163- <h4>Parameters:</h4>
1164-
1165- <ul class="params-list">
1166- <li class="param">
1167- <code class="param-name">key</code>
1168- <span class="type">String</span>
1169-
1170-
1171- <div class="param-description">
1172-
1173- </div>
1174-
1175- </li>
1176- <li class="param">
1177- <code class="param-name">value</code>
1178- <span class="type">String</span>
1179-
1180-
1181- <div class="param-description">
1182- <p>, {Number} or {Object}</p>
1183-
1184- </div>
1185-
1186- </li>
1187- </ul>
1188- </div>
1189-
1190-
1191-
1192-</div>
1193-<div id="method_set_aggregated_keywords" class="method item">
1194- <h3 class="name"><code>set_aggregated_keywords</code></h3>
1195-
1196- <div class="args">
1197- <span class="paren">(</span><ul class="args-list inline commas">
1198- <li class="arg">
1199- <code>aggregated_keywords</code>
1200- </li>
1201- </ul><span class="paren">)</span>
1202- </div>
1203-
1204-
1205-
1206-
1207-
1208-
1209-
1210-
1211- <div class="meta">
1212- <p>
1213- Defined in
1214- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l64"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:64</code></a>
1215- </p>
1216-
1217-
1218-
1219- </div>
1220-
1221- <div class="description">
1222- <p>Set the list of scope keywords used to initiate this search request.</p>
1223-
1224- </div>
1225-
1226- <div class="params">
1227- <h4>Parameters:</h4>
1228-
1229- <ul class="params-list">
1230- <li class="param">
1231- <code class="param-name">aggregated_keywords</code>
1232- <span class="type">Array of String</span>
1233-
1234-
1235- <div class="param-description">
1236- <p>The list of scope keywords used to initiate this search request.</p>
1237-
1238- </div>
1239-
1240- </li>
1241- </ul>
1242- </div>
1243-
1244-
1245-
1246-</div>
1247-<div id="method_set_cardinality" class="method item">
1248- <h3 class="name"><code>set_cardinality</code></h3>
1249-
1250- <div class="args">
1251- <span class="paren">(</span><ul class="args-list inline commas">
1252- <li class="arg">
1253- <code>cardinality</code>
1254- </li>
1255- </ul><span class="paren">)</span>
1256- </div>
1257-
1258-
1259-
1260-
1261-
1262-
1263-
1264-
1265- <div class="meta">
1266- <p>
1267- Defined in
1268- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l22"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:22</code></a>
1269- </p>
1270-
1271-
1272-
1273- </div>
1274-
1275- <div class="description">
1276- <p>Set cardinality.</p>
1277-
1278- </div>
1279-
1280- <div class="params">
1281- <h4>Parameters:</h4>
1282-
1283- <ul class="params-list">
1284- <li class="param">
1285- <code class="param-name">cardinality</code>
1286- <span class="type">Int</span>
1287-
1288-
1289- <div class="param-description">
1290-
1291- </div>
1292-
1293- </li>
1294- </ul>
1295- </div>
1296-
1297-
1298-
1299-</div>
1300-<div id="method_set_hint" class="method item">
1301- <h3 class="name"><code>set_hint</code></h3>
1302-
1303- <div class="args">
1304- <span class="paren">(</span><ul class="args-list inline commas">
1305- <li class="arg">
1306- <code>key</code>
1307- </li>
1308- <li class="arg">
1309- <code>value</code>
1310- </li>
1311- </ul><span class="paren">)</span>
1312- </div>
1313-
1314-
1315-
1316-
1317-
1318-
1319-
1320-
1321- <div class="meta">
1322- <p>
1323- Defined in
1324- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l85"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:85</code></a>
1325- </p>
1326-
1327-
1328-
1329- </div>
1330-
1331- <div class="description">
1332- <p>Sets a hint.</p>
1333-
1334- </div>
1335-
1336- <div class="params">
1337- <h4>Parameters:</h4>
1338-
1339- <ul class="params-list">
1340- <li class="param">
1341- <code class="param-name">key</code>
1342- <span class="type">String</span>
1343-
1344-
1345- <div class="param-description">
1346- <p>The name of the hint.</p>
1347-
1348- </div>
1349-
1350- </li>
1351- <li class="param">
1352- <code class="param-name">value</code>
1353- <span class="type">Object</span>
1354-
1355-
1356- <div class="param-description">
1357- <p>Hint value</p>
1358-
1359- </div>
1360-
1361- </li>
1362- </ul>
1363- </div>
1364-
1365-
1366-
1367-</div>
1368-<div id="method_set_internet_connectivity" class="method item">
1369- <h3 class="name"><code>set_internet_connectivity</code></h3>
1370-
1371- <div class="args">
1372- <span class="paren">(</span><ul class="args-list inline commas">
1373- <li class="arg">
1374- <code>The</code>
1375- </li>
1376- </ul><span class="paren">)</span>
1377- </div>
1378-
1379-
1380-
1381-
1382-
1383-
1384-
1385-
1386- <div class="meta">
1387- <p>
1388- Defined in
1389- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l145"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:145</code></a>
1390- </p>
1391-
1392-
1393-
1394- </div>
1395-
1396- <div class="description">
1397- <p>Set internet connectivity status.</p>
1398-
1399- </div>
1400-
1401- <div class="params">
1402- <h4>Parameters:</h4>
1403-
1404- <ul class="params-list">
1405- <li class="param">
1406- <code class="param-name">The</code>
1407- <span class="type">ConnectivityStatus</span>
1408-
1409-
1410- <div class="param-description">
1411- <p>internet connectivity status.</p>
1412-
1413- </div>
1414-
1415- </li>
1416- </ul>
1417- </div>
1418-
1419-
1420-
1421-</div>
1422-<div id="method_set_location" class="method item">
1423- <h3 class="name"><code>set_location</code></h3>
1424-
1425- <div class="args">
1426- <span class="paren">(</span><ul class="args-list inline commas">
1427- <li class="arg">
1428- <code>location</code>
1429- </li>
1430- </ul><span class="paren">)</span>
1431- </div>
1432-
1433-
1434-
1435-
1436-
1437-
1438-
1439-
1440- <div class="meta">
1441- <p>
1442- Defined in
1443- <a href="../files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html#l36"><code>&#x2F;home&#x2F;alex&#x2F;dev&#x2F;work&#x2F;webapps&#x2F;branches&#x2F;scopes&#x2F;doc&#x2F;src&#x2F;bindings&#x2F;src&#x2F;search-metadata.js:36</code></a>
1444- </p>
1445-
1446-
1447-
1448- </div>
1449-
1450- <div class="description">
1451- <p>Set location.</p>
1452-
1453- </div>
1454-
1455- <div class="params">
1456- <h4>Parameters:</h4>
1457-
1458- <ul class="params-list">
1459- <li class="param">
1460- <code class="param-name">location</code>
1461- <span class="type">Location</span>
1462-
1463-
1464- <div class="param-description">
1465- <p>data</p>
1466-
1467- </div>
1468-
1469- </li>
1470- </ul>
1471- </div>
1472-
1473-
1474-
1475-</div>
1476- </div>
1477-
1478-
1479-
1480- </div>
1481-</div>
1482- </div>
1483- </div>
1484- </div>
1485- </div>
1486- </div>
1487-</div>
1488-<script src="../assets/vendor/prettify/prettify-min.js"></script>
1489-<script>prettyPrint();</script>
1490-<script src="../assets/js/yui-prettify.js"></script>
1491-<script src="../assets/../api.js"></script>
1492-<script src="../assets/js/api-filter.js"></script>
1493-<script src="../assets/js/api-list.js"></script>
1494-<script src="../assets/js/api-search.js"></script>
1495-<script src="../assets/js/apidocs.js"></script>
1496-</body>
1497-</html>
1498
1499=== modified file 'doc/docbuild/classes/SearchQuery.html'
1500--- doc/docbuild/classes/SearchQuery.html 2015-10-20 20:44:15 +0000
1501+++ doc/docbuild/classes/SearchQuery.html 2015-10-26 22:14:51 +0000
1502@@ -44,12 +44,17 @@
1503 <li><a href="../classes/Category.html">Category</a></li>
1504 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
1505 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
1506+ <li><a href="../classes/Department.html">Department</a></li>
1507+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
1508+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
1509+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
1510+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
1511 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
1512 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
1513 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
1514 <li><a href="../classes/Result.html">Result</a></li>
1515 <li><a href="../classes/Scope.html">Scope</a></li>
1516- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
1517+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
1518 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
1519 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
1520 </ul>
1521
1522=== modified file 'doc/docbuild/classes/SearchReply.html'
1523--- doc/docbuild/classes/SearchReply.html 2015-10-20 20:44:15 +0000
1524+++ doc/docbuild/classes/SearchReply.html 2015-10-26 22:14:51 +0000
1525@@ -44,12 +44,17 @@
1526 <li><a href="../classes/Category.html">Category</a></li>
1527 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
1528 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
1529+ <li><a href="../classes/Department.html">Department</a></li>
1530+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
1531+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
1532+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
1533+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
1534 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
1535 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
1536 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
1537 <li><a href="../classes/Result.html">Result</a></li>
1538 <li><a href="../classes/Scope.html">Scope</a></li>
1539- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
1540+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
1541 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
1542 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
1543 </ul>
1544
1545=== modified file 'doc/docbuild/data.json'
1546--- doc/docbuild/data.json 2015-10-20 20:44:15 +0000
1547+++ doc/docbuild/data.json 2015-10-26 22:14:51 +0000
1548@@ -61,6 +61,58 @@
1549 "fors": {},
1550 "namespaces": {}
1551 },
1552+ "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js": {
1553+ "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1554+ "modules": {},
1555+ "classes": {
1556+ "Department": 1
1557+ },
1558+ "fors": {},
1559+ "namespaces": {}
1560+ },
1561+ "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-option.js": {
1562+ "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-option.js",
1563+ "modules": {},
1564+ "classes": {},
1565+ "fors": {},
1566+ "namespaces": {}
1567+ },
1568+ "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-state.js": {
1569+ "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-state.js",
1570+ "modules": {},
1571+ "classes": {
1572+ "FilterOption": 1
1573+ },
1574+ "fors": {},
1575+ "namespaces": {}
1576+ },
1577+ "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js": {
1578+ "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
1579+ "modules": {},
1580+ "classes": {
1581+ "OnlineAccountClientServiceStatus": 1
1582+ },
1583+ "fors": {},
1584+ "namespaces": {}
1585+ },
1586+ "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js": {
1587+ "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
1588+ "modules": {},
1589+ "classes": {
1590+ "OnlineAccountClient": 1
1591+ },
1592+ "fors": {},
1593+ "namespaces": {}
1594+ },
1595+ "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js": {
1596+ "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
1597+ "modules": {},
1598+ "classes": {
1599+ "OptionSelectorFilter": 1
1600+ },
1601+ "fors": {},
1602+ "namespaces": {}
1603+ },
1604 "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/preview-query.js": {
1605 "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/preview-query.js",
1606 "modules": {},
1607@@ -101,7 +153,7 @@
1608 "name": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/search-metadata.js",
1609 "modules": {},
1610 "classes": {
1611- "SearchMetaData": 1
1612+ "SearchMetadata": 1
1613 },
1614 "fors": {},
1615 "namespaces": {}
1616@@ -145,11 +197,16 @@
1617 "CategoryRenderer": 1,
1618 "Category": 1,
1619 "ColumnLayout": 1,
1620+ "Department": 1,
1621+ "FilterOption": 1,
1622+ "OnlineAccountClientServiceStatus": 1,
1623+ "OnlineAccountClient": 1,
1624+ "OptionSelectorFilter": 1,
1625 "PreviewQuery": 1,
1626 "PreviewReply": 1,
1627 "PreviewWidget": 1,
1628 "Result": 1,
1629- "SearchMetaData": 1,
1630+ "SearchMetadata": 1,
1631 "SearchQuery": 1,
1632 "SearchReply": 1,
1633 "Scope": 1
1634@@ -161,27 +218,15 @@
1635 "line": 25,
1636 "description": "Metadata passed to scopes for preview and activation",
1637 "is_constructor": 1,
1638+ "params": [
1639+ {
1640+ "name": "query",
1641+ "description": "query associated with the Department",
1642+ "type": "CannedQuery"
1643+ }
1644+ ],
1645 "example": [
1646 "\n\n var scopes = require('unity-js-scopes')\n function on_preview(result, action_metadata) {\n return new scopes.lib.preview_query(\n result,\n action_metadata,\n // run\n function(preview_reply) {},\n // cancelled\n function() {});\n }\n scopes.self.initialize(\n {}\n ,\n {\n run: function() { },\n start: function(scope_id) { },\n preview: on_preview,\n }\n );"
1647- ],
1648- "params": [
1649- {
1650- "name": "canned_query",
1651- "description": "CannedQuery"
1652- },
1653- {
1654- "name": "action_metadata",
1655- "description": "ActionMetadata"
1656- },
1657- {
1658- "name": "run",
1659- "description": "Function() Function callback that is to be called by the scope runtime to start the preview.\n Your implementation of run() can use the provided PreviewReply object to\n push results for the preview and call finished() on the reply object when\n you are done with pushing results. You can push results from within run(),\n in which case the preview implicitly completes when run() returns.\n Alternatively, run() can store the reply object and return immediately.",
1660- "type": "PreviewReply"
1661- },
1662- {
1663- "name": "cancelled",
1664- "description": "Function() Called by the scopes runtime when the query originator cancels a query.\n Your implementation of this method should ensure that the scope stops\n processing the current query as soon as possible. Any calls to a `push()` method\n once a query is cancelled are ignored, so continuing to push after cancellation"
1665- }
1666 ]
1667 }
1668 },
1669@@ -270,6 +315,76 @@
1670 "line": 1,
1671 "description": "Describes a column layout for preview widgets."
1672 },
1673+ "Department": {
1674+ "name": "Department",
1675+ "shortname": "Department",
1676+ "classitems": [],
1677+ "plugins": [],
1678+ "extensions": [],
1679+ "plugin_for": [],
1680+ "extension_for": [],
1681+ "module": "ScopeJS",
1682+ "namespace": "",
1683+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1684+ "line": 1,
1685+ "description": "A department with optional sub-department"
1686+ },
1687+ "FilterOption": {
1688+ "name": "FilterOption",
1689+ "shortname": "FilterOption",
1690+ "classitems": [],
1691+ "plugins": [],
1692+ "extensions": [],
1693+ "plugin_for": [],
1694+ "extension_for": [],
1695+ "module": "ScopeJS",
1696+ "namespace": "",
1697+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-state.js",
1698+ "line": 1,
1699+ "description": "Captures state of multiple filters."
1700+ },
1701+ "OnlineAccountClientServiceStatus": {
1702+ "name": "OnlineAccountClientServiceStatus",
1703+ "shortname": "OnlineAccountClientServiceStatus",
1704+ "classitems": [],
1705+ "plugins": [],
1706+ "extensions": [],
1707+ "plugin_for": [],
1708+ "extension_for": [],
1709+ "module": "ScopeJS",
1710+ "namespace": "",
1711+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
1712+ "line": 1,
1713+ "description": "An object that contains the details about a service's status and authorization parameters"
1714+ },
1715+ "OnlineAccountClient": {
1716+ "name": "OnlineAccountClient",
1717+ "shortname": "OnlineAccountClient",
1718+ "classitems": [],
1719+ "plugins": [],
1720+ "extensions": [],
1721+ "plugin_for": [],
1722+ "extension_for": [],
1723+ "module": "ScopeJS",
1724+ "namespace": "",
1725+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
1726+ "line": 1,
1727+ "description": "A simple interface for integrating online accounts access and monitoring into scopes."
1728+ },
1729+ "OptionSelectorFilter": {
1730+ "name": "OptionSelectorFilter",
1731+ "shortname": "OptionSelectorFilter",
1732+ "classitems": [],
1733+ "plugins": [],
1734+ "extensions": [],
1735+ "plugin_for": [],
1736+ "extension_for": [],
1737+ "module": "ScopeJS",
1738+ "namespace": "",
1739+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
1740+ "line": 1,
1741+ "description": "A selection filter that displays a list of choices and allows one or more of them to be selected"
1742+ },
1743 "PreviewQuery": {
1744 "name": "PreviewQuery",
1745 "shortname": "PreviewQuery",
1746@@ -326,9 +441,9 @@
1747 "line": 1,
1748 "description": "The attributes of a result returned by a Scope\nThe Result API provides convenience methods for some typical attributes (title, art), but scopes are free to add and use any custom attributes with set/get methods. The only required attribute is 'uri' and it must not be empty before calling Reply.push()."
1749 },
1750- "SearchMetaData": {
1751- "name": "SearchMetaData",
1752- "shortname": "SearchMetaData",
1753+ "SearchMetadata": {
1754+ "name": "SearchMetadata",
1755+ "shortname": "SearchMetadata",
1756 "classitems": [],
1757 "plugins": [],
1758 "extensions": [],
1759@@ -933,6 +1048,534 @@
1760 "module": "ScopeJS"
1761 },
1762 {
1763+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1764+ "line": 14,
1765+ "description": "Add sub-department to this department",
1766+ "itemtype": "method",
1767+ "name": "add_subdepartment",
1768+ "params": [
1769+ {
1770+ "name": "sub",
1771+ "description": "department",
1772+ "type": "Department"
1773+ }
1774+ ],
1775+ "class": "Department",
1776+ "module": "ScopeJS"
1777+ },
1778+ {
1779+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1780+ "line": 21,
1781+ "description": "Get the alternate label of this department\nReturn the alternate label of this department. The alternate label expresses the plural \"all\" form of the normal label. For example, if the normal label is \"Books\", then the alternate label is \"All Books\". Note that alternate label and can be empty - in that case the normal label should be displayed instead",
1782+ "itemtype": "method",
1783+ "name": "alternate_label",
1784+ "return": {
1785+ "description": "alternate label",
1786+ "type": "String"
1787+ },
1788+ "class": "Department",
1789+ "module": "ScopeJS"
1790+ },
1791+ {
1792+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1793+ "line": 29,
1794+ "description": "Set sub-departments of this department",
1795+ "params": [
1796+ {
1797+ "name": "departments",
1798+ "description": "",
1799+ "type": "Array of Department"
1800+ }
1801+ ],
1802+ "itemtype": "method",
1803+ "name": "set_subdepartments",
1804+ "class": "Department",
1805+ "module": "ScopeJS"
1806+ },
1807+ {
1808+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1809+ "line": 36,
1810+ "description": "Sets has_subdepartments flag of this department",
1811+ "itemtype": "method",
1812+ "name": "set_has_subdepartments",
1813+ "params": [
1814+ {
1815+ "name": "subdepartments",
1816+ "description": "",
1817+ "type": "Boolean"
1818+ }
1819+ ],
1820+ "class": "Department",
1821+ "module": "ScopeJS"
1822+ },
1823+ {
1824+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1825+ "line": 43,
1826+ "description": "Get the identifier of this department",
1827+ "itemtype": "method",
1828+ "name": "id",
1829+ "return": {
1830+ "description": "identifier of this department",
1831+ "type": "String"
1832+ },
1833+ "class": "Department",
1834+ "module": "ScopeJS"
1835+ },
1836+ {
1837+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1838+ "line": 50,
1839+ "description": "Get the label of this department",
1840+ "itemtype": "method",
1841+ "name": "label",
1842+ "return": {
1843+ "description": "label of this department",
1844+ "type": "String"
1845+ },
1846+ "class": "Department",
1847+ "module": "ScopeJS"
1848+ },
1849+ {
1850+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1851+ "line": 57,
1852+ "description": "Get the alternate label of this department",
1853+ "itemtype": "method",
1854+ "name": "alternate_label",
1855+ "return": {
1856+ "description": "alternate label of this department",
1857+ "type": "String"
1858+ },
1859+ "class": "Department",
1860+ "module": "ScopeJS"
1861+ },
1862+ {
1863+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1864+ "line": 64,
1865+ "description": "Get the canned query associated with this department",
1866+ "itemtype": "method",
1867+ "name": "query",
1868+ "return": {
1869+ "description": "canned query associated with this department",
1870+ "type": "CannedQuery"
1871+ },
1872+ "class": "Department",
1873+ "module": "ScopeJS"
1874+ },
1875+ {
1876+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1877+ "line": 71,
1878+ "description": "Get list of sub-departments of this department",
1879+ "itemtype": "method",
1880+ "name": "subdepartments",
1881+ "return": {
1882+ "description": "list of sub-departments of this department",
1883+ "type": "Array of Department"
1884+ },
1885+ "class": "Department",
1886+ "module": "ScopeJS"
1887+ },
1888+ {
1889+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/department.js",
1890+ "line": 78,
1891+ "description": "Check if this department has subdepartments or has_subdepartments flag is set",
1892+ "itemtype": "method",
1893+ "name": "has_subdepartments",
1894+ "return": {
1895+ "description": "True if this department has subdepartments or has_subdepartments flag is set",
1896+ "type": "Boolean"
1897+ },
1898+ "class": "Department",
1899+ "module": "ScopeJS"
1900+ },
1901+ {
1902+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-option.js",
1903+ "line": 11,
1904+ "description": "Get the identifier of this filter option",
1905+ "itemtype": "method",
1906+ "name": "id",
1907+ "return": {
1908+ "description": "String The option identifier"
1909+ },
1910+ "class": "FilterOption",
1911+ "module": "ScopeJS"
1912+ },
1913+ {
1914+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-option.js",
1915+ "line": 18,
1916+ "description": "Get the label of this filter option",
1917+ "itemtype": "method",
1918+ "name": "label",
1919+ "return": {
1920+ "description": "String The option label"
1921+ },
1922+ "class": "FilterOption",
1923+ "module": "ScopeJS"
1924+ },
1925+ {
1926+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-state.js",
1927+ "line": 12,
1928+ "description": "Check if state for the given filter has been stored",
1929+ "itemtype": "method",
1930+ "name": "has_filter",
1931+ "params": [
1932+ {
1933+ "name": "id",
1934+ "description": "String filter id"
1935+ }
1936+ ],
1937+ "return": {
1938+ "description": "True if state for the given filter has been stored"
1939+ },
1940+ "class": "FilterOption",
1941+ "module": "ScopeJS"
1942+ },
1943+ {
1944+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/filter-state.js",
1945+ "line": 20,
1946+ "description": "Removes the state for a specific filter",
1947+ "itemtype": "method",
1948+ "name": "remove",
1949+ "params": [
1950+ {
1951+ "name": "id",
1952+ "description": "String filter id"
1953+ }
1954+ ],
1955+ "class": "FilterOption",
1956+ "module": "ScopeJS"
1957+ },
1958+ {
1959+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
1960+ "line": 11,
1961+ "description": "Check if state for the given filter has been stored",
1962+ "itemtype": "property",
1963+ "name": "account_id",
1964+ "type": "String",
1965+ "class": "OnlineAccountClientServiceStatus",
1966+ "module": "ScopeJS"
1967+ },
1968+ {
1969+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
1970+ "line": 16,
1971+ "description": "True if this service is enabled",
1972+ "itemtype": "property",
1973+ "name": "service_enabled",
1974+ "type": "Boolean",
1975+ "class": "OnlineAccountClientServiceStatus",
1976+ "module": "ScopeJS"
1977+ },
1978+ {
1979+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
1980+ "line": 21,
1981+ "description": "True if this service is authenticated",
1982+ "itemtype": "property",
1983+ "name": "service_authenticated",
1984+ "type": "Boolean",
1985+ "class": "OnlineAccountClientServiceStatus",
1986+ "module": "ScopeJS"
1987+ },
1988+ {
1989+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
1990+ "line": 26,
1991+ "description": "\"ConsumerKey\" / \"ClientId\" OAuth (1 / 2) parameter.",
1992+ "itemtype": "property",
1993+ "name": "client_id",
1994+ "type": "String",
1995+ "class": "OnlineAccountClientServiceStatus",
1996+ "module": "ScopeJS"
1997+ },
1998+ {
1999+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
2000+ "line": 31,
2001+ "description": "\"ClientSecret\" / \"ConsumerSecret\" OAuth (1 / 2) parameter.",
2002+ "itemtype": "property",
2003+ "name": "client_secret",
2004+ "type": "String",
2005+ "class": "OnlineAccountClientServiceStatus",
2006+ "module": "ScopeJS"
2007+ },
2008+ {
2009+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
2010+ "line": 36,
2011+ "description": "\"AccessToken\" OAuth parameter.",
2012+ "itemtype": "property",
2013+ "name": "access_token",
2014+ "type": "String",
2015+ "class": "OnlineAccountClientServiceStatus",
2016+ "module": "ScopeJS"
2017+ },
2018+ {
2019+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
2020+ "line": 41,
2021+ "description": "\"TokenSecret\" OAuth parameter.",
2022+ "itemtype": "property",
2023+ "name": "token_secret",
2024+ "type": "String",
2025+ "class": "OnlineAccountClientServiceStatus",
2026+ "module": "ScopeJS"
2027+ },
2028+ {
2029+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client-service-status.js",
2030+ "line": 46,
2031+ "description": "Error message (empty if no error occurred).",
2032+ "itemtype": "property",
2033+ "name": "error",
2034+ "type": "String",
2035+ "class": "OnlineAccountClientServiceStatus",
2036+ "module": "ScopeJS"
2037+ },
2038+ {
2039+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
2040+ "line": 15,
2041+ "description": "Get statuses for all services matching the name, type and provider specified on construction",
2042+ "itemtype": "method",
2043+ "name": "get_service_statuses",
2044+ "return": {
2045+ "description": "list of service statuses",
2046+ "type": "Array of OnlineAccountClientServiceStatus"
2047+ },
2048+ "class": "OnlineAccountClient",
2049+ "module": "ScopeJS"
2050+ },
2051+ {
2052+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
2053+ "line": 22,
2054+ "description": "Refresh all service statuses\nWARNING: If a service update callback is set, this method will invoke that callback for each service monitored. Therefore, DO NOT call this method from within your callback function!",
2055+ "itemtype": "method",
2056+ "name": "refresh_service_statuses",
2057+ "class": "OnlineAccountClient",
2058+ "module": "ScopeJS"
2059+ },
2060+ {
2061+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
2062+ "line": 29,
2063+ "description": "Register a result item that requires the user to be logged in.",
2064+ "params": [
2065+ {
2066+ "name": "result",
2067+ "description": "The result item that needs account access",
2068+ "type": "Result"
2069+ },
2070+ {
2071+ "name": "query",
2072+ "description": "The scope's current query",
2073+ "type": "CannedQuery"
2074+ },
2075+ {
2076+ "name": "login_passed_action",
2077+ "description": "The action to take upon successful login",
2078+ "type": "PostLoginAction"
2079+ },
2080+ {
2081+ "name": "login_failed_action",
2082+ "description": "The action to take upon unsuccessful login",
2083+ "type": "PostLoginAction"
2084+ }
2085+ ],
2086+ "itemtype": "method",
2087+ "name": "register_account_login_item",
2088+ "class": "OnlineAccountClient",
2089+ "module": "ScopeJS"
2090+ },
2091+ {
2092+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
2093+ "line": 39,
2094+ "description": "Refresh all service statuses",
2095+ "itemtype": "method",
2096+ "name": "register_account_login_item",
2097+ "params": [
2098+ {
2099+ "name": "widget",
2100+ "description": "The widget item that needs account access",
2101+ "type": "PreviewWidget"
2102+ },
2103+ {
2104+ "name": "login_passed_action",
2105+ "description": "The action to take upon successful login",
2106+ "type": "PostLoginAction"
2107+ },
2108+ {
2109+ "name": "login_failed_action",
2110+ "description": "The action to take upon unsuccessful login",
2111+ "type": "PostLoginAction"
2112+ }
2113+ ],
2114+ "class": "OnlineAccountClient",
2115+ "module": "ScopeJS"
2116+ },
2117+ {
2118+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/online-account-client.js",
2119+ "line": 48,
2120+ "description": "Set the callback function to be invoked when a service status changes",
2121+ "itemtype": "method",
2122+ "name": "set_service_update_callback",
2123+ "params": [
2124+ {
2125+ "name": "callback",
2126+ "description": "",
2127+ "type": "Function(OnlineAccountServiceStatus)"
2128+ }
2129+ ],
2130+ "class": "OnlineAccountClient",
2131+ "module": "ScopeJS"
2132+ },
2133+ {
2134+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2135+ "line": 15,
2136+ "description": "Get the label of this filter",
2137+ "itemtype": "method",
2138+ "name": "label",
2139+ "return": {
2140+ "description": "label of this filter",
2141+ "type": "String"
2142+ },
2143+ "class": "OptionSelectorFilter",
2144+ "module": "ScopeJS"
2145+ },
2146+ {
2147+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2148+ "line": 22,
2149+ "description": "Check if this filter supports multiple options to be selected",
2150+ "itemtype": "method",
2151+ "name": "multi_select",
2152+ "return": {
2153+ "description": "True if this filter multiple options to be selected",
2154+ "type": "Boolean"
2155+ },
2156+ "class": "OptionSelectorFilter",
2157+ "module": "ScopeJS"
2158+ },
2159+ {
2160+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2161+ "line": 29,
2162+ "description": "Add a new option to this filter",
2163+ "itemtype": "method",
2164+ "name": "add_option",
2165+ "return": {
2166+ "description": "FilterOption The added filter option"
2167+ },
2168+ "class": "OptionSelectorFilter",
2169+ "module": "ScopeJS"
2170+ },
2171+ {
2172+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2173+ "line": 36,
2174+ "description": "Get all options of this filter, in the order they were added",
2175+ "itemtype": "method",
2176+ "name": "options",
2177+ "return": {
2178+ "description": "",
2179+ "type": "Array of FilterOption"
2180+ },
2181+ "class": "OptionSelectorFilter",
2182+ "module": "ScopeJS"
2183+ },
2184+ {
2185+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2186+ "line": 43,
2187+ "description": "Check if an option is active for this filter",
2188+ "itemtype": "method",
2189+ "name": "has_active_option",
2190+ "params": [
2191+ {
2192+ "name": "filter_state",
2193+ "description": "FilterState"
2194+ }
2195+ ],
2196+ "return": {
2197+ "description": "True if an option is active for this filter",
2198+ "type": "Boolean"
2199+ },
2200+ "class": "OptionSelectorFilter",
2201+ "module": "ScopeJS"
2202+ },
2203+ {
2204+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2205+ "line": 51,
2206+ "description": "Get active options from an instance of FilterState for this filter",
2207+ "itemtype": "method",
2208+ "name": "active_options",
2209+ "params": [
2210+ {
2211+ "name": "filter_state",
2212+ "description": "FilterState"
2213+ }
2214+ ],
2215+ "return": {
2216+ "description": "LIst of active FilterOption",
2217+ "type": "Array of FilterOption"
2218+ },
2219+ "class": "OptionSelectorFilter",
2220+ "module": "ScopeJS"
2221+ },
2222+ {
2223+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2224+ "line": 59,
2225+ "description": "Marks given FilterOption of this filter instance as active (or not active) in a FilterState object.\nRecords the given FilterOption as \"selected\" in the FilterState. This is meant to be used to modify a FilterState received with a search request before sending it back to the client (UI shell).",
2226+ "itemtype": "method",
2227+ "name": "update_state",
2228+ "params": [
2229+ {
2230+ "name": "filter_state",
2231+ "description": "",
2232+ "type": "FilterState"
2233+ },
2234+ {
2235+ "name": "option",
2236+ "description": "",
2237+ "type": "FilterOption"
2238+ },
2239+ {
2240+ "name": "active",
2241+ "description": "",
2242+ "type": "Boolean"
2243+ }
2244+ ],
2245+ "class": "OptionSelectorFilter",
2246+ "module": "ScopeJS"
2247+ },
2248+ {
2249+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2250+ "line": 69,
2251+ "description": "Sets display hints for the Shell UI",
2252+ "itemtype": "method",
2253+ "name": "set_display_hints",
2254+ "params": [
2255+ {
2256+ "name": "hints",
2257+ "description": "0 is Default filter hint, 1 is Primary filter hint",
2258+ "type": "Int"
2259+ }
2260+ ],
2261+ "class": "OptionSelectorFilter",
2262+ "module": "ScopeJS"
2263+ },
2264+ {
2265+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2266+ "line": 76,
2267+ "description": "Get the identifier of this filter",
2268+ "itemtype": "method",
2269+ "name": "id",
2270+ "return": {
2271+ "description": "identifier of this filter",
2272+ "type": "String"
2273+ },
2274+ "class": "OptionSelectorFilter",
2275+ "module": "ScopeJS"
2276+ },
2277+ {
2278+ "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/option-selector-filter.js",
2279+ "line": 83,
2280+ "description": "Get the type name of this filter",
2281+ "itemtype": "method",
2282+ "name": "filter_type",
2283+ "return": {
2284+ "description": "type name of this filter",
2285+ "type": "String"
2286+ },
2287+ "class": "OptionSelectorFilter",
2288+ "module": "ScopeJS"
2289+ },
2290+ {
2291 "file": "/home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/preview-query.js",
2292 "line": 47,
2293 "description": "Get result for this preview request",
2294@@ -1419,7 +2062,7 @@
2295 "type": "Int"
2296 }
2297 ],
2298- "class": "SearchMetaData",
2299+ "class": "SearchMetadata",
2300 "module": "ScopeJS"
2301 },
2302 {
2303@@ -1432,7 +2075,7 @@
2304 "description": "",
2305 "type": "Int"
2306 },
2307- "class": "SearchMetaData",
2308+ "class": "SearchMetadata",
2309 "module": "ScopeJS"
2310 },
2311 {
2312@@ -1448,7 +2091,7 @@
2313 "type": "Location"
2314 }
2315 ],
2316- "class": "SearchMetaData",
2317+ "class": "SearchMetadata",
2318 "module": "ScopeJS"
2319 },
2320 {
2321@@ -1461,7 +2104,7 @@
2322 "description": "data representing the current location, including attributes such as city and country.",
2323 "type": "Location"
2324 },
2325- "class": "SearchMetaData",
2326+ "class": "SearchMetadata",
2327 "module": "ScopeJS"
2328 },
2329 {
2330@@ -1474,7 +2117,7 @@
2331 "description": "True if there is a location property.",
2332 "type": "Boolean"
2333 },
2334- "class": "SearchMetaData",
2335+ "class": "SearchMetadata",
2336 "module": "ScopeJS"
2337 },
2338 {
2339@@ -1483,7 +2126,7 @@
2340 "description": "Remove location data entirely.\nThis method does nothing if no location data is present.",
2341 "itemtype": "method",
2342 "name": "remove_location",
2343- "class": "SearchMetaData",
2344+ "class": "SearchMetadata",
2345 "module": "ScopeJS"
2346 },
2347 {
2348@@ -1499,7 +2142,7 @@
2349 "type": "Array of String"
2350 }
2351 ],
2352- "class": "SearchMetaData",
2353+ "class": "SearchMetadata",
2354 "module": "ScopeJS"
2355 },
2356 {
2357@@ -1512,7 +2155,7 @@
2358 "description": "The list of scope keywords used to initiate this search request.",
2359 "type": "Array of String"
2360 },
2361- "class": "SearchMetaData",
2362+ "class": "SearchMetadata",
2363 "module": "ScopeJS"
2364 },
2365 {
2366@@ -1525,7 +2168,7 @@
2367 "description": "True if this search request originated from an aggregator scope.",
2368 "type": "Boolean"
2369 },
2370- "class": "SearchMetaData",
2371+ "class": "SearchMetadata",
2372 "module": "ScopeJS"
2373 },
2374 {
2375@@ -1545,7 +2188,7 @@
2376 "description": "Hint value"
2377 }
2378 ],
2379- "class": "SearchMetaData",
2380+ "class": "SearchMetadata",
2381 "module": "ScopeJS"
2382 },
2383 {
2384@@ -1558,7 +2201,7 @@
2385 "description": "",
2386 "type": "Dictionary"
2387 },
2388- "class": "SearchMetaData",
2389+ "class": "SearchMetadata",
2390 "module": "ScopeJS"
2391 },
2392 {
2393@@ -1578,7 +2221,7 @@
2394 "description": "True if the hint is set.",
2395 "type": "Boolean"
2396 },
2397- "class": "SearchMetaData",
2398+ "class": "SearchMetadata",
2399 "module": "ScopeJS"
2400 },
2401 {
2402@@ -1599,7 +2242,7 @@
2403 "type": "String"
2404 }
2405 ],
2406- "class": "SearchMetaData",
2407+ "class": "SearchMetadata",
2408 "module": "ScopeJS"
2409 },
2410 {
2411@@ -1619,7 +2262,7 @@
2412 "description": ", {Number} or {Object}",
2413 "type": "String"
2414 },
2415- "class": "SearchMetaData",
2416+ "class": "SearchMetadata",
2417 "module": "ScopeJS"
2418 },
2419 {
2420@@ -1631,7 +2274,7 @@
2421 "return": {
2422 "description": "The form factor string"
2423 },
2424- "class": "SearchMetaData",
2425+ "class": "SearchMetadata",
2426 "module": "ScopeJS"
2427 },
2428 {
2429@@ -1643,7 +2286,7 @@
2430 "return": {
2431 "description": "The locale string"
2432 },
2433- "class": "SearchMetaData",
2434+ "class": "SearchMetadata",
2435 "module": "ScopeJS"
2436 },
2437 {
2438@@ -1656,7 +2299,7 @@
2439 "description": "The internet connectivity status.",
2440 "type": "ConnectivityStatus"
2441 },
2442- "class": "SearchMetaData",
2443+ "class": "SearchMetadata",
2444 "module": "ScopeJS"
2445 },
2446 {
2447@@ -1672,7 +2315,7 @@
2448 "type": "ConnectivityStatus"
2449 }
2450 ],
2451- "class": "SearchMetaData",
2452+ "class": "SearchMetadata",
2453 "module": "ScopeJS"
2454 },
2455 {
2456
2457=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_index.js.html'
2458--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_index.js.html 2015-10-20 20:44:15 +0000
2459+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_index.js.html 2015-10-26 22:14:51 +0000
2460@@ -44,12 +44,17 @@
2461 <li><a href="../classes/Category.html">Category</a></li>
2462 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2463 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2464+ <li><a href="../classes/Department.html">Department</a></li>
2465+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2466+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2467+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2468+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2469 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2470 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2471 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2472 <li><a href="../classes/Result.html">Result</a></li>
2473 <li><a href="../classes/Scope.html">Scope</a></li>
2474- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2475+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2476 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2477 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2478 </ul>
2479
2480=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_action-metadata.js.html'
2481--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_action-metadata.js.html 2015-10-20 20:44:15 +0000
2482+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_action-metadata.js.html 2015-10-26 22:14:51 +0000
2483@@ -44,12 +44,17 @@
2484 <li><a href="../classes/Category.html">Category</a></li>
2485 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2486 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2487+ <li><a href="../classes/Department.html">Department</a></li>
2488+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2489+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2490+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2491+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2492 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2493 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2494 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2495 <li><a href="../classes/Result.html">Result</a></li>
2496 <li><a href="../classes/Scope.html">Scope</a></li>
2497- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2498+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2499 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2500 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2501 </ul>
2502
2503=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_activation-query.js.html'
2504--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_activation-query.js.html 2015-10-20 20:44:15 +0000
2505+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_activation-query.js.html 2015-10-26 22:14:51 +0000
2506@@ -44,12 +44,17 @@
2507 <li><a href="../classes/Category.html">Category</a></li>
2508 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2509 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2510+ <li><a href="../classes/Department.html">Department</a></li>
2511+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2512+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2513+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2514+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2515 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2516 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2517 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2518 <li><a href="../classes/Result.html">Result</a></li>
2519 <li><a href="../classes/Scope.html">Scope</a></li>
2520- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2521+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2522 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2523 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2524 </ul>
2525
2526=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_categorised-result.js.html'
2527--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_categorised-result.js.html 2015-10-20 20:44:15 +0000
2528+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_categorised-result.js.html 2015-10-26 22:14:51 +0000
2529@@ -44,12 +44,17 @@
2530 <li><a href="../classes/Category.html">Category</a></li>
2531 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2532 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2533+ <li><a href="../classes/Department.html">Department</a></li>
2534+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2535+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2536+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2537+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2538 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2539 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2540 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2541 <li><a href="../classes/Result.html">Result</a></li>
2542 <li><a href="../classes/Scope.html">Scope</a></li>
2543- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2544+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2545 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2546 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2547 </ul>
2548
2549=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category-renderer.js.html'
2550--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category-renderer.js.html 2015-10-20 20:44:15 +0000
2551+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category-renderer.js.html 2015-10-26 22:14:51 +0000
2552@@ -44,12 +44,17 @@
2553 <li><a href="../classes/Category.html">Category</a></li>
2554 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2555 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2556+ <li><a href="../classes/Department.html">Department</a></li>
2557+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2558+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2559+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2560+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2561 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2562 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2563 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2564 <li><a href="../classes/Result.html">Result</a></li>
2565 <li><a href="../classes/Scope.html">Scope</a></li>
2566- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2567+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2568 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2569 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2570 </ul>
2571
2572=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category.js.html'
2573--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category.js.html 2015-10-20 20:44:15 +0000
2574+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_category.js.html 2015-10-26 22:14:51 +0000
2575@@ -44,12 +44,17 @@
2576 <li><a href="../classes/Category.html">Category</a></li>
2577 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2578 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2579+ <li><a href="../classes/Department.html">Department</a></li>
2580+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2581+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2582+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2583+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2584 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2585 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2586 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2587 <li><a href="../classes/Result.html">Result</a></li>
2588 <li><a href="../classes/Scope.html">Scope</a></li>
2589- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2590+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2591 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2592 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2593 </ul>
2594
2595=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_column-layout.js.html'
2596--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_column-layout.js.html 2015-10-20 20:44:15 +0000
2597+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_column-layout.js.html 2015-10-26 22:14:51 +0000
2598@@ -44,12 +44,17 @@
2599 <li><a href="../classes/Category.html">Category</a></li>
2600 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2601 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2602+ <li><a href="../classes/Department.html">Department</a></li>
2603+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2604+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2605+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2606+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2607 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2608 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2609 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2610 <li><a href="../classes/Result.html">Result</a></li>
2611 <li><a href="../classes/Scope.html">Scope</a></li>
2612- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2613+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2614 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2615 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2616 </ul>
2617
2618=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-query.js.html'
2619--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-query.js.html 2015-10-20 20:44:15 +0000
2620+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-query.js.html 2015-10-26 22:14:51 +0000
2621@@ -44,12 +44,17 @@
2622 <li><a href="../classes/Category.html">Category</a></li>
2623 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2624 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2625+ <li><a href="../classes/Department.html">Department</a></li>
2626+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2627+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2628+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2629+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2630 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2631 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2632 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2633 <li><a href="../classes/Result.html">Result</a></li>
2634 <li><a href="../classes/Scope.html">Scope</a></li>
2635- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2636+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2637 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2638 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2639 </ul>
2640
2641=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-reply.js.html'
2642--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-reply.js.html 2015-10-20 20:44:15 +0000
2643+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-reply.js.html 2015-10-26 22:14:51 +0000
2644@@ -44,12 +44,17 @@
2645 <li><a href="../classes/Category.html">Category</a></li>
2646 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2647 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2648+ <li><a href="../classes/Department.html">Department</a></li>
2649+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2650+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2651+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2652+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2653 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2654 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2655 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2656 <li><a href="../classes/Result.html">Result</a></li>
2657 <li><a href="../classes/Scope.html">Scope</a></li>
2658- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2659+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2660 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2661 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2662 </ul>
2663
2664=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-widget.js.html'
2665--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-widget.js.html 2015-10-20 20:44:15 +0000
2666+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_preview-widget.js.html 2015-10-26 22:14:51 +0000
2667@@ -44,12 +44,17 @@
2668 <li><a href="../classes/Category.html">Category</a></li>
2669 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2670 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2671+ <li><a href="../classes/Department.html">Department</a></li>
2672+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2673+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2674+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2675+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2676 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2677 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2678 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2679 <li><a href="../classes/Result.html">Result</a></li>
2680 <li><a href="../classes/Scope.html">Scope</a></li>
2681- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2682+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2683 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2684 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2685 </ul>
2686
2687=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_result.js.html'
2688--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_result.js.html 2015-10-20 20:44:15 +0000
2689+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_result.js.html 2015-10-26 22:14:51 +0000
2690@@ -44,12 +44,17 @@
2691 <li><a href="../classes/Category.html">Category</a></li>
2692 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2693 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2694+ <li><a href="../classes/Department.html">Department</a></li>
2695+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2696+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2697+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2698+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2699 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2700 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2701 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2702 <li><a href="../classes/Result.html">Result</a></li>
2703 <li><a href="../classes/Scope.html">Scope</a></li>
2704- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2705+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2706 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2707 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2708 </ul>
2709
2710=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html'
2711--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html 2015-10-20 20:44:15 +0000
2712+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-metadata.js.html 2015-10-26 22:14:51 +0000
2713@@ -44,12 +44,17 @@
2714 <li><a href="../classes/Category.html">Category</a></li>
2715 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2716 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2717+ <li><a href="../classes/Department.html">Department</a></li>
2718+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2719+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2720+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2721+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2722 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2723 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2724 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2725 <li><a href="../classes/Result.html">Result</a></li>
2726 <li><a href="../classes/Scope.html">Scope</a></li>
2727- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2728+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2729 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2730 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2731 </ul>
2732@@ -104,16 +109,16 @@
2733 * - with cardinality, locale, and form factor.
2734 *
2735 * @module ScopeJS
2736- * @class SearchMetaData
2737+ * @class SearchMetadata
2738 *
2739 * @constructor
2740 * @param cardinality maximum number of search results
2741 * @param locale locale string, eg. en_EN
2742 * @param form_factor form factor name, e.g. phone, desktop, phone-version etc.
2743 * @param category The category for the result.*/
2744-function SearchMetaData(){}
2745+function SearchMetadata(){}
2746
2747-SearchMetaData.prototype = {
2748+SearchMetadata.prototype = {
2749 /**
2750 * Set cardinality.
2751 * @method set_cardinality
2752
2753=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-query.js.html'
2754--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-query.js.html 2015-10-20 20:44:15 +0000
2755+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-query.js.html 2015-10-26 22:14:51 +0000
2756@@ -44,12 +44,17 @@
2757 <li><a href="../classes/Category.html">Category</a></li>
2758 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2759 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2760+ <li><a href="../classes/Department.html">Department</a></li>
2761+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2762+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2763+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2764+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2765 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2766 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2767 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2768 <li><a href="../classes/Result.html">Result</a></li>
2769 <li><a href="../classes/Scope.html">Scope</a></li>
2770- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2771+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2772 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2773 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2774 </ul>
2775
2776=== modified file 'doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-reply.js.html'
2777--- doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-reply.js.html 2015-10-20 20:44:15 +0000
2778+++ doc/docbuild/files/_home_alex_dev_work_webapps_branches_scopes_doc_src_bindings_src_search-reply.js.html 2015-10-26 22:14:51 +0000
2779@@ -44,12 +44,17 @@
2780 <li><a href="../classes/Category.html">Category</a></li>
2781 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2782 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2783+ <li><a href="../classes/Department.html">Department</a></li>
2784+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2785+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2786+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2787+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2788 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2789 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2790 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2791 <li><a href="../classes/Result.html">Result</a></li>
2792 <li><a href="../classes/Scope.html">Scope</a></li>
2793- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2794+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2795 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2796 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2797 </ul>
2798
2799=== modified file 'doc/docbuild/index.html'
2800--- doc/docbuild/index.html 2015-10-20 20:44:15 +0000
2801+++ doc/docbuild/index.html 2015-10-26 22:14:51 +0000
2802@@ -44,12 +44,17 @@
2803 <li><a href="./classes/Category.html">Category</a></li>
2804 <li><a href="./classes/CategoryRenderer.html">CategoryRenderer</a></li>
2805 <li><a href="./classes/ColumnLayout.html">ColumnLayout</a></li>
2806+ <li><a href="./classes/Department.html">Department</a></li>
2807+ <li><a href="./classes/FilterOption.html">FilterOption</a></li>
2808+ <li><a href="./classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2809+ <li><a href="./classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2810+ <li><a href="./classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2811 <li><a href="./classes/PreviewQuery.html">PreviewQuery</a></li>
2812 <li><a href="./classes/PreviewReply.html">PreviewReply</a></li>
2813 <li><a href="./classes/PreviewWidget.html">PreviewWidget</a></li>
2814 <li><a href="./classes/Result.html">Result</a></li>
2815 <li><a href="./classes/Scope.html">Scope</a></li>
2816- <li><a href="./classes/SearchMetaData.html">SearchMetaData</a></li>
2817+ <li><a href="./classes/SearchMetadata.html">SearchMetadata</a></li>
2818 <li><a href="./classes/SearchQuery.html">SearchQuery</a></li>
2819 <li><a href="./classes/SearchReply.html">SearchReply</a></li>
2820 </ul>
2821
2822=== modified file 'doc/docbuild/modules/ScopeJS.html'
2823--- doc/docbuild/modules/ScopeJS.html 2015-10-20 20:44:15 +0000
2824+++ doc/docbuild/modules/ScopeJS.html 2015-10-26 22:14:51 +0000
2825@@ -44,12 +44,17 @@
2826 <li><a href="../classes/Category.html">Category</a></li>
2827 <li><a href="../classes/CategoryRenderer.html">CategoryRenderer</a></li>
2828 <li><a href="../classes/ColumnLayout.html">ColumnLayout</a></li>
2829+ <li><a href="../classes/Department.html">Department</a></li>
2830+ <li><a href="../classes/FilterOption.html">FilterOption</a></li>
2831+ <li><a href="../classes/OnlineAccountClient.html">OnlineAccountClient</a></li>
2832+ <li><a href="../classes/OnlineAccountClientServiceStatus.html">OnlineAccountClientServiceStatus</a></li>
2833+ <li><a href="../classes/OptionSelectorFilter.html">OptionSelectorFilter</a></li>
2834 <li><a href="../classes/PreviewQuery.html">PreviewQuery</a></li>
2835 <li><a href="../classes/PreviewReply.html">PreviewReply</a></li>
2836 <li><a href="../classes/PreviewWidget.html">PreviewWidget</a></li>
2837 <li><a href="../classes/Result.html">Result</a></li>
2838 <li><a href="../classes/Scope.html">Scope</a></li>
2839- <li><a href="../classes/SearchMetaData.html">SearchMetaData</a></li>
2840+ <li><a href="../classes/SearchMetadata.html">SearchMetadata</a></li>
2841 <li><a href="../classes/SearchQuery.html">SearchQuery</a></li>
2842 <li><a href="../classes/SearchReply.html">SearchReply</a></li>
2843 </ul>
2844@@ -167,6 +172,31 @@
2845 </a>
2846 </li>
2847 <li class="module-class">
2848+ <a href="../classes/Department.html">
2849+ Department
2850+ </a>
2851+ </li>
2852+ <li class="module-class">
2853+ <a href="../classes/FilterOption.html">
2854+ FilterOption
2855+ </a>
2856+ </li>
2857+ <li class="module-class">
2858+ <a href="../classes/OnlineAccountClient.html">
2859+ OnlineAccountClient
2860+ </a>
2861+ </li>
2862+ <li class="module-class">
2863+ <a href="../classes/OnlineAccountClientServiceStatus.html">
2864+ OnlineAccountClientServiceStatus
2865+ </a>
2866+ </li>
2867+ <li class="module-class">
2868+ <a href="../classes/OptionSelectorFilter.html">
2869+ OptionSelectorFilter
2870+ </a>
2871+ </li>
2872+ <li class="module-class">
2873 <a href="../classes/PreviewQuery.html">
2874 PreviewQuery
2875 </a>
2876@@ -192,8 +222,8 @@
2877 </a>
2878 </li>
2879 <li class="module-class">
2880- <a href="../classes/SearchMetaData.html">
2881- SearchMetaData
2882+ <a href="../classes/SearchMetadata.html">
2883+ SearchMetadata
2884 </a>
2885 </li>
2886 <li class="module-class">
2887
2888=== modified file 'examples/simple-click/src/js-scope.webapps_js-scope.js'
2889--- examples/simple-click/src/js-scope.webapps_js-scope.js 2015-10-13 17:53:25 +0000
2890+++ examples/simple-click/src/js-scope.webapps_js-scope.js 2015-10-26 22:14:51 +0000
2891@@ -36,7 +36,7 @@
2892 + scopes.self.scope_config)
2893 },
2894 search: function(canned_query, metadata) {
2895- return new scopes.lib.search_query(
2896+ return new scopes.lib.SearchQuery(
2897 canned_query,
2898 metadata,
2899 // run
2900@@ -65,7 +65,7 @@
2901 response.on('end', function() {
2902 r = JSON.parse(res);
2903 for (i = 0; i < r.length; i++) {
2904- var categorised_result = new scopes.lib.categorised_result(category);
2905+ var categorised_result = new scopes.lib.CategorisedResult(category);
2906 categorised_result.set_uri(r[i].url);
2907 categorised_result.set_title(r[i].title);
2908 categorised_result.set_art(r[i].imageUrl);
2909@@ -87,14 +87,14 @@
2910 });
2911 },
2912 preview: function(result, action_metadata) {
2913- return new scopes.lib.preview_query(
2914+ return new scopes.lib.PreviewQuery(
2915 result,
2916 action_metadata,
2917 // run
2918 function(preview_reply) {
2919- var layout1col = new scopes.lib.column_layout(1);
2920- var layout2col = new scopes.lib.column_layout(2);
2921- var layout3col = new scopes.lib.column_layout(3);
2922+ var layout1col = new scopes.lib.ColumnLayout(1);
2923+ var layout2col = new scopes.lib.ColumnLayout(2);
2924+ var layout3col = new scopes.lib.ColumnLayout(3);
2925 layout1col.add_column(["image", "header", "summary"]);
2926
2927 layout2col.add_column(["image"]);
2928@@ -106,14 +106,14 @@
2929
2930 preview_reply.register_layout([layout1col, layout2col, layout3col]);
2931
2932- var header = new scopes.lib.preview_widget("header", "header");
2933+ var header = new scopes.lib.PreviewWidget("header", "header");
2934 header.add_attribute_mapping("title", "title");
2935 header.add_attribute_mapping("subtitle", "subtitle");
2936
2937- var image = new scopes.lib.preview_widget("image", "image");
2938+ var image = new scopes.lib.PreviewWidget("image", "image");
2939 image.add_attribute_mapping("source", "art");
2940
2941- var description = new scopes.lib.preview_widget("summary", "text");
2942+ var description = new scopes.lib.PreviewWidget("summary", "text");
2943 description.add_attribute_mapping("text", "description");
2944
2945 preview_reply.push([image, header, description ]);
2946
2947=== modified file 'examples/simple/simple.js'
2948--- examples/simple/simple.js 2015-10-21 19:44:36 +0000
2949+++ examples/simple/simple.js 2015-10-26 22:14:51 +0000
2950@@ -32,7 +32,7 @@
2951 + scopes.self.scope_config)
2952 },
2953 search: function(canned_query, metadata) {
2954- return new scopes.lib.search_query(
2955+ return new scopes.lib.SearchQuery(
2956 canned_query,
2957 metadata,
2958 // run
2959@@ -47,14 +47,14 @@
2960 null);
2961
2962 var categorised_result =
2963- new scopes.lib.categorised_result(category);
2964+ new scopes.lib.CategorisedResult(category);
2965 categorised_result.set_uri("http://www.ubuntu.com");
2966 categorised_result.set_title("'" + qs + "'");
2967
2968 var filter_state =
2969- new scopes.lib.filter_state();
2970+ new scopes.lib.FilterState();
2971 var option_filter =
2972- new scopes.lib.option_selector_filter('me', 'push', false);
2973+ new scopes.lib.OptionSelectorFilter('me', 'push', false);
2974 var option = option_filter.add_option("id", "yes");
2975
2976 var p = search_reply.push([option_filter], filter_state);
2977
2978=== modified file 'examples/soundcloud/soundcloud.js'
2979--- examples/soundcloud/soundcloud.js 2015-10-13 17:53:25 +0000
2980+++ examples/soundcloud/soundcloud.js 2015-10-26 22:14:51 +0000
2981@@ -86,7 +86,7 @@
2982 result) {
2983
2984 var categorised_result =
2985- new scopes.lib.categorised_result(category);
2986+ new scopes.lib.CategorisedResult(category);
2987
2988 categorised_result.set_uri(result.uri)
2989 categorised_result.set_title(result.description);
2990@@ -115,13 +115,13 @@
2991 } \
2992 }";
2993
2994- return new scopes.lib.search_query(
2995+ return new scopes.lib.SearchQuery(
2996 canned_query,
2997 metadata,
2998 // Query.run
2999 function(search_reply) {
3000 var category_renderer =
3001- new scopes.lib.category_renderer(category_description);
3002+ new scopes.lib.CategoryRenderer(category_description);
3003 var category =
3004 search_reply.register_category(
3005 "tracks",
3006@@ -166,30 +166,30 @@
3007 };
3008
3009 function on_preview(result, action_metadata) {
3010- return new scopes.lib.preview_query(
3011+ return new scopes.lib.PreviewQuery(
3012 result,
3013 action_metadata,
3014 // run
3015 function(preview_reply) {
3016 var r = this.result();
3017
3018- var layout1col = new scopes.lib.column_layout(1)
3019+ var layout1col = new scopes.lib.ColumnLayout(1)
3020 layout1col.add_column(["imageId", "headerId", "actionsId"])
3021
3022- var layout2col = new scopes.lib.column_layout(2)
3023+ var layout2col = new scopes.lib.ColumnLayout(2)
3024 layout2col.add_column(["imageId"])
3025 layout2col.add_column(["headerId", "actionsId"])
3026
3027 preview_reply.register_layout([layout1col, layout2col]);
3028
3029- var header_widget = new scopes.lib.preview_widget("headerId", "header");
3030+ var header_widget = new scopes.lib.PreviewWidget("headerId", "header");
3031 header_widget.add_attribute_mapping("title", "title");
3032 header_widget.add_attribute_mapping("subtitle", "subtitle");
3033
3034- var art_widget = new scopes.lib.preview_widget("imageId", "image");
3035+ var art_widget = new scopes.lib.PreviewWidget("imageId", "image");
3036 art_widget.add_attribute_mapping("source", "art");
3037
3038- var actions_widget = new scopes.lib.preview_widget("actionsId", "actions");
3039+ var actions_widget = new scopes.lib.PreviewWidget("actionsId", "actions");
3040 actions_widget.add_attribute_value(
3041 "actions",
3042 {
3043
3044=== modified file 'src/bindings/src/addon.cc'
3045--- src/bindings/src/addon.cc 2015-10-22 19:50:35 +0000
3046+++ src/bindings/src/addon.cc 2015-10-26 22:14:51 +0000
3047@@ -392,39 +392,38 @@
3048 v8cpp::Module module(isolate);
3049 module.add_class("js_scope", js_scope);
3050 module.add_class("scope_base", scope_base);
3051- module.add_class("action_metadata", action_metadata);
3052- module.add_class("activation_query", activation_query);
3053- module.add_class("category", category);
3054- module.add_class("categorised_result", categorised_result);
3055- module.add_class("canned_query", canned_query);
3056- module.add_class("categorised_result", categorised_result);
3057- module.add_class("category_renderer", category_renderer);
3058- module.add_class("column_layout", column_layout);
3059- module.add_class("department", department);
3060- module.add_class("filter_option", filter_option);
3061- module.add_class("filter_state", filter_state);
3062- module.add_class("location", location);
3063- module.add_class("online_account_client", online_account_client);
3064- module.add_class("option_selector_filter", option_selector_filter);
3065- module.add_class("preview_widget", preview_widget);
3066- module.add_class("preview_query", preview_query);
3067- module.add_class("preview_reply", preview_reply);
3068- module.add_class("result", result);
3069- module.add_class("search_reply", search_reply);
3070- module.add_class("search_query", search_query);
3071- module.add_class("search_metadata", search_metadata);
3072- module.add_class("variant", variant);
3073- module.add_class("variant_map", variant_map);
3074- module.add_class("variant_array", variant_array);
3075+
3076+ module.add_class("ActionMetadata", action_metadata);
3077+ module.add_class("ActivationQuery", activation_query);
3078+ module.add_class("Category", category);
3079+ module.add_class("CategorisedResult", categorised_result);
3080+ module.add_class("CannedQuery", canned_query);
3081+ module.add_class("CategorisedResult", categorised_result);
3082+ module.add_class("CategoryRenderer", category_renderer);
3083+ module.add_class("ColumnLayout", column_layout);
3084+ module.add_class("Department", department);
3085+ module.add_class("FilterOption", filter_option);
3086+ module.add_class("FilterState", filter_state);
3087+ module.add_class("Location", location);
3088+ module.add_class("OnlineAccountClient", online_account_client);
3089+ module.add_class("OnlineAccountClientServiceStatus", online_account_service_status);
3090+ module.add_class("OptionSelectorFilter", option_selector_filter);
3091+ module.add_class("PreviewWidget", preview_widget);
3092+ module.add_class("PreviewQuery", preview_query);
3093+ module.add_class("PreviewReply", preview_reply);
3094+ module.add_class("Result", result);
3095+ module.add_class("SearchReply", search_reply);
3096+ module.add_class("SearchQuery", search_query);
3097+ module.add_class("SearchMetadata", search_metadata);
3098+ module.add_class("Variant", variant);
3099+ module.add_class("Variant_map", variant_map);
3100+ module.add_class("Variant_array", variant_array);
3101
3102 // Factory functions
3103 module.add_function("new_scope", &new_scope);
3104
3105 // Standalone functions
3106 module.add_function("new_category_renderer_from_file", &new_category_renderer_from_file);
3107-
3108- module.add_function("create_option_selector_filter", &unity::scopes::OptionSelectorFilter::create);
3109-
3110 module.add_function("runtime_version", &get_scopes_runtime_version);
3111
3112 exports->SetPrototype(module.create_prototype());
3113
3114=== modified file 'src/bindings/src/category-renderer.h'
3115--- src/bindings/src/category-renderer.h 2015-10-20 20:44:02 +0000
3116+++ src/bindings/src/category-renderer.h 2015-10-26 22:14:51 +0000
3117@@ -1,4 +1,4 @@
3118-de/*
3119+/*
3120 * Copyright 2015 Canonical Ltd.
3121 *
3122 * This file is part of unity-js-scopes.
3123
3124=== modified file 'src/bindings/src/department.h'
3125--- src/bindings/src/department.h 2015-10-20 14:40:02 +0000
3126+++ src/bindings/src/department.h 2015-10-26 22:14:51 +0000
3127@@ -24,6 +24,120 @@
3128
3129 #include <v8-cpp.h>
3130
3131+/**
3132+
3133+--doc:class Department
3134+ *
3135+ * A department with optional sub-department
3136+ *
3137+ * @module ScopeJS
3138+ * @class Department
3139+--/doc:class
3140+
3141+--doc:constructor
3142+ *
3143+ * @constructor
3144+ * @param query {CannedQuery} query associated with the Department
3145+ * @param label {String} name of the Department
3146+--/doc:constructor
3147+
3148+--doc:prototype OnlineAccountClient
3149+
3150+--doc:member
3151+ * Add sub-department to this department
3152+ * @method add_subdepartment
3153+ * @param {Department} sub department
3154+--doc:/member
3155+add_subdepartment: function(department) {
3156+}
3157+--/doc:member
3158+
3159+--doc:member
3160+ * Get the alternate label of this department
3161+ * Return the alternate label of this department. The alternate label expresses the plural "all" form of the normal label. For example, if the normal label is "Books", then the alternate label is "All Books". Note that alternate label and can be empty - in that case the normal label should be displayed instead
3162+ * @method alternate_label
3163+ * @return {String} alternate label
3164+--doc:/member
3165+alternate_label: function() {
3166+}
3167+--/doc:member
3168+
3169+--doc:member
3170+ * Set sub-departments of this department
3171+ * @param departments {Array of Department}
3172+ * @method set_subdepartments
3173+--doc:/member
3174+set_subdepartments: function(departments) {
3175+}
3176+--/doc:member
3177+
3178+--doc:member
3179+ * Sets has_subdepartments flag of this department
3180+ * @method set_has_subdepartments
3181+ * @param subdepartments {Boolean}
3182+--doc:/member
3183+set_has_subdepartments: function(subdepartments) {
3184+}
3185+--/doc:member
3186+
3187+--doc:member
3188+ * Get the identifier of this department
3189+ * @method id
3190+ * @return {String} identifier of this department
3191+--doc:/member
3192+id: function() {
3193+}
3194+--/doc:member
3195+
3196+--doc:member
3197+ * Get the label of this department
3198+ * @method label
3199+ * @return {String} label of this department
3200+--doc:/member
3201+label: function() {
3202+}
3203+--/doc:member
3204+
3205+--doc:member
3206+ * Get the alternate label of this department
3207+ * @method alternate_label
3208+ * @return {String} alternate label of this department
3209+--doc:/member
3210+alternate_label: function() {
3211+}
3212+--/doc:member
3213+
3214+--doc:member
3215+ * Get the canned query associated with this department
3216+ * @method query
3217+ * @return {CannedQuery} canned query associated with this department
3218+--doc:/member
3219+query: function() {
3220+}
3221+--/doc:member
3222+
3223+--doc:member
3224+ * Get list of sub-departments of this department
3225+ * @method subdepartments
3226+ * @return {Array of Department} list of sub-departments of this department
3227+--doc:/member
3228+subdepartments: function() {
3229+}
3230+--/doc:member
3231+
3232+--doc:member
3233+ * Check if this department has subdepartments or has_subdepartments flag is set
3234+ * @method has_subdepartments
3235+ * @return {Boolean} True if this department has subdepartments or has_subdepartments flag is set
3236+--doc:/member
3237+has_subdepartments: function() {
3238+}
3239+--/doc:member
3240+
3241+--/doc:prototype
3242+
3243+ */
3244+
3245 class Department
3246 {
3247 public:
3248
3249=== added file 'src/bindings/src/filter-option.h'
3250--- src/bindings/src/filter-option.h 1970-01-01 00:00:00 +0000
3251+++ src/bindings/src/filter-option.h 2015-10-26 22:14:51 +0000
3252@@ -0,0 +1,52 @@
3253+/*
3254+ * Copyright 2015 Canonical Ltd.
3255+ *
3256+ * This file is part of unity-js-scopes.
3257+ *
3258+ * unity-js-scopes is free software; you can redistribute it and/or modify
3259+ * it under the terms of the GNU General Public License as published by
3260+ * the Free Software Foundation; version 3.
3261+ *
3262+ * unity-js-scopes is distributed in the hope that it will be useful,
3263+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3264+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3265+ * GNU General Public License for more details.
3266+ *
3267+ * You should have received a copy of the GNU General Public License
3268+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3269+ */
3270+
3271+/**
3272+
3273+--doc:class FilterOption
3274+ *
3275+ * Holds definition of filter option for OptionSelectorFilter
3276+ *
3277+ * @module ScopeJS
3278+ * @class FilterOption
3279+--/doc:class
3280+
3281+--doc:prototype CategoryRenderer
3282+
3283+--doc:member
3284+ * Get the identifier of this filter option
3285+ * @method id
3286+ * @return String The option identifier
3287+--doc:/member
3288+id: function() {
3289+}
3290+--/doc:member
3291+
3292+--doc:member
3293+ * Get the label of this filter option
3294+ * @method label
3295+ * @return String The option label
3296+--doc:/member
3297+label: function() {
3298+}
3299+--/doc:member
3300+
3301+--/doc:prototype
3302+
3303+ */
3304+
3305
3306=== added file 'src/bindings/src/filter-state.h'
3307--- src/bindings/src/filter-state.h 1970-01-01 00:00:00 +0000
3308+++ src/bindings/src/filter-state.h 2015-10-26 22:14:51 +0000
3309@@ -0,0 +1,58 @@
3310+/*
3311+ * Copyright 2015 Canonical Ltd.
3312+ *
3313+ * This file is part of unity-js-scopes.
3314+ *
3315+ * unity-js-scopes is free software; you can redistribute it and/or modify
3316+ * it under the terms of the GNU General Public License as published by
3317+ * the Free Software Foundation; version 3.
3318+ *
3319+ * unity-js-scopes is distributed in the hope that it will be useful,
3320+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3321+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3322+ * GNU General Public License for more details.
3323+ *
3324+ * You should have received a copy of the GNU General Public License
3325+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3326+ */
3327+
3328+/**
3329+
3330+--doc:class FilterOption
3331+ *
3332+ * Captures state of multiple filters.
3333+ *
3334+ * @module ScopeJS
3335+ * @class FilterOption
3336+--/doc:class
3337+
3338+--doc:constructor
3339+ *
3340+ * @constructor
3341+--/doc:constructor
3342+
3343+--doc:prototype FilterState
3344+
3345+--doc:member
3346+ * Check if state for the given filter has been stored
3347+ * @method has_filter
3348+ * @param id String filter id
3349+ * @return True if state for the given filter has been stored
3350+--doc:/member
3351+has_filter: function(id) {
3352+}
3353+--/doc:member
3354+
3355+--doc:member
3356+ * Removes the state for a specific filter
3357+ * @method remove
3358+ * @param id String filter id
3359+--doc:/member
3360+remove: function(id) {
3361+}
3362+--/doc:member
3363+
3364+--/doc:prototype
3365+
3366+ */
3367+
3368
3369=== added file 'src/bindings/src/online-account-client-service-status.h'
3370--- src/bindings/src/online-account-client-service-status.h 1970-01-01 00:00:00 +0000
3371+++ src/bindings/src/online-account-client-service-status.h 2015-10-26 22:14:51 +0000
3372@@ -0,0 +1,82 @@
3373+/*
3374+ * Copyright 2015 Canonical Ltd.
3375+ *
3376+ * This file is part of unity-js-scopes.
3377+ *
3378+ * unity-js-scopes is free software; you can redistribute it and/or modify
3379+ * it under the terms of the GNU General Public License as published by
3380+ * the Free Software Foundation; version 3.
3381+ *
3382+ * unity-js-scopes is distributed in the hope that it will be useful,
3383+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3384+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3385+ * GNU General Public License for more details.
3386+ *
3387+ * You should have received a copy of the GNU General Public License
3388+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3389+ */
3390+
3391+
3392+/**
3393+
3394+--doc:class OnlineAccountClientServiceStatus
3395+ *
3396+ * An object that contains the details about a service's status and authorization parameters
3397+ *
3398+ * @module ScopeJS
3399+ * @class OnlineAccountClientServiceStatus
3400+--/doc:class
3401+
3402+--doc:prototype OnlineAccountClientServiceStatus
3403+
3404+--doc:member
3405+ * Check if state for the given filter has been stored
3406+ * @property account_id {String}
3407+--doc:/member
3408+--/doc:member
3409+
3410+--doc:member
3411+ * True if this service is enabled
3412+ * @property service_enabled {Boolean}
3413+--doc:/member
3414+--/doc:member
3415+
3416+--doc:member
3417+ * True if this service is authenticated
3418+ * @property service_authenticated {Boolean}
3419+--doc:/member
3420+--/doc:member
3421+
3422+--doc:member
3423+ * "ConsumerKey" / "ClientId" OAuth (1 / 2) parameter.
3424+ * @property client_id {String}
3425+--doc:/member
3426+--/doc:member
3427+
3428+--doc:member
3429+ * "ClientSecret" / "ConsumerSecret" OAuth (1 / 2) parameter.
3430+ * @property client_secret {String}
3431+--doc:/member
3432+--/doc:member
3433+
3434+--doc:member
3435+ * "AccessToken" OAuth parameter.
3436+ * @property access_token {String}
3437+--doc:/member
3438+--/doc:member
3439+
3440+--doc:member
3441+ * "TokenSecret" OAuth parameter.
3442+ * @property token_secret {String}
3443+--doc:/member
3444+--/doc:member
3445+
3446+--doc:member
3447+ * Error message (empty if no error occurred).
3448+ * @property error {String}
3449+--doc:/member
3450+--/doc:member
3451+
3452+--/doc:prototype
3453+
3454+ */
3455
3456=== modified file 'src/bindings/src/online-account-client.h'
3457--- src/bindings/src/online-account-client.h 2015-10-16 13:39:16 +0000
3458+++ src/bindings/src/online-account-client.h 2015-10-26 22:14:51 +0000
3459@@ -28,6 +28,80 @@
3460
3461 #include <v8-cpp.h>
3462
3463+/**
3464+
3465+--doc:class OnlineAccountClient
3466+ *
3467+ * A simple interface for integrating online accounts access and monitoring into scopes.
3468+ *
3469+ * @module ScopeJS
3470+ * @class OnlineAccountClient
3471+--/doc:class
3472+
3473+--doc:constructor
3474+ *
3475+ * @constructor
3476+ * @param service_name {String} The name of the service (E.g. "com.ubuntu.scopes.youtube_youtube")
3477+ * @param service_type {String} The type of service (E.g. "sharing")
3478+ * @param provider_name {String} The name of the service provider (E.g. "google")
3479+--/doc:constructor
3480+
3481+--doc:prototype OnlineAccountClient
3482+
3483+--doc:member
3484+ * Get statuses for all services matching the name, type and provider specified on construction
3485+ * @method get_service_statuses
3486+ * @return {Array of OnlineAccountClientServiceStatus} list of service statuses
3487+--doc:/member
3488+get_service_statuses: function() {
3489+}
3490+--/doc:member
3491+
3492+--doc:member
3493+ * Refresh all service statuses
3494+ * WARNING: If a service update callback is set, this method will invoke that callback for each service monitored. Therefore, DO NOT call this method from within your callback function!
3495+ * @method refresh_service_statuses
3496+--doc:/member
3497+refresh_service_statuses: function() {
3498+}
3499+--/doc:member
3500+
3501+--doc:member
3502+ * Register a result item that requires the user to be logged in.
3503+ * @param result {Result} The result item that needs account access
3504+ * @param query {CannedQuery} The scope's current query
3505+ * @param login_passed_action {PostLoginAction} The action to take upon successful login
3506+ * @param login_failed_action {PostLoginAction} The action to take upon unsuccessful login
3507+ * @method register_account_login_item
3508+--doc:/member
3509+refresh_account_login_item: function(result, query, login_passed_action, login_failed_action) {
3510+}
3511+--/doc:member
3512+
3513+--doc:member
3514+ * Refresh all service statuses
3515+ * @method register_account_login_item
3516+ * @param widget {PreviewWidget} The widget item that needs account access
3517+ * @param login_passed_action {PostLoginAction} The action to take upon successful login
3518+ * @param login_failed_action {PostLoginAction} The action to take upon unsuccessful login
3519+--doc:/member
3520+register_account_login_item: function(widget, login_passed_action, login_failed_action) {
3521+}
3522+--/doc:member
3523+
3524+--doc:member
3525+ * Set the callback function to be invoked when a service status changes
3526+ * @method set_service_update_callback
3527+ * @param {Function(OnlineAccountServiceStatus)} callback
3528+--doc:/member
3529+set_service_update_callback: function(callback) {
3530+}
3531+--/doc:member
3532+
3533+--/doc:prototype
3534+
3535+ */
3536+
3537 class OnlineAccountClient : public std::enable_shared_from_this<OnlineAccountClient>
3538 {
3539 public:
3540
3541=== modified file 'src/bindings/src/option-selector-filter.h'
3542--- src/bindings/src/option-selector-filter.h 2015-10-21 19:44:36 +0000
3543+++ src/bindings/src/option-selector-filter.h 2015-10-26 22:14:51 +0000
3544@@ -24,6 +24,126 @@
3545 #include <v8-cpp.h>
3546
3547
3548+/**
3549+
3550+--doc:class OptionSelectorFilter
3551+ *
3552+ * A selection filter that displays a list of choices and allows one or more of them to be selected
3553+ *
3554+ * @module ScopeJS
3555+ * @class OptionSelectorFilter
3556+--/doc:class
3557+
3558+--doc:constructor
3559+ *
3560+ * @constructor
3561+ * @param id {String} A unique identifier for the filter that can be used to identify it later among several filters
3562+ * @param label {String} A display label for the filter
3563+ * @param multi_select {Boolean} If true, the filter permits more than option to be selected; otherwise, only a single option can be selected
3564+--/doc:constructor
3565+
3566+--doc:prototype OptionSelectorFilter
3567+
3568+--doc:member
3569+ * Get the label of this filter
3570+ * @method label
3571+ * @return {String} label of this filter
3572+--doc:/member
3573+label: function() {
3574+}
3575+--/doc:member
3576+
3577+--doc:member
3578+ * Check if this filter supports multiple options to be selected
3579+ * @method multi_select
3580+ * @return {Boolean} True if this filter multiple options to be selected
3581+--doc:/member
3582+multi_select: function() {
3583+}
3584+--/doc:member
3585+
3586+--doc:member
3587+ * Add a new option to this filter
3588+ * @method add_option
3589+ * @return FilterOption The added filter option
3590+--doc:/member
3591+add_option: function() {
3592+}
3593+--/doc:member
3594+
3595+--doc:member
3596+ * Get all options of this filter, in the order they were added
3597+ * @method options
3598+ * @return {Array of FilterOption}
3599+--doc:/member
3600+options: function() {
3601+}
3602+--/doc:member
3603+
3604+--doc:member
3605+ * Check if an option is active for this filter
3606+ * @method has_active_option
3607+ * @param filter_state FilterState
3608+ * @return {Boolean} True if an option is active for this filter
3609+--doc:/member
3610+has_active_option: function(filter_state) {
3611+}
3612+--/doc:member
3613+
3614+--doc:member
3615+ * Get active options from an instance of FilterState for this filter
3616+ * @method active_options
3617+ * @param filter_state FilterState
3618+ * @return {Array of FilterOption} LIst of active FilterOption
3619+--doc:/member
3620+active_options: function() {
3621+}
3622+--/doc:member
3623+
3624+--doc:member
3625+ * Marks given FilterOption of this filter instance as active (or not active) in a FilterState object.
3626+ * Records the given FilterOption as "selected" in the FilterState. This is meant to be used to modify a FilterState received with a search request before sending it back to the client (UI shell).
3627+ * @method update_state
3628+ * @param filter_state {FilterState}
3629+ * @param option {FilterOption}
3630+ * @param active {Boolean}
3631+--doc:/member
3632+update_state: function(filter_state, option, active) {
3633+}
3634+--/doc:member
3635+
3636+--doc:member
3637+ * Sets display hints for the Shell UI
3638+ * @method set_display_hints
3639+ * @param hints {int} 0 is Default filter hint, 1 is Primary filter hint
3640+--doc:/member
3641+set_display_hints: function(hints) {
3642+}
3643+--/doc:member
3644+
3645+--doc:member
3646+ * Get the identifier of this filter
3647+ * @method id
3648+ * @return {String} identifier of this filter
3649+--doc:/member
3650+id: function() {
3651+}
3652+--/doc:member
3653+
3654+--doc:member
3655+ * Get the type name of this filter
3656+ * @method filter_type
3657+ * @return {String} type name of this filter
3658+--doc:/member
3659+filter_type: function() {
3660+}
3661+--/doc:member
3662+
3663+--/doc:prototype
3664+
3665+ */
3666+
3667+
3668 class OptionSelectorFilter
3669 {
3670 public:

Subscribers

People subscribed via source and target branches

to all changes: