SWF-906 - Upgrade to Dojo 1.2 - Clean Commit
This commit is contained in:
@@ -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.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_1){this.pairs=[];this.returnWrappers=_1||false;};dojo.extend(dojo.AdapterRegistry,{register:function(_2,_3,_4,_5,_6){this.pairs[((_6)?"unshift":"push")]([_2,_3,_4,_5]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _8=this.pairs[i];if(_8[1].apply(this,arguments)){if((_8[3])||(this.returnWrappers)){return _8[2];}else{return _8[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_9){for(var i=0;i<this.pairs.length;i++){var _b=this.pairs[i];if(_b[0]==_9){this.pairs.splice(i,1);return true;}}return false;}});}
|
||||
@@ -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.DeferredList"]){dojo._hasResource["dojo.DeferredList"]=true;dojo.provide("dojo.DeferredList");dojo.declare("dojo.DeferredList",dojo.Deferred,{constructor:function(_1,_2,_3,_4,_5){this.list=_1;this.resultList=new Array(this.list.length);this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_5;this.silentlyCancelled=false;if(this.list.length===0&&!_2){this.callback(this.resultList);}this.finishedCount=0;this.fireOnOneCallback=_2;this.fireOnOneErrback=_3;this.consumeErrors=_4;dojo.forEach(this.list,function(d,_7){d.addCallback(this,function(r){this._cbDeferred(_7,true,r);return r;});d.addErrback(this,function(r){this._cbDeferred(_7,false,r);return r;});},this);},_cbDeferred:function(_a,_b,_c){this.resultList[_a]=[_b,_c];this.finishedCount+=1;if(this.fired!==0){if(_b&&this.fireOnOneCallback){this.callback([_a,_c]);}else{if(!_b&&this.fireOnOneErrback){this.errback(_c);}else{if(this.finishedCount==this.list.length){this.callback(this.resultList);}}}}if(!_b&&this.consumeErrors){_c=null;}return _c;},gatherResults:function(_d){var d=new dojo.DeferredList(_d,false,true,false);d.addCallback(function(_f){var ret=[];dojo.forEach(_f,function(_11){ret.push(_11[1]);});return ret;});return d;}});}
|
||||
195
spring-js/src/main/resources/META-INF/dojo/LICENSE
Normal file
195
spring-js/src/main/resources/META-INF/dojo/LICENSE
Normal file
@@ -0,0 +1,195 @@
|
||||
Dojo is available under *either* the terms of the modified BSD license *or* the
|
||||
Academic Free License version 2.1. As a recipient of Dojo, you may choose which
|
||||
license to receive this code under (except as noted in per-module LICENSE
|
||||
files). Some modules may not be the copyright of the Dojo Foundation. These
|
||||
modules contain explicit declarations of copyright in both the LICENSE files in
|
||||
the directories in which they reside and in the code itself. No external
|
||||
contributions are allowed under licenses which are fundamentally incompatible
|
||||
with the AFL or BSD licenses that Dojo is distributed under.
|
||||
|
||||
The text of the AFL and BSD licenses is reproduced below.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The "New" BSD License:
|
||||
**********************
|
||||
|
||||
Copyright (c) 2005-2008, The Dojo Foundation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use 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 the Dojo Foundation nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The Academic Free License, v. 2.1:
|
||||
**********************************
|
||||
|
||||
This Academic Free License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
following notice immediately following the copyright notice for the Original
|
||||
Work:
|
||||
|
||||
Licensed under the Academic Free License version 2.1
|
||||
|
||||
1) Grant of Copyright License. Licensor hereby grants You a world-wide,
|
||||
royalty-free, non-exclusive, perpetual, sublicenseable license to do the
|
||||
following:
|
||||
|
||||
a) to reproduce the Original Work in copies;
|
||||
|
||||
b) to prepare derivative works ("Derivative Works") based upon the Original
|
||||
Work;
|
||||
|
||||
c) to distribute copies of the Original Work and Derivative Works to the
|
||||
public;
|
||||
|
||||
d) to perform the Original Work publicly; and
|
||||
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor hereby grants You a world-wide,
|
||||
royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
|
||||
claims owned or controlled by the Licensor that are embodied in the Original
|
||||
Work as furnished by the Licensor, to make, use, sell and offer for sale the
|
||||
Original Work and Derivative Works.
|
||||
|
||||
3) Grant of Source Code License. The term "Source Code" means the preferred
|
||||
form of the Original Work for making modifications to it and all available
|
||||
documentation describing how to modify the Original Work. Licensor hereby
|
||||
agrees to provide a machine-readable copy of the Source Code of the Original
|
||||
Work along with each copy of the Original Work that Licensor distributes.
|
||||
Licensor reserves the right to satisfy this obligation by placing a
|
||||
machine-readable copy of the Source Code in an information repository
|
||||
reasonably calculated to permit inexpensive and convenient access by You for as
|
||||
long as Licensor continues to distribute the Original Work, and by publishing
|
||||
the address of that information repository in a notice immediately following
|
||||
the copyright notice that applies to the Original Work.
|
||||
|
||||
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
|
||||
of any contributors to the Original Work, nor any of their trademarks or
|
||||
service marks, may be used to endorse or promote products derived from this
|
||||
Original Work without express prior written permission of the Licensor. Nothing
|
||||
in this License shall be deemed to grant any rights to trademarks, copyrights,
|
||||
patents, trade secrets or any other intellectual property of Licensor except as
|
||||
expressly stated herein. No patent license is granted to make, use, sell or
|
||||
offer to sell embodiments of any patent claims other than the licensed claims
|
||||
defined in Section 2. No right is granted to the trademarks of Licensor even if
|
||||
such marks are included in the Original Work. Nothing in this License shall be
|
||||
interpreted to prohibit Licensor from licensing under different terms from this
|
||||
License any Original Work that Licensor otherwise would have a right to
|
||||
license.
|
||||
|
||||
5) This section intentionally omitted.
|
||||
|
||||
6) Attribution Rights. You must retain, in the Source Code of any Derivative
|
||||
Works that You create, all copyright, patent or trademark notices from the
|
||||
Source Code of the Original Work, as well as any notices of licensing and any
|
||||
descriptive text identified therein as an "Attribution Notice." You must cause
|
||||
the Source Code for any Derivative Works that You create to carry a prominent
|
||||
Attribution Notice reasonably calculated to inform recipients that You have
|
||||
modified the Original Work.
|
||||
|
||||
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
|
||||
the copyright in and to the Original Work and the patent rights granted herein
|
||||
by Licensor are owned by the Licensor or are sublicensed to You under the terms
|
||||
of this License with the permission of the contributor(s) of those copyrights
|
||||
and patent rights. Except as expressly stated in the immediately proceeding
|
||||
sentence, the Original Work is provided under this License on an "AS IS" BASIS
|
||||
and WITHOUT WARRANTY, either express or implied, including, without limitation,
|
||||
the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
|
||||
This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
|
||||
license to Original Work is granted hereunder except under this disclaimer.
|
||||
|
||||
8) Limitation of Liability. Under no circumstances and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise, shall the
|
||||
Licensor be liable to any person for any direct, indirect, special, incidental,
|
||||
or consequential damages of any character arising as a result of this License
|
||||
or the use of the Original Work including, without limitation, damages for loss
|
||||
of goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses. This limitation of liability shall not
|
||||
apply to liability for death or personal injury resulting from Licensor's
|
||||
negligence to the extent applicable law prohibits such limitation. Some
|
||||
jurisdictions do not allow the exclusion or limitation of incidental or
|
||||
consequential damages, so this exclusion and limitation may not apply to You.
|
||||
|
||||
9) Acceptance and Termination. If You distribute copies of the Original Work or
|
||||
a Derivative Work, You must make a reasonable effort under the circumstances to
|
||||
obtain the express assent of recipients to the terms of this License. Nothing
|
||||
else but this License (or another written agreement between Licensor and You)
|
||||
grants You permission to create Derivative Works based upon the Original Work
|
||||
or to exercise any of the rights granted in Section 1 herein, and any attempt
|
||||
to do so except under the terms of this License (or another written agreement
|
||||
between Licensor and You) is expressly prohibited by U.S. copyright law, the
|
||||
equivalent laws of other countries, and by international treaty. Therefore, by
|
||||
exercising any of the rights granted to You in Section 1 herein, You indicate
|
||||
Your acceptance of this License and all of its terms and conditions.
|
||||
|
||||
10) Termination for Patent Action. This License shall terminate automatically
|
||||
and You may no longer exercise any of the rights granted to You by this License
|
||||
as of the date You commence an action, including a cross-claim or counterclaim,
|
||||
against Licensor or any licensee alleging that the Original Work infringes a
|
||||
patent. This termination provision shall not apply for an action alleging
|
||||
patent infringement by combinations of the Original Work with other software or
|
||||
hardware.
|
||||
|
||||
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
|
||||
License may be brought only in the courts of a jurisdiction wherein the
|
||||
Licensor resides or in which Licensor conducts its primary business, and under
|
||||
the laws of that jurisdiction excluding its conflict-of-law provisions. The
|
||||
application of the United Nations Convention on Contracts for the International
|
||||
Sale of Goods is expressly excluded. Any use of the Original Work outside the
|
||||
scope of this License or after its termination shall be subject to the
|
||||
requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et
|
||||
seq., the equivalent laws of other countries, and international treaty. This
|
||||
section shall survive the termination of this License.
|
||||
|
||||
12) Attorneys Fees. In any action to enforce the terms of this License or
|
||||
seeking damages relating thereto, the prevailing party shall be entitled to
|
||||
recover its costs and expenses, including, without limitation, reasonable
|
||||
attorneys' fees and costs incurred in connection with such action, including
|
||||
any appeal of such action. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
13) Miscellaneous. This License represents the complete agreement concerning
|
||||
the subject matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent necessary to
|
||||
make it enforceable.
|
||||
|
||||
14) Definition of "You" in This License. "You" throughout this License, whether
|
||||
in upper or lower case, means an individual or a legal entity exercising rights
|
||||
under, and complying with all of the terms of, this License. For legal
|
||||
entities, "You" includes any entity that controls, is controlled by, or is
|
||||
under common control with you. For purposes of this definition, "control" means
|
||||
(i) the power, direct or indirect, to cause the direction or management of such
|
||||
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
|
||||
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
|
||||
entity.
|
||||
|
||||
15) Right to Use. You may use the Original Work in all ways not otherwise
|
||||
restricted or conditioned by this License or by law, and Licensor promises not
|
||||
to interfere with or be responsible for such uses by You.
|
||||
|
||||
This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved.
|
||||
Permission is hereby granted to copy and distribute this license without
|
||||
modification. This license may not be modified without the express written
|
||||
permission of its copyright owner.
|
||||
@@ -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.NodeList-fx"]){dojo._hasResource["dojo.NodeList-fx"]=true;dojo.provide("dojo.NodeList-fx");dojo.require("dojo.fx");dojo.extend(dojo.NodeList,{_anim:function(_1,_2,_3){_3=_3||{};return dojo.fx.combine(this.map(function(_4){var _5={node:_4};dojo.mixin(_5,_3);return _1[_2](_5);}));},wipeIn:function(_6){return this._anim(dojo.fx,"wipeIn",_6);},wipeOut:function(_7){return this._anim(dojo.fx,"wipeOut",_7);},slideTo:function(_8){return this._anim(dojo.fx,"slideTo",_8);},fadeIn:function(_9){return this._anim(dojo,"fadeIn",_9);},fadeOut:function(_a){return this._anim(dojo,"fadeOut",_a);},animateProperty:function(_b){return this._anim(dojo,"animateProperty",_b);},anim:function(_c,_d,_e,_f,_10){var _11=dojo.fx.combine(this.map(function(_12){return dojo.animateProperty({node:_12,properties:_c,duration:_d||350,easing:_e});}));if(_f){dojo.connect(_11,"onEnd",_f);}return _11.play(_10||0);}});}
|
||||
@@ -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.NodeList-html"]){dojo._hasResource["dojo.NodeList-html"]=true;dojo.provide("dojo.NodeList-html");dojo.require("dojo.html");dojo.extend(dojo.NodeList,{html:function(_1,_2){var _3=new dojo.html._ContentSetter(_2||{});this.forEach(function(_4){_3.node=_4;_3.set(_1);_3.tearDown();});return this;}});}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/OpenAjax.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/OpenAjax.js
Normal file
@@ -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(!window["OpenAjax"]){OpenAjax=new function(){var t=true;var f=false;var g=window;var _4;var _5="org.openajax.hub.";var h={};this.hub=h;h.implementer="http://openajax.org";h.implVersion="0.6";h.specVersion="0.6";h.implExtraData={};var _4={};h.libraries=_4;h.registerLibrary=function(_7,_8,_9,_a){_4[_7]={prefix:_7,namespaceURI:_8,version:_9,extraData:_a};this.publish(_5+"registerLibrary",_4[_7]);};h.unregisterLibrary=function(_b){this.publish(_5+"unregisterLibrary",_4[_b]);delete _4[_b];};h._subscriptions={c:{},s:[]};h._cleanup=[];h._subIndex=0;h._pubDepth=0;h.subscribe=function(_c,_d,_e,_f,_10){if(!_e){_e=window;}var _11=_c+"."+this._subIndex;var sub={scope:_e,cb:_d,fcb:_10,data:_f,sid:this._subIndex++,hdl:_11};var _13=_c.split(".");this._subscribe(this._subscriptions,_13,0,sub);return _11;};h.publish=function(_14,_15){var _16=_14.split(".");this._pubDepth++;this._publish(this._subscriptions,_16,0,_14,_15);this._pubDepth--;if((this._cleanup.length>0)&&(this._pubDepth==0)){for(var i=0;i<this._cleanup.length;i++){this.unsubscribe(this._cleanup[i].hdl);}delete (this._cleanup);this._cleanup=[];}};h.unsubscribe=function(sub){var _19=sub.split(".");var sid=_19.pop();this._unsubscribe(this._subscriptions,_19,0,sid);};h._subscribe=function(_1b,_1c,_1d,sub){var _1f=_1c[_1d];if(_1d==_1c.length){_1b.s.push(sub);}else{if(typeof _1b.c=="undefined"){_1b.c={};}if(typeof _1b.c[_1f]=="undefined"){_1b.c[_1f]={c:{},s:[]};this._subscribe(_1b.c[_1f],_1c,_1d+1,sub);}else{this._subscribe(_1b.c[_1f],_1c,_1d+1,sub);}}};h._publish=function(_20,_21,_22,_23,msg){if(typeof _20!="undefined"){var _25;if(_22==_21.length){_25=_20;}else{this._publish(_20.c[_21[_22]],_21,_22+1,_23,msg);this._publish(_20.c["*"],_21,_22+1,_23,msg);_25=_20.c["**"];}if(typeof _25!="undefined"){var _26=_25.s;var max=_26.length;for(var i=0;i<max;i++){if(_26[i].cb){var sc=_26[i].scope;var cb=_26[i].cb;var fcb=_26[i].fcb;var d=_26[i].data;if(typeof cb=="string"){cb=sc[cb];}if(typeof fcb=="string"){fcb=sc[fcb];}if((!fcb)||(fcb.call(sc,_23,msg,d))){cb.call(sc,_23,msg,d);}}}}}};h._unsubscribe=function(_2d,_2e,_2f,sid){if(typeof _2d!="undefined"){if(_2f<_2e.length){var _31=_2d.c[_2e[_2f]];this._unsubscribe(_31,_2e,_2f+1,sid);if(_31.s.length==0){for(var x in _31.c){return;}delete _2d.c[_2e[_2f]];}return;}else{var _33=_2d.s;var max=_33.length;for(var i=0;i<max;i++){if(sid==_33[i].sid){if(this._pubDepth>0){_33[i].cb=null;this._cleanup.push(_33[i]);}else{_33.splice(i,1);}return;}}}}};h.reinit=function(){for(var lib in OpenAjax.hub.libraries){delete OpenAjax.hub.libraries[lib];}OpenAjax.hub.registerLibrary("OpenAjax","http://openajax.org/hub","0.6",{});delete OpenAjax._subscriptions;OpenAjax._subscriptions={c:{},s:[]};delete OpenAjax._cleanup;OpenAjax._cleanup=[];OpenAjax._subIndex=0;OpenAjax._pubDepth=0;};};OpenAjax.hub.registerLibrary("OpenAjax","http://openajax.org/hub","0.6",{});}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/_base.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base.js
Normal file
@@ -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._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");dojo.require("dojo._base.lang");dojo.require("dojo._base.declare");dojo.require("dojo._base.connect");dojo.require("dojo._base.Deferred");dojo.require("dojo._base.json");dojo.require("dojo._base.array");dojo.require("dojo._base.Color");dojo.requireIf(dojo.isBrowser,"dojo._base.browser");}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/back.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/back.js
Normal file
@@ -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.back"]){dojo._hasResource["dojo.back"]=true;dojo.provide("dojo.back");(function(){var _1=dojo.back;function getHash(){var h=window.location.hash;if(h.charAt(0)=="#"){h=h.substring(1);}return dojo.isMozilla?h:decodeURIComponent(h);};function setHash(h){if(!h){h="";}window.location.hash=encodeURIComponent(h);_4=history.length;};if(dojo.exists("tests.back-hash")){_1.getHash=getHash;_1.setHash=setHash;}var _5=(typeof (window)!=="undefined")?window.location.href:"";var _6=(typeof (window)!=="undefined")?getHash():"";var _7=null;var _8=null;var _9=null;var _a=null;var _b=[];var _c=[];var _d=false;var _e=false;var _4;function handleBackButton(){var _f=_c.pop();if(!_f){return;}var _10=_c[_c.length-1];if(!_10&&_c.length==0){_10=_7;}if(_10){if(_10.kwArgs["back"]){_10.kwArgs["back"]();}else{if(_10.kwArgs["backButton"]){_10.kwArgs["backButton"]();}else{if(_10.kwArgs["handle"]){_10.kwArgs.handle("back");}}}}_b.push(_f);};_1.goBack=handleBackButton;function handleForwardButton(){var _11=_b.pop();if(!_11){return;}if(_11.kwArgs["forward"]){_11.kwArgs.forward();}else{if(_11.kwArgs["forwardButton"]){_11.kwArgs.forwardButton();}else{if(_11.kwArgs["handle"]){_11.kwArgs.handle("forward");}}}_c.push(_11);};_1.goForward=handleForwardButton;function createState(url,_13,_14){return {"url":url,"kwArgs":_13,"urlHash":_14};};function getUrlQuery(url){var _16=url.split("?");if(_16.length<2){return null;}else{return _16[1];}};function loadIframeHistory(){var url=(dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html"))+"?"+(new Date()).getTime();_d=true;if(_a){dojo.isSafari?_a.location=url:window.frames[_a.name].location=url;}else{}return url;};function checkLocation(){if(!_e){var hsl=_c.length;var _19=getHash();if((_19===_6||window.location.href==_5)&&(hsl==1)){handleBackButton();return;}if(_b.length>0){if(_b[_b.length-1].urlHash===_19){handleForwardButton();return;}}if((hsl>=2)&&(_c[hsl-2])){if(_c[hsl-2].urlHash===_19){handleBackButton();return;}}if(dojo.isSafari&&dojo.isSafari<3){var _1a=history.length;if(_1a>_4){handleForwardButton();}else{if(_1a<_4){handleBackButton();}}_4=_1a;}}};_1.init=function(){if(dojo.byId("dj_history")){return;}var src=dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html");document.write("<iframe style=\"border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;\" name=\"dj_history\" id=\"dj_history\" src=\""+src+"\"></iframe>");};_1.setInitialState=function(_1c){_7=createState(_5,_1c,_6);};_1.addToHistory=function(_1d){_b=[];var _1e=null;var url=null;if(!_a){if(dojo.config["useXDomain"]&&!dojo.config["dojoIframeHistoryUrl"]){console.warn("dojo.back: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}_a=window.frames["dj_history"];}if(!_9){_9=document.createElement("a");dojo.body().appendChild(_9);_9.style.display="none";}if(_1d["changeUrl"]){_1e=""+((_1d["changeUrl"]!==true)?_1d["changeUrl"]:(new Date()).getTime());if(_c.length==0&&_7.urlHash==_1e){_7=createState(url,_1d,_1e);return;}else{if(_c.length>0&&_c[_c.length-1].urlHash==_1e){_c[_c.length-1]=createState(url,_1d,_1e);return;}}_e=true;setTimeout(function(){setHash(_1e);_e=false;},1);_9.href=_1e;if(dojo.isIE){url=loadIframeHistory();var _20=_1d["back"]||_1d["backButton"]||_1d["handle"];var tcb=function(_22){if(getHash()!=""){setTimeout(function(){setHash(_1e);},1);}_20.apply(this,[_22]);};if(_1d["back"]){_1d.back=tcb;}else{if(_1d["backButton"]){_1d.backButton=tcb;}else{if(_1d["handle"]){_1d.handle=tcb;}}}var _23=_1d["forward"]||_1d["forwardButton"]||_1d["handle"];var tfw=function(_25){if(getHash()!=""){setHash(_1e);}if(_23){_23.apply(this,[_25]);}};if(_1d["forward"]){_1d.forward=tfw;}else{if(_1d["forwardButton"]){_1d.forwardButton=tfw;}else{if(_1d["handle"]){_1d.handle=tfw;}}}}else{if(!dojo.isIE){if(!_8){_8=setInterval(checkLocation,200);}}}}else{url=loadIframeHistory();}_c.push(createState(url,_1d,_1e));};_1._iframeLoaded=function(evt,_27){var _28=getUrlQuery(_27.href);if(_28==null){if(_c.length==1){handleBackButton();}return;}if(_d){_d=false;return;}if(_c.length>=2&&_28==getUrlQuery(_c[_c.length-2].url)){handleBackButton();}else{if(_b.length>0&&_28==getUrlQuery(_b[_b.length-1].url)){handleForwardButton();}}};})();}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/behavior.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/behavior.js
Normal file
@@ -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.behavior"]){dojo._hasResource["dojo.behavior"]=true;dojo.provide("dojo.behavior");dojo.behavior=new function(){function arrIn(_1,_2){if(!_1[_2]){_1[_2]=[];}return _1[_2];};var _3=0;function forIn(_4,_5,_6){var _7={};for(var x in _4){if(typeof _7[x]=="undefined"){if(!_6){_5(_4[x],x);}else{_6.call(_5,_4[x],x);}}}};this._behaviors={};this.add=function(_9){var _a={};forIn(_9,this,function(_b,_c){var _d=arrIn(this._behaviors,_c);if(typeof _d["id"]!="number"){_d.id=_3++;}var _e=[];_d.push(_e);if((dojo.isString(_b))||(dojo.isFunction(_b))){_b={found:_b};}forIn(_b,function(_f,_10){arrIn(_e,_10).push(_f);});});};var _11=function(_12,_13,_14){if(dojo.isString(_13)){if(_14=="found"){dojo.publish(_13,[_12]);}else{dojo.connect(_12,_14,function(){dojo.publish(_13,arguments);});}}else{if(dojo.isFunction(_13)){if(_14=="found"){_13(_12);}else{dojo.connect(_12,_14,_13);}}}};this.apply=function(){forIn(this._behaviors,function(_15,id){dojo.query(id).forEach(function(_17){var _18=0;var bid="_dj_behavior_"+_15.id;if(typeof _17[bid]=="number"){_18=_17[bid];if(_18==(_15.length)){return;}}for(var x=_18,_1b;_1b=_15[x];x++){forIn(_1b,function(_1c,_1d){if(dojo.isArray(_1c)){dojo.forEach(_1c,function(_1e){_11(_17,_1e,_1d);});}});}_17[bid]=_15.length;});});};};dojo.addOnLoad(dojo.behavior,"apply");}
|
||||
70
spring-js/src/main/resources/META-INF/dojo/build.txt
Normal file
70
spring-js/src/main/resources/META-INF/dojo/build.txt
Normal file
@@ -0,0 +1,70 @@
|
||||
Files baked into this build:
|
||||
|
||||
dojo.js:
|
||||
./jslib/dojoGuardStart.jsfrag
|
||||
./../../dojo/_base/_loader/bootstrap.js
|
||||
./../../dojo/_base/_loader/loader.js
|
||||
./../../dojo/_base/_loader/hostenv_browser.js
|
||||
./../../release/dojo/dojo/_base/lang.js
|
||||
./../../release/dojo/dojo/_base/declare.js
|
||||
./../../release/dojo/dojo/_base/connect.js
|
||||
./../../release/dojo/dojo/_base/Deferred.js
|
||||
./../../release/dojo/dojo/_base/json.js
|
||||
./../../release/dojo/dojo/_base/array.js
|
||||
./../../release/dojo/dojo/_base/Color.js
|
||||
./../../release/dojo/dojo/_base.js
|
||||
./../../release/dojo/dojo/_base/window.js
|
||||
./../../release/dojo/dojo/_base/event.js
|
||||
./../../release/dojo/dojo/_base/html.js
|
||||
./../../release/dojo/dojo/_base/NodeList.js
|
||||
./../../release/dojo/dojo/_base/query.js
|
||||
./../../release/dojo/dojo/_base/xhr.js
|
||||
./../../release/dojo/dojo/_base/fx.js
|
||||
./../../release/dojo/dojo/_base/browser.js
|
||||
./../../release/dojo/dojo/i18n.js
|
||||
./../../release/dojo/dijit/_base/focus.js
|
||||
./../../release/dojo/dijit/_base/manager.js
|
||||
./../../release/dojo/dojo/AdapterRegistry.js
|
||||
./../../release/dojo/dijit/_base/place.js
|
||||
./../../release/dojo/dijit/_base/window.js
|
||||
./../../release/dojo/dijit/_base/popup.js
|
||||
./../../release/dojo/dijit/_base/scroll.js
|
||||
./../../release/dojo/dijit/_base/sniff.js
|
||||
./../../release/dojo/dijit/_base/typematic.js
|
||||
./../../release/dojo/dijit/_base/wai.js
|
||||
./../../release/dojo/dijit/_base.js
|
||||
./../../release/dojo/dijit/_Widget.js
|
||||
./../../release/dojo/dojo/string.js
|
||||
./../../release/dojo/dojo/date/stamp.js
|
||||
./../../release/dojo/dojo/parser.js
|
||||
./../../release/dojo/dijit/_Templated.js
|
||||
./../../release/dojo/dijit/form/_FormWidget.js
|
||||
./../../release/dojo/dijit/form/TextBox.js
|
||||
./../../release/dojo/dijit/Tooltip.js
|
||||
./../../release/dojo/dijit/form/ValidationTextBox.js
|
||||
./../../release/dojo/dojo/regexp.js
|
||||
./../../release/dojo/dojo/number.js
|
||||
./../../release/dojo/dijit/form/NumberTextBox.js
|
||||
./../../release/dojo/dojo/cldr/supplemental.js
|
||||
./../../release/dojo/dojo/date.js
|
||||
./../../release/dojo/dojo/date/locale.js
|
||||
./../../release/dojo/dijit/_Calendar.js
|
||||
./../../release/dojo/dijit/form/_DateTimeTextBox.js
|
||||
./../../release/dojo/dijit/form/DateTextBox.js
|
||||
./../../release/dojo/dojo/cldr/monetary.js
|
||||
./../../release/dojo/dojo/currency.js
|
||||
./../../release/dojo/dijit/form/CurrencyTextBox.js
|
||||
./../../release/dojo/dojo/dnd/common.js
|
||||
./../../release/dojo/dojo/dnd/autoscroll.js
|
||||
./../../release/dojo/dojo/dnd/Mover.js
|
||||
./../../release/dojo/dojo/dnd/Moveable.js
|
||||
./../../release/dojo/dojo/dnd/move.js
|
||||
./../../release/dojo/dojo/dnd/TimedMoveable.js
|
||||
./../../release/dojo/dojo/fx.js
|
||||
./../../release/dojo/dijit/_Container.js
|
||||
./../../release/dojo/dijit/layout/_LayoutWidget.js
|
||||
./../../release/dojo/dojo/html.js
|
||||
./../../release/dojo/dijit/layout/ContentPane.js
|
||||
./../../release/dojo/dijit/form/Form.js
|
||||
./../../release/dojo/dijit/Dialog.js
|
||||
./jslib/dojoGuardEnd.jsfrag
|
||||
8
spring-js/src/main/resources/META-INF/dojo/colors.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/colors.js
Normal file
@@ -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.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");(function(){var _1=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_6,_7){var m=_6.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1];if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){var a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}return dojo.colorFromArray(c,_7);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2,a=[_1(m1,m2,H+1/3)*256,_1(m1,m2,H)*256,_1(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}}return null;};var _14=function(c,low,_17){c=Number(c);return isNaN(c)?_17:c<low?low:c>_17?_17:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_14(t.r,0,255));t.g=Math.round(_14(t.g,0,255));t.b=Math.round(_14(t.b,0,255));t.a=_14(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.Color.named=dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]},dojo.Color.named);}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/cookie.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/cookie.js
Normal file
@@ -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.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.require("dojo.regexp");dojo.cookie=function(_1,_2,_3){var c=document.cookie;if(arguments.length==1){var _5=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(_1)+"=([^;]*)"));return _5?decodeURIComponent(_5[1]):undefined;}else{_3=_3||{};var _6=_3.expires;if(typeof _6=="number"){var d=new Date();d.setTime(d.getTime()+_6*24*60*60*1000);_6=_3.expires=d;}if(_6&&_6.toUTCString){_3.expires=_6.toUTCString();}_2=encodeURIComponent(_2);var _8=_1+"="+_2,_9;for(_9 in _3){_8+="; "+_9;var _a=_3[_9];if(_a!==true){_8+="="+_a;}}document.cookie=_8;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/currency.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/currency.js
Normal file
@@ -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.currency"]){dojo._hasResource["dojo.currency"]=true;dojo.provide("dojo.currency");dojo.require("dojo.number");dojo.require("dojo.i18n");dojo.requireLocalization("dojo.cldr","currency",null,"ROOT,de,en,en-au,en-ca,en-us,es,fr,it,ja,ko,pt,zh,zh-tw");dojo.require("dojo.cldr.monetary");dojo.currency._mixInDefaults=function(_1){_1=_1||{};_1.type="currency";var _2=dojo.i18n.getLocalization("dojo.cldr","currency",_1.locale)||{};var _3=_1.currency;var _4=dojo.cldr.monetary.getData(_3);dojo.forEach(["displayName","symbol","group","decimal"],function(_5){_4[_5]=_2[_3+"_"+_5];});_4.fractional=[true,false];return dojo.mixin(_4,_1);};dojo.currency.format=function(_6,_7){return dojo.number.format(_6,dojo.currency._mixInDefaults(_7));};dojo.currency.regexp=function(_8){return dojo.number.regexp(dojo.currency._mixInDefaults(_8));};dojo.currency.parse=function(_9,_a){return dojo.number.parse(_9,dojo.currency._mixInDefaults(_a));};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/date.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/date.js
Normal file
@@ -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.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_1){var _2=_1.getMonth();var _3=[31,28,31,30,31,30,31,31,30,31,30,31];if(_2==1&&dojo.date.isLeapYear(_1)){return 29;}return _3[_2];};dojo.date.isLeapYear=function(_4){var _5=_4.getFullYear();return !(_5%400)||(!(_5%4)&&!!(_5%100));};dojo.date.getTimezoneName=function(_6){var _7=_6.toString();var tz="";var _9;var _a=_7.indexOf("(");if(_a>-1){tz=_7.substring(++_a,_7.indexOf(")"));}else{var _b=/([A-Z\/]+) \d{4}$/;if((_9=_7.match(_b))){tz=_9[1];}else{_7=_6.toLocaleString();_b=/ ([A-Z\/]+)$/;if((_9=_7.match(_b))){tz=_9[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_c,_d,_e){_c=new Date(Number(_c));_d=new Date(Number(_d||new Date()));if(_e!=="undefined"){if(_e=="date"){_c.setHours(0,0,0,0);_d.setHours(0,0,0,0);}else{if(_e=="time"){_c.setFullYear(0,0,0);_d.setFullYear(0,0,0);}}}if(_c>_d){return 1;}if(_c<_d){return -1;}return 0;};dojo.date.add=function(_f,_10,_11){var sum=new Date(Number(_f));var _13=false;var _14="Date";switch(_10){case "day":break;case "weekday":var _15,_16;var mod=_11%5;if(!mod){_15=(_11>0)?5:-5;_16=(_11>0)?((_11-5)/5):((_11+5)/5);}else{_15=mod;_16=parseInt(_11/5);}var _18=_f.getDay();var adj=0;if(_18==6&&_11>0){adj=1;}else{if(_18==0&&_11<0){adj=-1;}}var _1a=_18+_15;if(_1a==0||_1a==6){adj=(_11>0)?2:-2;}_11=(7*_16)+_15+adj;break;case "year":_14="FullYear";_13=true;break;case "week":_11*=7;break;case "quarter":_11*=3;case "month":_13=true;_14="Month";break;case "hour":case "minute":case "second":case "millisecond":_14="UTC"+_10.charAt(0).toUpperCase()+_10.substring(1)+"s";}if(_14){sum["set"+_14](sum["get"+_14]()+_11);}if(_13&&(sum.getDate()<_f.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_1b,_1c,_1d){_1c=_1c||new Date();_1d=_1d||"day";var _1e=_1c.getFullYear()-_1b.getFullYear();var _1f=1;switch(_1d){case "quarter":var m1=_1b.getMonth();var m2=_1c.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_1e*4);_1f=q2-q1;break;case "weekday":var _24=Math.round(dojo.date.difference(_1b,_1c,"day"));var _25=parseInt(dojo.date.difference(_1b,_1c,"week"));var mod=_24%7;if(mod==0){_24=_25*5;}else{var adj=0;var _28=_1b.getDay();var _29=_1c.getDay();_25=parseInt(_24/7);mod=_24%7;var _2a=new Date(_1b);_2a.setDate(_2a.getDate()+(_25*7));var _2b=_2a.getDay();if(_24>0){switch(true){case _28==6:adj=-1;break;case _28==0:adj=0;break;case _29==6:adj=-1;break;case _29==0:adj=-2;break;case (_2b+mod)>5:adj=-2;}}else{if(_24<0){switch(true){case _28==6:adj=0;break;case _28==0:adj=1;break;case _29==6:adj=2;break;case _29==0:adj=1;break;case (_2b+mod)<0:adj=2;}}}_24+=adj;_24-=(_25*2);}_1f=_24;break;case "year":_1f=_1e;break;case "month":_1f=(_1c.getMonth()-_1b.getMonth())+(_1e*12);break;case "week":_1f=parseInt(dojo.date.difference(_1b,_1c,"day")/7);break;case "day":_1f/=24;case "hour":_1f/=60;case "minute":_1f/=60;case "second":_1f/=1000;case "millisecond":_1f*=_1c.getTime()-_1b.getTime();}return Math.round(_1f);};}
|
||||
16
spring-js/src/main/resources/META-INF/dojo/dojo.js
vendored
Normal file
16
spring-js/src/main/resources/META-INF/dojo/dojo.js
vendored
Normal file
File diff suppressed because one or more lines are too long
19736
spring-js/src/main/resources/META-INF/dojo/dojo.js.uncompressed.js
Normal file
19736
spring-js/src/main/resources/META-INF/dojo/dojo.js.uncompressed.js
Normal file
File diff suppressed because it is too large
Load Diff
8
spring-js/src/main/resources/META-INF/dojo/fx.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/fx.js
Normal file
File diff suppressed because one or more lines are too long
8
spring-js/src/main/resources/META-INF/dojo/gears.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/gears.js
Normal file
@@ -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.gears"]){dojo._hasResource["dojo.gears"]=true;dojo.provide("dojo.gears");dojo.gears._gearsObject=function(){var _1;var _2;var _3=dojo.getObject("google.gears");if(_3){return _3;}if(typeof GearsFactory!="undefined"){_1=new GearsFactory();}else{if(dojo.isIE){try{_1=new ActiveXObject("Gears.Factory");}catch(e){}}else{if(navigator.mimeTypes["application/x-googlegears"]){_1=document.createElement("object");_1.setAttribute("type","application/x-googlegears");_1.setAttribute("width",0);_1.setAttribute("height",0);_1.style.display="none";document.documentElement.appendChild(_1);}}}if(!_1){return null;}dojo.setObject("google.gears.factory",_1);return dojo.getObject("google.gears");};dojo.gears.available=(!!dojo.gears._gearsObject())||0;}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/html.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/html.js
Normal file
@@ -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.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");dojo.require("dojo.parser");(function(){var _1=0;dojo.html._secureForInnerHtml=function(_2){return _2.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=function(_3){while(_3.firstChild){dojo._destroyElement(_3.firstChild);}};dojo.html._setNodeContent=function(_4,_5,_6){if(_6){dojo.html._emptyNode(_4);}if(typeof _5=="string"){var _7="",_8="",_9=0,_a=_4.nodeName.toLowerCase();switch(_a){case "tr":_7="<tr>";_8="</tr>";_9+=1;case "tbody":case "thead":_7="<tbody>"+_7;_8+="</tbody>";_9+=1;case "table":_7="<table>"+_7;_8+="</table>";_9+=1;break;}if(_9){var n=_4.ownerDocument.createElement("div");n.innerHTML=_7+_5+_8;do{n=n.firstChild;}while(--_9);dojo.forEach(n.childNodes,function(n){_4.appendChild(n.cloneNode(true));});}else{_4.innerHTML=_5;}}else{if(_5.nodeType){_4.appendChild(_5);}else{dojo.forEach(_5,function(n){_4.appendChild(n.cloneNode(true));});}}return _4;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_e,_f){dojo.mixin(this,_e||{});_f=this.node=dojo.byId(this.node||_f);if(!this.id){this.id=["Setter",(_f)?_f.id||_f.tagName:"",_1++].join("_");}if(!(this.node||_f)){new Error(this.declaredClass+": no node provided to "+this.id);}},set:function(_10,_11){if(undefined!==_10){this.content=_10;}if(_11){this._mixin(_11);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var _12=this.node;if(!_12){console.error("setContent given no node");}try{_12=dojo.html._setNodeContent(_12,this.content);}catch(e){var _13=this.onContentError(e);try{_12.innerHTML=_13;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=_12;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var _15=this.content;if(dojo.isString(_15)){if(this.cleanContent){_15=dojo.html._secureForInnerHtml(_15);}if(this.extractContent){var _16=_15.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}}this.empty();this.content=_15;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_18){var _19={},key;for(key in _18){if(key in _19){continue;}this[key]=_18[key];}},_parse:function(){var _1b=this.node;try{this.parseResults=dojo.parser.parse(_1b,true);}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(_1c,err,_1e){var _1f=this["on"+_1c+"Error"].call(this,err);if(_1e){console.error(_1e,err);}else{if(_1f){dojo.html._setNodeContent(this.node,_1f,true);}}}});dojo.html.set=function(_20,_21,_22){if(undefined==_21){console.warn("dojo.html.set: no cont argument provided, using empty string");_21="";}if(!_22){return dojo.html._setNodeContent(_20,_21,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_22,{content:_21,node:_20}));return op.set();}};})();}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/i18n.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/i18n.js
Normal file
@@ -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.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_1,_2,_3){_3=dojo.i18n.normalizeLocale(_3);var _4=_3.split("-");var _5=[_1,"nls",_2].join(".");var _6=dojo._loadedModules[_5];if(_6){var _7;for(var i=_4.length;i>0;i--){var _9=_4.slice(0,i).join("_");if(_6[_9]){_7=_6[_9];break;}}if(!_7){_7=_6.ROOT;}if(_7){var _a=function(){};_a.prototype=_7;return new _a();}}throw new Error("Bundle not found: "+_2+" in "+_1+" , locale="+_3);};dojo.i18n.normalizeLocale=function(_b){var _c=_b?_b.toLowerCase():dojo.locale;if(_c=="root"){_c="ROOT";}return _c;};dojo.i18n._requireLocalization=function(_d,_e,_f,_10){var _11=dojo.i18n.normalizeLocale(_f);var _12=[_d,"nls",_e].join(".");var _13="";if(_10){var _14=_10.split(",");for(var i=0;i<_14.length;i++){if(_11["indexOf"](_14[i])==0){if(_14[i].length>_13.length){_13=_14[i];}}}if(!_13){_13="ROOT";}}var _16=_10?_13:_11;var _17=dojo._loadedModules[_12];var _18=null;if(_17){if(dojo.config.localizationComplete&&_17._built){return;}var _19=_16.replace(/-/g,"_");var _1a=_12+"."+_19;_18=dojo._loadedModules[_1a];}if(!_18){_17=dojo["provide"](_12);var _1b=dojo._getModuleSymbols(_d);var _1c=_1b.concat("nls").join("/");var _1d;dojo.i18n._searchLocalePath(_16,_10,function(loc){var _1f=loc.replace(/-/g,"_");var _20=_12+"."+_1f;var _21=false;if(!dojo._loadedModules[_20]){dojo["provide"](_20);var _22=[_1c];if(loc!="ROOT"){_22.push(loc);}_22.push(_e);var _23=_22.join("/")+".js";_21=dojo._loadPath(_23,null,function(_24){var _25=function(){};_25.prototype=_1d;_17[_1f]=new _25();for(var j in _24){_17[_1f][j]=_24[j];}});}else{_21=true;}if(_21&&_17[_1f]){_1d=_17[_1f];}else{_17[_1f]=_1d;}if(_10){return true;}});}if(_10&&_11!=_13){_17[_11.replace(/-/g,"_")]=_17[_13.replace(/-/g,"_")];}};(function(){var _27=dojo.config.extraLocale;if(_27){if(!_27 instanceof Array){_27=[_27];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_2b,_2c){req(m,b,_2b,_2c);if(_2b){return;}for(var i=0;i<_27.length;i++){req(m,b,_27[i],_2c);}};}})();dojo.i18n._searchLocalePath=function(_2e,_2f,_30){_2e=dojo.i18n.normalizeLocale(_2e);var _31=_2e.split("-");var _32=[];for(var i=_31.length;i>0;i--){_32.push(_31.slice(0,i).join("-"));}_32.push(false);if(_2f){_32.reverse();}for(var j=_32.length-1;j>=0;j--){var loc=_32[j]||"ROOT";var _36=_30(loc);if(_36){break;}}};dojo.i18n._preloadLocalizations=function(_37,_38){function preload(_39){_39=dojo.i18n.normalizeLocale(_39);dojo.i18n._searchLocalePath(_39,true,function(loc){for(var i=0;i<_38.length;i++){if(_38[i]==loc){dojo["require"](_37+"_"+loc);return true;}}return false;});};preload();var _3c=dojo.config.extraLocale||[];for(var i=0;i<_3c.length;i++){preload(_3c[i]);}};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/jaxer.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/jaxer.js
Normal file
@@ -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.jaxer"]){dojo._hasResource["dojo.jaxer"]=true;dojo.provide("dojo.jaxer");if(typeof print=="function"){console.debug=Jaxer.Log.debug;console.warn=Jaxer.Log.warn;console.error=Jaxer.Log.error;console.info=Jaxer.Log.info;console.log=Jaxer.Log.warn;}onserverload=dojo._loadInit;}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/number.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/number.js
Normal file
File diff suppressed because one or more lines are too long
8
spring-js/src/main/resources/META-INF/dojo/parser.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/parser.js
Normal file
@@ -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.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.require("dojo.date.stamp");dojo.parser=new function(){var d=dojo;var _2=d._scopeName+"Type";var _3="["+_2+"]";function val2type(_4){if(d.isString(_4)){return "string";}if(typeof _4=="number"){return "number";}if(typeof _4=="boolean"){return "boolean";}if(d.isFunction(_4)){return "function";}if(d.isArray(_4)){return "array";}if(_4 instanceof Date){return "date";}if(_4 instanceof d._Url){return "url";}return "object";};function str2obj(_5,_6){switch(_6){case "string":return _5;case "number":return _5.length?Number(_5):NaN;case "boolean":return typeof _5=="boolean"?_5:!(_5.toLowerCase()=="false");case "function":if(d.isFunction(_5)){_5=_5.toString();_5=d.trim(_5.substring(_5.indexOf("{")+1,_5.length-1));}try{if(_5.search(/[^\w\.]+/i)!=-1){_5=d.parser._nameAnonFunc(new Function(_5),this);}return d.getObject(_5,false);}catch(e){return new Function();}case "array":return _5?_5.split(/\s*,\s*/):[];case "date":switch(_5){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_5);}case "url":return d.baseUrl+_5;default:return d.fromJson(_5);}};var _7={};function getClassInfo(_8){if(!_7[_8]){var _9=d.getObject(_8);if(!d.isFunction(_9)){throw new Error("Could not load class '"+_8+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _a=_9.prototype;var _b={};for(var _c in _a){if(_c.charAt(0)=="_"){continue;}var _d=_a[_c];_b[_c]=val2type(_d);}_7[_8]={cls:_9,params:_b};}return _7[_8];};this._functionFromScript=function(_e){var _f="";var _10="";var _11=_e.getAttribute("args");if(_11){d.forEach(_11.split(/\s*,\s*/),function(_12,idx){_f+="var "+_12+" = arguments["+idx+"]; ";});}var _14=_e.getAttribute("with");if(_14&&_14.length){d.forEach(_14.split(/\s*,\s*/),function(_15){_f+="with("+_15+"){";_10+="}";});}return new Function(_f+_e.innerHTML+_10);};this.instantiate=function(_16){var _17=[];d.forEach(_16,function(_18){if(!_18){return;}var _19=_18.getAttribute(_2);if((!_19)||(!_19.length)){return;}var _1a=getClassInfo(_19);var _1b=_1a.cls;var ps=_1b._noScript||_1b.prototype._noScript;var _1d={};var _1e=_18.attributes;for(var _1f in _1a.params){var _20=_1e.getNamedItem(_1f);if(!_20||(!_20.specified&&(!dojo.isIE||_1f.toLowerCase()!="value"))){continue;}var _21=_20.value;switch(_1f){case "class":_21=_18.className;break;case "style":_21=_18.style&&_18.style.cssText;}var _22=_1a.params[_1f];_1d[_1f]=str2obj(_21,_22);}if(!ps){var _23=[],_24=[];d.query("> script[type^='dojo/']",_18).orphan().forEach(function(_25){var _26=_25.getAttribute("event"),_19=_25.getAttribute("type"),nf=d.parser._functionFromScript(_25);if(_26){if(_19=="dojo/connect"){_23.push({event:_26,func:nf});}else{_1d[_26]=nf;}}else{_24.push(nf);}});}var _28=_1b["markupFactory"];if(!_28&&_1b["prototype"]){_28=_1b.prototype["markupFactory"];}var _29=_28?_28(_1d,_18,_1b):new _1b(_1d,_18);_17.push(_29);var _2a=_18.getAttribute("jsId");if(_2a){d.setObject(_2a,_29);}if(!ps){d.forEach(_23,function(_2b){d.connect(_29,_2b.event,null,_2b.func);});d.forEach(_24,function(_2c){_2c.call(_29);});}});d.forEach(_17,function(_2d){if(_2d&&_2d.startup&&!_2d._started&&(!_2d.getParent||!_2d.getParent())){_2d.startup();}});return _17;};this.parse=function(_2e){var _2f=d.query(_3,_2e);var _30=this.instantiate(_2f);return _30;};}();(function(){var _31=function(){if(dojo.config["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_31);}else{dojo._loaders.unshift(_31);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_32,_33){var jpn="$joinpoint";var nso=(_33||dojo.parser._anon);if(dojo.isIE){var cn=_32["__dojoNameCache"];if(cn&&nso[cn]===_32){return _32["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_32;return ret;};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/regexp.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/regexp.js
Normal file
@@ -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.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(_1,_2){return _1.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_2&&_2.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(_4,re,_6){if(!(_4 instanceof Array)){return re(_4);}var b=[];for(var i=0;i<_4.length;i++){b.push(re(_4[i]));}return dojo.regexp.group(b.join("|"),_6);};dojo.regexp.group=function(_9,_a){return "("+(_a?"?:":"")+_9+")";};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/robot.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/robot.js
Normal file
@@ -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.robot"]){dojo._hasResource["dojo.robot"]=true;dojo.provide("dojo.robot");dojo.experimental("dojo.robot");dojo.require("doh.robot");(function(){dojo.mixin(doh.robot,{_scrollIntoView:function(_1){if(typeof _1=="function"){_1=_1();}_1.scrollIntoView(false);},scrollIntoView:function(_2,_3){doh.robot.sequence(function(){doh.robot._scrollIntoView(_2);},_3);},mouseMoveAt:function(_4,_5,_6,_7,_8){doh.robot._assertRobot();_6=_6||100;this.sequence(function(){if(typeof _4=="function"){_4=_4();}if(!_4){return;}_4=dojo.byId(_4);if(_8===undefined){var _9=dojo.contentBox(_4);_7=_9.w/2;_8=_9.h/2;}var x=_7;var y=_8;doh.robot._scrollIntoView(_4);var c=dojo.coords(_4);x+=c.x;y+=c.y;doh.robot._mouseMove(x,y,false,_6);},_5,_6);}});})();}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/robotx.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/robotx.js
Normal file
@@ -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.robotx"]){dojo._hasResource["dojo.robotx"]=true;dojo.provide("dojo.robotx");dojo.require("dojo.robot");dojo.experimental("dojo.robotx");(function(){doh.robot._runsemaphore.lock.push("dojo.robotx.lock");var _1=document.getElementById("robotapplication");var _2=dojo.connect(doh,"_groupStarted",function(){dojo.disconnect(_2);if(!document.getElementById("robotconsole").childNodes.length){document.body.removeChild(document.getElementById("robotconsole"));_1.style.height="100%";}_1.style.visibility="visible";});var _3=function(){doh.robot._updateDocument();_3=null;doh.run();};var _4=function(){if(_3){_3();}var _5=dojo.connect(dojo.body(),"onunload",function(){dojo.doc=document;dojo.disconnect(_5);});};dojo.config.debugContainerId="robotconsole";document.write("<div id=\"robotconsole\" style=\"position:absolute;left:0px;top:75%;width:100%; height:25%;\"></div>");_1=document.createElement("iframe");_1.setAttribute("ALLOWTRANSPARENCY","true");dojo.style(_1,{visibility:"hidden",border:"0px none",padding:"0px",margin:"0px",position:"absolute",left:"0px",top:"0px",width:"100%",height:"75%",zIndex:"1"});if(_1["attachEvent"]!==undefined){_1.attachEvent("onload",_4);}else{dojo.connect(_1,"onload",_4);}dojo.mixin(doh.robot,{_updateDocument:function(){dojo.doc=_1.contentWindow.document;},initRobot:function(_6){_1.src=_6;dojo.addOnLoad(function(){dojo.style(document.body,{width:"100%",height:"100%"});document.body.appendChild(_1);var _7=document.createElement("base");_7.href=_6;document.getElementsByTagName("head")[0].appendChild(_7);});},waitForPageToLoad:function(_8){var d=new doh.Deferred();_3=function(){_3=null;doh.robot._updateDocument();d.callback(true);};_8();return d;}});})();}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/string.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/string.js
Normal file
@@ -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.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(_1,_2){if(_2<=0||!_1){return "";}var _3=[];for(;;){if(_2&1){_3.push(_1);}if(!(_2>>=1)){break;}_1+=_1;}return _3.join("");};dojo.string.pad=function(_4,_5,ch,_7){if(!ch){ch="0";}var _8=String(_4),_9=dojo.string.rep(ch,Math.ceil((_5-_8.length)/ch.length));return _7?_8+_9:_9+_8;};dojo.string.substitute=function(_a,_b,_c,_d){_d=_d||dojo.global;_c=(!_c)?function(v){return v;}:dojo.hitch(_d,_c);return _a.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_f,key,_11){var _12=dojo.getObject(key,false,_b);if(_11){_12=dojo.getObject(_11,false,_d).call(_d,_12,key);}return _c(_12,key).toString();});};dojo.string.trim=function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/tests.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/tests.js
Normal file
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
load("dojo.js");load("tests/runner.js");tests.run();
|
||||
Reference in New Issue
Block a user