From 98437b900524ec958477c8167e4d067ce788d4d2 Mon Sep 17 00:00:00 2001 From: Jeremy Grelle Date: Mon, 13 Oct 2008 17:51:21 +0000 Subject: [PATCH] SWF-906 - Upgrade to Dojo 1.2 - Clean Commit --- .../resources/META-INF/dojo/resources/LICENSE | 30 +++ .../META-INF/dojo/resources/_modules.js | 7 + .../META-INF/dojo/resources/blank.gif | Bin 0 -> 43 bytes .../META-INF/dojo/resources/blank.html | 1 + .../resources/META-INF/dojo/resources/dnd.css | 9 + .../META-INF/dojo/resources/dojo.css | 197 ++++++++++++++++++ .../dojo/resources/iframe_history.html | 79 +++++++ .../dojo/resources/images/dndCopy.png | Bin 0 -> 814 bytes .../dojo/resources/images/dndMove.png | Bin 0 -> 785 bytes .../dojo/resources/images/dndNoCopy.png | Bin 0 -> 756 bytes .../dojo/resources/images/dndNoMove.png | Bin 0 -> 750 bytes .../META-INF/dojo/rpc/JsonService.js | 8 + .../META-INF/dojo/rpc/JsonpService.js | 8 + .../resources/META-INF/dojo/rpc/RpcService.js | 8 + 14 files changed, 347 insertions(+) create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/LICENSE create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/_modules.js create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/blank.gif create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/blank.html create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/dnd.css create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/dojo.css create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/iframe_history.html create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/images/dndCopy.png create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/images/dndMove.png create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/images/dndNoCopy.png create mode 100644 spring-js/src/main/resources/META-INF/dojo/resources/images/dndNoMove.png create mode 100644 spring-js/src/main/resources/META-INF/dojo/rpc/JsonService.js create mode 100644 spring-js/src/main/resources/META-INF/dojo/rpc/JsonpService.js create mode 100644 spring-js/src/main/resources/META-INF/dojo/rpc/RpcService.js diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/LICENSE b/spring-js/src/main/resources/META-INF/dojo/resources/LICENSE new file mode 100644 index 00000000..eb28b7e4 --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/resources/LICENSE @@ -0,0 +1,30 @@ +License Disclaimer: + +All contents of this directory are Copyright (c) the Dojo Foundation, with the +following exceptions: +------------------------------------------------------------------------------- + +dojo.css: + * parts Copyright (c) 2007, Yahoo! Inc. All rights reserved. + Distributed under the terms of the BSD License + +The Program includes all or portions of the following software which was obtained under the terms and conditions of the BSD License. + +http://developer.yahoo.com/yui/license.html + +Copyright (c) 2007, Yahoo! Inc. + All rights reserved. + Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without +specific prior written permission of Yahoo! Inc. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/_modules.js b/spring-js/src/main/resources/META-INF/dojo/resources/_modules.js new file mode 100644 index 00000000..9490cbca --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/resources/_modules.js @@ -0,0 +1,7 @@ +/* + Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + + diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/blank.gif b/spring-js/src/main/resources/META-INF/dojo/resources/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..e565824aafafe632011b281cba976baf8b3ba89a GIT binary patch literal 43 qcmZ?wbhEHbWMp7uXkcLY4+e@qSs1y10y+#p0Fq%~V)9{Rum%7ZWeN!Z literal 0 HcmV?d00001 diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/blank.html b/spring-js/src/main/resources/META-INF/dojo/resources/blank.html new file mode 100644 index 00000000..40fe7705 --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/resources/blank.html @@ -0,0 +1 @@ + diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/dnd.css b/spring-js/src/main/resources/META-INF/dojo/resources/dnd.css new file mode 100644 index 00000000..b9fac474 --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/resources/dnd.css @@ -0,0 +1,9 @@ +/* DnD avatar-specific settings */ +.dojoDndAvatar {font-size: 75%; color: black;} +.dojoDndAvatarHeader td {padding-left: 20px; padding-right: 4px;} +.dojoDndAvatarHeader {background: #ccc;} +.dojoDndAvatarItem {background: #eee;} +.dojoDndMove .dojoDndAvatarHeader {background-image: url(images/dndNoMove.png); background-repeat: no-repeat;} +.dojoDndCopy .dojoDndAvatarHeader {background-image: url(images/dndNoCopy.png); background-repeat: no-repeat;} +.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndMove.png); background-repeat: no-repeat;} +.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndCopy.png); background-repeat: no-repeat;} diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/dojo.css b/spring-js/src/main/resources/META-INF/dojo/resources/dojo.css new file mode 100644 index 00000000..12be14c8 --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/resources/dojo.css @@ -0,0 +1,197 @@ +/* + dojo.css + Baseline CSS file for general usage. + + This file is intended to be a "quick and dirty" stylesheet you can use to give + a straight-up web page some basic styling without having to do the dirty work + yourself. It includes a modified version of YUI's reset.css (we pulled some + of the list reset definitions, among other things), and then provides some very + basic style rules to be applied to general HTML elements. + + This stylesheet is NOT intended to serve as the foundation for more complex things-- + including the use of a TABLE for layout purposes. The table definitions in this + file make the assumption that you will be using tables for thier declared purpose: + displaying tabular data. + + If you are looking for a baseline stylesheet using tables for grid layout, you will + need to supply your own layout rules to override the ones in this stylesheet. + + Applications using Dojo will function correctly without including this + file, but it should provide sane defaults for many common things that page + authors often need to set up manually. + + The Dojo Core uses this stylesheet to quickly style HTML-based tests and demos. Feel + free to use it as you will. +*/ + +/*****************************************************************************************/ + +/* + The below are borrowed from YUI's reset style sheets for pages and fonts. + We've verified w/ the YUI development team that these are entirely + copyright Yahoo, written entirely by Nate Koechley and Matt Sweeney without + external contributions. + + Copyright (c) 2007, Yahoo! Inc. All rights reserved. + Code licensed under the BSD License: + http://developer.yahoo.net/yui/license.txt + version: 2.2.1 +*/ + +body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { + margin: 0; + padding: 0; +} + +fieldset, img { + border: 0 none; +} + +address, caption, cite, code, dfn, th, var { + font-style: normal; + font-weight: normal; +} + +caption, th { + text-align: left; +} + +q:before, q:after { + content:""; +} + +abbr, acronym { + border:0; +} +/* End YUI imported code. */ + +/*****************************************************************************************/ + +/* + Begin Dojo additions. + + Style definitions, based loosely on the Dijit Tundra theme. + Relative unit calculations based on "Compose to a Vertical Rhythm", + by Richard Rutter (http://24ways.org/2006/compose-to-a-vertical-rhythm) + + If changing the font size, make sure you do it in both + percent and px (% for IE, px for everything else). + % value based on default size of 16px (in most browsers). + So if you want the default size to be 14px, set the + % to 87% (14 / 16 = 0.875). + + Typical values: + 10px: 62.5% + 11px: 69% (68.75) + 12px: 75% + 13px: 81.25% + 14px: 87.5% + 16px: 100% + + Default: 12px +*/ +body { + font: 12px Myriad,Helvetica,Tahoma,Arial,clean,sans-serif; + *font-size: 75%; +} + +/* Headings */ +h1 { + font-size: 1.5em; + font-weight: normal; + line-height: 1em; + margin-top: 1em; + margin-bottom:0; +} + +h2 { + font-size: 1.1667em; + font-weight: bold; + line-height: 1.286em; + margin-top: 1.929em; + margin-bottom:0.643em; +} + +h3, h4, h5, h6 { + font-size: 1em; + font-weight: bold; + line-height: 1.5em; + margin-top: 1.5em; + margin-bottom: 0; +} + +/* paragraphs, quotes and lists */ +p { + font-size: 1em; + margin-top: 1.5em; + margin-bottom: 1.5em; + line-height: 1.5em; +} + +blockquote { + font-size: 0.916em; + margin-top: 3.272em; + margin-bottom: 3.272em; + line-height: 1.636em; + padding: 1.636em; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + +ol li, ul li { + font-size: 1em; + line-height: 1.5em; + margin: 0; +} + +/* pre and code */ +pre, code { + font-size:115%; + *font-size:100%; + font-family: Courier, "Courier New"; + background-color: #efefef; + border: 1px solid #ccc; +} + +pre { + border-width: 1px 0; + padding: 1.5em; +} + +/* + Tables + + Note that these table definitions make the assumption that you are using tables + to display tabular data, and NOT using tables as layout mechanisms. If you are + using tables for layout, you will probably want to override these rules with + more specific ones. + + These definitions make tabular data look presentable, particularly when presented + inline with paragraphs. +*/ +table { font-size:100%; } + +table.dojoTabular { + border-collapse: collapse; + border-spacing: 0; + border: 1px solid #ccc; + margin: 0 1.5em; +} + +.dojoTabular th { + text-align: center; + font-weight: bold; +} + +table.dojoTabular thead, table.dojoTabular tfoot { + background-color: #efefef; + border: 1px solid #ccc; + border-width: 1px 0; +} + +table.dojoTabular thead tr th, +table.dojoTabular thead tr td, +table.dojoTabular tbody tr td, +table.dojoTabular tfoot tr td { + padding: 0.25em 0.5em; +} diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/iframe_history.html b/spring-js/src/main/resources/META-INF/dojo/resources/iframe_history.html new file mode 100644 index 00000000..aee368f8 --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/resources/iframe_history.html @@ -0,0 +1,79 @@ + + + + + + + + + +

The Dojo Toolkit -- iframe_history.html

+ +

This file is used in Dojo's back/fwd button management.

+ + diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/images/dndCopy.png b/spring-js/src/main/resources/META-INF/dojo/resources/images/dndCopy.png new file mode 100644 index 0000000000000000000000000000000000000000..660ca4fb10fc1a0a26bd6235a45395031d7e634e GIT binary patch literal 814 zcmV+}1JV46P)P}>M7A(51bsWI_m(WQiniHU*6AJCmEV`AdMUtm&QxDr?p zR^4G@6A_F_jnPtDzN`&G%UC{2A<*e`X5RC4N}A$|JDK-p^3FZ?o_pWr@V~Xf2OB~z zuhZ}Bbh;=d*py{?YhgQzJ%rgCYlL$R-y*JJ`oZJ-fxAPuku9%dqnJZkD}!SwE4AX+ z=im4i`4K@J4;fx-BoHx(`0KZ?`cirdscZ@rQb8fL2hGr7@d!{=h8HN#iyip#=IbJf z5pR`*H{Ds}s`FfN7Au=8AcUZ~)Pkkwt4P1dz^1lBH#C%v6vVfGqU({T4+EI4y7I8Y zHxdj4mRRK7g8~d=~mgU)(J|wV*Xc&RigsR)F>BOZQ2pCbPhWFIW=o)E-n>e=k2g+5~L=nPGH-& z!BKEP;CZYctV3-lP}w7O3x00!Nk6?jd7@NzzGIQl``B; zH%@Ck7kUB8T4(_*J9~NAEp)p+uFc}v{8KoZoKTtGZhH?#dPhu$spJ%r+ewJLh;$*1 zx%4N1DYOvCmRw>ddSg@w@`S@=a?&i+VfhI6x`yfmaqo7kzE+QVn#AesBLFUK+9i5U4+rmXF2h?Z6nK3qOI&i@1$0P;;ggN~w;y#N3J07*qoM6N<$f)S>15&!@I literal 0 HcmV?d00001 diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/images/dndMove.png b/spring-js/src/main/resources/META-INF/dojo/resources/images/dndMove.png new file mode 100644 index 0000000000000000000000000000000000000000..74af29c08938f718f4238fb5c4f09f6750ae56dc GIT binary patch literal 785 zcmV+s1Md8ZP)7j^8B~!ytm5eA`Qiz4Q=^ARmoN zP$MF=^-@`wf2T=GrHG1(HOKDe{@%OWckgvNtB20v+;cgc-|su;eBU9mEF&xXtVD56 zz7n2BXLYmXU|pFKSlF0b8z27ePcFij`X-McM@W`{5W?@jik{n-Z@JyB8(6|JRuW4P zWf4X$A0?6rAKwkiU432sp=W4gI7!8+A0B*Z8wot^cx@Xe69|MR!7)|97J~&x47GT( zIRK+RAGTBtIy>5DR-Z@?g@hE{1f&i0yV@_fIm#iGNy2KZ!9Cl3$V}a%=b_W-)G8%O zQva*PDm?Cd&==~JFVU?*daAAUiaVZ4AQ;<3Ie$n6XGMrd5RWHRi^QX8!Jr zuOufaHOn5`nG*~gL=h>5&+#aCMvNc~A)#4#+efwp=?#!WOQu`bYuemE0IK$Sp*4&<$~+M^#ZZf?C>@s;2lGK!SOxGQ^GiMi%?n+*nxy+K|x$2 z#Ex$J-MZ^DE3=>r6qDZ39TFv(-l2cBAzNjYlzWJ7ieK=BN5TNR>Wn3W25-}DI|{B! z1E_Xb^GYuH0f=kxQQ3sy<$=|gYBJp=2_-|jy6^!TjiXkXZIjt@eTO^IdiXN^>cTuX(K-S9|!A|4M=9mq! zlPB0RiE{eSZ3JxWyq|EQ7#`MpGmJ2+CC9LidH4~84-NQ?x7vUe`7OWzEFUyg!Q)dC P00000NkvXXu0mjf^aNqO literal 0 HcmV?d00001 diff --git a/spring-js/src/main/resources/META-INF/dojo/resources/images/dndNoCopy.png b/spring-js/src/main/resources/META-INF/dojo/resources/images/dndNoCopy.png new file mode 100644 index 0000000000000000000000000000000000000000..87f3aa0d544d937aca0d0971ca6473536067f8d2 GIT binary patch literal 756 zcmVW|B!}-t*2l8Dntah0FUq_nvp}c??~41&Bw0nRA>c2K@er zq`h6kD6R^TE&z)wz>CiNtYfat0L#~-gUPY@1X|nMsFzBxT21GYR8@Q^f5THNqkaEgmuy!ASo|^uZ?Qzs7~59U5$>MI_UsDf86kB zONTnk-iC}(ik8RI4YC|%JgG|4VIkX3aK{FDnKIvkm}+!=CeLn?JkNm790N-b*~ss# mtVmxu{T^cRe%E*YCBOj0;UPPkN^gAt0000q8Rp>%+=~@^5fVvbB9~hxA zLP1-LA_(?fG=kllgs|? zK>u!iP3O9BgCPyyzbzErSf!DVz`zwDo})&XAAm8YUj|FJCp%K{bA7<{TkzQr5Zr+h zs)vX~F*o#3Je_%&>4)ehoKwNc&sIP`4`rg~!leXz@(9b*Q-G>MI1U0^V$fR?C=U-q z3$BLKoIqwMJJ|;(DTAop)IujXfI=Xl^7+gxit=} zTm}o)!I+w?%@J$@SwF3ca&K>%7NQzs+X$=eQuHqK{R|KcqUp=$6=2FNb`Yytk$HJn zAA-wmv@o?xTdV1jrG>9(`BB0@rCQqGM@lYtIAjSlAq<66HEf$G-nxVT7272YCDeus zt;p?phpCb5$!;7$8iC#uD=wQiZljiia0M(Byc zgQ)b8&H|%Kp4xMcbI3~jLHy@1&ldI6@K$-ZKsrZQg$!el9p@hN9DWd<%fY-}rSGdB zl#^1Y+@)o#V&4O-ItWZ00(J)I?0T1753pfl7{$dRG!OiMCgma^TiMp+J86(ivL`Jd z-3A1Ww(gao#Mu6X>j?7fA+XV4e~-LIDOk gfM<&}3H>F&0BIT?88b(KE&u=k07*qoM6N<$f*0#WY5)KL literal 0 HcmV?d00001 diff --git a/spring-js/src/main/resources/META-INF/dojo/rpc/JsonService.js b/spring-js/src/main/resources/META-INF/dojo/rpc/JsonService.js new file mode 100644 index 00000000..9c85d69f --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/rpc/JsonService.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + + +if(!dojo._hasResource["dojo.rpc.JsonService"]){dojo._hasResource["dojo.rpc.JsonService"]=true;dojo.provide("dojo.rpc.JsonService");dojo.require("dojo.rpc.RpcService");dojo.declare("dojo.rpc.JsonService",dojo.rpc.RpcService,{bustCache:false,contentType:"application/json-rpc",lastSubmissionId:0,callRemote:function(_1,_2){var _3=new dojo.Deferred();this.bind(_1,_2,_3);return _3;},bind:function(_4,_5,_6,_7){var _8=dojo.rawXhrPost({url:_7||this.serviceUrl,postData:this.createRequest(_4,_5),contentType:this.contentType,timeout:this.timeout,handleAs:"json-comment-optional"});_8.addCallbacks(this.resultCallback(_6),this.errorCallback(_6));},createRequest:function(_9,_a){var _b={"params":_a,"method":_9,"id":++this.lastSubmissionId};var _c=dojo.toJson(_b);return _c;},parseResults:function(_d){if(dojo.isObject(_d)){if("result" in _d){return _d.result;}if("Result" in _d){return _d.Result;}if("ResultSet" in _d){return _d.ResultSet;}}return _d;}});} \ No newline at end of file diff --git a/spring-js/src/main/resources/META-INF/dojo/rpc/JsonpService.js b/spring-js/src/main/resources/META-INF/dojo/rpc/JsonpService.js new file mode 100644 index 00000000..59edabe8 --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/rpc/JsonpService.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + + +if(!dojo._hasResource["dojo.rpc.JsonpService"]){dojo._hasResource["dojo.rpc.JsonpService"]=true;dojo.provide("dojo.rpc.JsonpService");dojo.require("dojo.rpc.RpcService");dojo.require("dojo.io.script");dojo.declare("dojo.rpc.JsonpService",dojo.rpc.RpcService,{constructor:function(_1,_2){if(this.required){if(_2){dojo.mixin(this.required,_2);}dojo.forEach(this.required,function(_3){if(_3==""||_3==undefined){throw new Error("Required Service Argument not found: "+_3);}});}},strictArgChecks:false,bind:function(_4,_5,_6,_7){var _8=dojo.io.script.get({url:_7||this.serviceUrl,callbackParamName:this.callbackParamName||"callback",content:this.createRequest(_5),timeout:this.timeout,handleAs:"json",preventCache:true});_8.addCallbacks(this.resultCallback(_6),this.errorCallback(_6));},createRequest:function(_9){var _a=(dojo.isArrayLike(_9)&&_9.length==1)?_9[0]:{};dojo.mixin(_a,this.required);return _a;}});} \ No newline at end of file diff --git a/spring-js/src/main/resources/META-INF/dojo/rpc/RpcService.js b/spring-js/src/main/resources/META-INF/dojo/rpc/RpcService.js new file mode 100644 index 00000000..29abdbac --- /dev/null +++ b/spring-js/src/main/resources/META-INF/dojo/rpc/RpcService.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + + +if(!dojo._hasResource["dojo.rpc.RpcService"]){dojo._hasResource["dojo.rpc.RpcService"]=true;dojo.provide("dojo.rpc.RpcService");dojo.declare("dojo.rpc.RpcService",null,{constructor:function(_1){if(_1){if((dojo.isString(_1))||(_1 instanceof dojo._Url)){if(_1 instanceof dojo._Url){var _2=_1+"";}else{_2=_1;}var _3=dojo.xhrGet({url:_2,handleAs:"json-comment-optional",sync:true});_3.addCallback(this,"processSmd");_3.addErrback(function(){throw new Error("Unable to load SMD from "+_1);});}else{if(_1.smdStr){this.processSmd(dojo.eval("("+_1.smdStr+")"));}else{if(_1.serviceUrl){this.serviceUrl=_1.serviceUrl;}this.timeout=_1.timeout||3000;if("strictArgChecks" in _1){this.strictArgChecks=_1.strictArgChecks;}this.processSmd(_1);}}}},strictArgChecks:true,serviceUrl:"",parseResults:function(_4){return _4;},errorCallback:function(_5){return function(_6){_5.errback(_6.message);};},resultCallback:function(_7){var tf=dojo.hitch(this,function(_9){if(_9.error!=null){var _a;if(typeof _9.error=="object"){_a=new Error(_9.error.message);_a.code=_9.error.code;_a.error=_9.error.error;}else{_a=new Error(_9.error);}_a.id=_9.id;_a.errorObject=_9;_7.errback(_a);}else{_7.callback(this.parseResults(_9));}});return tf;},generateMethod:function(_b,_c,_d){return dojo.hitch(this,function(){var _e=new dojo.Deferred();if((this.strictArgChecks)&&(_c!=null)&&(arguments.length!=_c.length)){throw new Error("Invalid number of parameters for remote method.");}else{this.bind(_b,dojo._toArray(arguments),_e,_d);}return _e;});},processSmd:function(_f){if(_f.methods){dojo.forEach(_f.methods,function(m){if(m&&m.name){this[m.name]=this.generateMethod(m.name,m.parameters,m.url||m.serviceUrl||m.serviceURL);if(!dojo.isFunction(this[m.name])){throw new Error("RpcService: Failed to create"+m.name+"()");}}},this);}this.serviceUrl=_f.serviceUrl||_f.serviceURL;this.required=_f.required;this.smd=_f;}});} \ No newline at end of file