code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
//>>built
define("dojox/geo/openlayers/Layer",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/_base/sniff"],function(_1,_2,_3,_4,_5){
return _2("dojox.geo.openlayers.Layer",null,{constructor:function(_6,_7){
var ol=_7?_7.olLayer:null;
if(!ol){
ol=_3.delegate(new OpenLayers.Layer(_6,... | JavaScript |
//>>built
define("dojox/geo/openlayers/Map",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/_base/json","dojo/_base/html","dojox/main","dojox/geo/openlayers/TouchInteractionSupport","dojox/geo/openlayers/Layer","dojox/geo/openlayers/Patch"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){
_... | JavaScript |
//>>built
define("dojox/geo/openlayers/Point", ["dojo/_base/kernel", "dojo/_base/declare", "dojox/geo/openlayers/Geometry"],
function(dojo, declare, Geometry){
/*=====
var Geometry = dojox.geo.openlayers.Geometry;
=====*/
return declare("dojox.geo.openlayers.Point", Geometry, {
// summary:
// A Point geomet... | JavaScript |
//>>built
define("dojox/mdnd/Moveable",["dojo/_base/kernel","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/event","dojo/_base/html","dojo/_base/sniff","dojo/_base/window"],function(_1){
return _1.declare("dojox.mdnd.Moveable",null,{handle:null,skip:true,dragDistance:3,constructor:function(_2,_... | JavaScript |
//>>built
define("dojox/mdnd/LazyManager", [
"dojo/_base/kernel", // dojo.addOnUnload
"dojo/_base/lang", // dojo.hitch
"dojo/_base/declare",
"dojo/_base/html", // dojo.create, dojo.attr, dojo.addClass
"dojo/dnd/Manager",
"./PureSource"
],function(dojo){
return dojo.declare(
"dojox.mdnd.LazyManager",
null,
{... | JavaScript |
//>>built
define("dojox/mdnd/DropIndicator", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","./AreaManager"],function(dojo){
var di = dojo.declare(
"dojox.mdnd.DropIndicator",
null,
{
// summary:
// DropIndicator managment for DnD.
// node: DOMNode
// the drop indicator node
node : null... | JavaScript |
//>>built
define("dojox/mdnd/AreaManager",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/connect","dojo/_base/window","dojo/_base/array","dojo/query","dojo/_base/html","./Moveable"],function(_1){
var am=_1.declare("dojox.mdnd.AreaManager",null,{autoRefresh:true,areaClass:"dojoxDndArea",dragHandleClass:"dojoxDrag... | JavaScript |
//>>built
define("dojox/mdnd/PureSource",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","dojo/_base/connect","dojo/_base/array","dojo/dnd/Selector","dojo/dnd/Manager"],function(_1){
return _1.declare("dojox.mdnd.PureSource",_1.dnd.Selector,{horizontal:false,copyOnly:true,skipForm:false,withHandles:false,is... | JavaScript |
//>>built
define("dojox/mdnd/AutoScroll", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/_base/connect",
"dojo/_base/window"],function(dojo){
var as = dojo.declare(
"dojox.mdnd.AutoScroll",
null,
{
// summary:
// Activate scrolling while dragging a widget.
// interval: Integer
// d... | JavaScript |
//>>built
define("dojox/mdnd/DropIndicator",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","./AreaManager"],function(_1){
var di=_1.declare("dojox.mdnd.DropIndicator",null,{node:null,constructor:function(){
var _2=document.createElement("div");
var _3=document.createElement("div");
_2.appendChild(_3);
_1.a... | JavaScript |
//>>built
define("dojox/mdnd/adapter/DndFromDojo", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/connect","dojo/_base/array",
"dojo/_base/html","dojo/_base/window","dojox/mdnd/AreaManager","dojo/dnd/Manager"],function(dojo){
var dfd = dojo.declare(
"dojox.mdnd.adapter.DndFromDojo",
null,
{
// summary
... | JavaScript |
//>>built
define("dojox/mdnd/adapter/DndToDojo", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","dojo/_base/connect",
"dojo/_base/window","dojo/_base/array","dojox/mdnd/PureSource","dojox/mdnd/LazyManager"],function(dojo){
var dtd = dojo.declare(
"dojox.mdnd.adapter.DndToDojo",
null,
{
// summary:... | JavaScript |
//>>built
define("dojox/mdnd/adapter/DndToDojo",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","dojo/_base/connect","dojo/_base/window","dojo/_base/array","dojox/mdnd/PureSource","dojox/mdnd/LazyManager"],function(_1){
var _2=_1.declare("dojox.mdnd.adapter.DndToDojo",null,{_dojoList:null,_currentDojoArea:n... | JavaScript |
//>>built
define("dojox/mdnd/adapter/DndFromDojo",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","dojo/_base/html","dojo/_base/window","dojox/mdnd/AreaManager","dojo/dnd/Manager"],function(_1){
var _2=_1.declare("dojox.mdnd.adapter.DndFromDojo",null,{dropIndicatorSize:{"w":0,"h":50},d... | JavaScript |
//>>built
define("dojox/mdnd/PureSource", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","dojo/_base/connect",
"dojo/_base/array","dojo/dnd/Selector","dojo/dnd/Manager"],function(dojo){
return dojo.declare(
"dojox.mdnd.PureSource",
dojo.dnd.Selector,
{
// summary:
// A Source Object, which can ... | JavaScript |
//>>built
define("dojox/mdnd/dropMode/DefaultDropMode",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/array","dojo/_base/html","dojox/mdnd/AreaManager"],function(_1){
var _2=_1.declare("dojox.mdnd.dropMode.DefaultDropMode",null,{_oldXPoint:null,_oldYPoint:null,_oldBehaviour:"up",addArea:function(_3,_4){
var _5=_... | JavaScript |
//>>built
define("dojox/mdnd/dropMode/VerticalDropMode", [
"dojo/_base/kernel",
"dojo/_base/declare",
"dojo/_base/html",
"dojo/_base/array",
"dojox/mdnd/AreaManager"
],function(dojo){
var vdm = dojo.declare(
"dojox.mdnd.dropMode.VerticalDropMode",
null,
{
// summary:
// Enabled a type of calcul for Dnd.... | JavaScript |
//>>built
define("dojox/mdnd/dropMode/DefaultDropMode", [
"dojo/_base/kernel",
"dojo/_base/declare",
"dojo/_base/array",
"dojo/_base/html",
"dojox/mdnd/AreaManager"
],function(dojo){
var ddm = dojo.declare("dojox.mdnd.dropMode.DefaultDropMode", null, {
// summary:
// Enabled a type of calcul for Dnd.
// D... | JavaScript |
//>>built
define("dojox/mdnd/dropMode/OverDropMode", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/connect","dojo/_base/html",
"dojo/_base/array","dojox/mdnd/AreaManager"],function(dojo){
var odm = dojo.declare(
"dojox.mdnd.dropMode.OverDropMode",
null,
{
// summary:
// Default class to find the nea... | JavaScript |
//>>built
define("dojox/mdnd/dropMode/OverDropMode",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/connect","dojo/_base/html","dojo/_base/array","dojox/mdnd/AreaManager"],function(_1){
var _2=_1.declare("dojox.mdnd.dropMode.OverDropMode",null,{_oldXPoint:null,_oldYPoint:null,_oldBehaviour:"up",constructor:functi... | JavaScript |
//>>built
define("dojox/mdnd/dropMode/VerticalDropMode",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/html","dojo/_base/array","dojox/mdnd/AreaManager"],function(_1){
var _2=_1.declare("dojox.mdnd.dropMode.VerticalDropMode",null,{_oldXPoint:null,_oldYPoint:null,_oldBehaviour:"up",addArea:function(_3,_4){
var _5... | JavaScript |
//>>built
define("dojox/mdnd/Moveable", [
"dojo/_base/kernel",
"dojo/_base/array",
"dojo/_base/connect",
"dojo/_base/declare",
"dojo/_base/event",
"dojo/_base/html",
"dojo/_base/sniff",
"dojo/_base/window"
],function(dojo){
return dojo.declare(
"dojox.mdnd.Moveable",
null,
{
// summary:
// Allow end-... | JavaScript |
//>>built
define("dojox/mdnd/AutoScroll",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/_base/connect","dojo/_base/window"],function(_1){
var as=_1.declare("dojox.mdnd.AutoScroll",null,{interval:3,recursiveTimer:10,marginMouse:50,constructor:function(){
this.resizeHandler=_1.connect(_1.global,"onresi... | JavaScript |
//>>built
define("dojox/mdnd/LazyManager",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","dojo/_base/html","dojo/dnd/Manager","./PureSource"],function(_1){
return _1.declare("dojox.mdnd.LazyManager",null,{constructor:function(){
this._registry={};
this._fakeSource=new dojox.mdnd.PureSource(_1.create("div")... | JavaScript |
//>>built
define("dojox/mdnd/AreaManager", ["dojo/_base/kernel","dojo/_base/declare","dojo/_base/connect","dojo/_base/window",
"dojo/_base/array","dojo/query","dojo/_base/html","./Moveable"],function(dojo){
var am = dojo.declare(
"dojox.mdnd.AreaManager",
null,
{
// summary:
// Drag And Drop manager
// ... | JavaScript |
//>>built
define("dojox/css3/transition",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/_base/Deferred","dojo/DeferredList","dojo/on","dojo/_base/sniff"],function(_1,_2,_3,_4,_5,_6,on,_7){
var _8="transitionend";
var _9="t";
var _a="translate3d(";
var _b=",0,0)";
if(_7("webkit")){
... | JavaScript |
//>>built
define("dojox/css3/transition", ["dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/declare",
"dojo/_base/array",
"dojo/_base/Deferred",
"dojo/DeferredList",
"dojo/on",
"dojo/_base/sniff"],
function(dojo, lang, declare, array, deferred, deferredList, on, has){
//TODO create cross platform ... | JavaScript |
//>>built
define("dojox/css3/transit",["dojo/_base/kernel","dojo/_base/array","dojo/dom-style","dojo/DeferredList","./transition"],function(_1,_2,_3,_4,_5){
var _6=function(_7,to,_8){
var _9=(_8&&_8.reverse)?-1:1;
if(!_8||!_8.transition||!_5[_8.transition]){
_3.set(_7,"display","none");
_3.set(to,"display","");
if(_8.t... | JavaScript |
//>>built
define("dojox/css3/transit", ["dojo/_base/kernel", "dojo/_base/array","dojo/dom-style","dojo/DeferredList","./transition"],
function(dojo, darray, domStyle, DeferredList,transition){
var transit = function(from, to, options){
var rev = (options && options.reverse) ? -1 : 1;
if(!options || !options.tran... | JavaScript |
//>>built
define("dojox/css3/fx",["dojo/_base/kernel","dojo/_base/connect","dojo/dom-style","dojo/_base/fx","dojo/fx","dojo/_base/html","dojox/html/ext-dojo/style","dojox/fx/ext-dojo/complex"],function(_1,_2,_3,_4,_5,_6,_7,_8){
var _9=_1.getObject("dojox.css3.fx",true);
return _1.mixin(_9,{puff:function(_a){
return _5.... | JavaScript |
//>>built
define("dojox/css3/fx", [
"dojo/_base/kernel",
"dojo/_base/connect", // dojo.connect
"dojo/dom-style", // dojo.style
"dojo/_base/fx",
"dojo/fx",
"dojo/_base/html",
"dojox/html/ext-dojo/style",
"dojox/fx/ext-dojo/complex"],
function(lang,connectUtil,domStyle,baseFx,coreFx,htmlUtil,htmlStyleExt,complexF... | JavaScript |
//>>built
// AMD-ID "dojox/math/BigInteger-ext"
define("dojox/math/BigInteger-ext", ["dojo", "dojox", "dojox/math/BigInteger"], function(dojo, dojox) {
dojo.experimental("dojox.math.BigInteger-ext");
// Contributed under CLA by Tom Wu
// Extended JavaScript BN functions, required for RSA private ops.
var BigInteger... | JavaScript |
//>>built
define("dojox/math/stats",["dojo","../main"],function(_1,_2){
_1.getObject("math.stats",true,_2);
var st=_2.math.stats;
_1.mixin(st,{sd:function(a){
return Math.sqrt(st.variance(a));
},variance:function(a){
var _3=0,_4=0;
_1.forEach(a,function(_5){
_3+=_5;
_4+=Math.pow(_5,2);
});
return (_4/a.length)-Math.pow... | JavaScript |
//>>built
// AMD-ID "dojox/math/_base"
define("dojox/math/_base", ["dojo", "dojox"], function(dojo, dojox) {
dojo.getObject("math", true, dojox);
var m = dojox.math;
dojo.mixin(dojox.math, {
toRadians: function(/* Number */n){
// summary:
// Convert the passed number to radians.
return (n*Math.PI)/180; ... | JavaScript |
//>>built
define("dojox/math/BigInteger",["dojo","dojox"],function(_1,_2){
_1.getObject("math.BigInteger",true,_2);
_1.experimental("dojox.math.BigInteger");
var _3;
var _4=244837814094590;
var _5=((_4&16777215)==15715070);
function _6(a,b,c){
if(a!=null){
if("number"==typeof a){
this._fromNumber(a,b,c);
}else{
if(!b&&... | JavaScript |
//>>built
// AMD-ID "dojox/math/curves"
define("dojox/math/curves", ["dojo", "dojox"], function(dojo, dojox) {
dojo.getObject("math.curves", true, dojox);
dojo.mixin(dojox.math.curves, {
Line:function (start, end) {
this.start = start;
this.end = end;
this.dimensions = start.length;
for (var i = 0; i < start.... | JavaScript |
//>>built
// AMD-ID "dojox/math/matrix"
define("dojox/math/matrix", ["dojo", "dojox"], function(dojo, dojox) {
dojo.getObject("math.matrix", true, dojox);
dojo.mixin(dojox.math.matrix, {
iDF:0,
ALMOST_ZERO: 1e-10,
multiply: function(/* Array */a, /* Array */b){
// summary
// Multiply matrix a by matrix b.
var... | JavaScript |
//>>built
define("dojox/math/curves",["dojo","dojox"],function(_1,_2){
_1.getObject("math.curves",true,_2);
_1.mixin(_2.math.curves,{Line:function(_3,_4){
this.start=_3;
this.end=_4;
this.dimensions=_3.length;
for(var i=0;i<_3.length;i++){
_3[i]=Number(_3[i]);
}
for(var i=0;i<_4.length;i++){
_4[i]=Number(_4[i]);
}
this... | JavaScript |
//>>built
define("dojox/math/BigInteger-ext",["dojo","dojox","dojox/math/BigInteger"],function(_1,_2){
_1.experimental("dojox.math.BigInteger-ext");
var _3=_2.math.BigInteger,_4=_3._nbi,_5=_3._nbv,_6=_3._nbits,_7=_3._Montgomery;
function _8(){
var r=_4();
this._copyTo(r);
return r;
};
function _9(){
if(this.s<0){
if(th... | JavaScript |
//>>built
define("dojox/math/round",["dojo","dojox"],function(_1,_2){
_1.getObject("math.round",true,_2);
_1.experimental("dojox.math.round");
_2.math.round=function(_3,_4,_5){
var _6=Math.log(Math.abs(_3))/Math.log(10);
var _7=10/(_5||10);
var _8=Math.pow(10,-15+_6);
return (_7*(+_3+(_3>0?_8:-_8))).toFixed(_4)/_7;
};
... | JavaScript |
//>>built
// AMD-ID "dojox/math/BigInteger"
define("dojox/math/BigInteger", ["dojo", "dojox"], function(dojo, dojox) {
dojo.getObject("math.BigInteger", true, dojox);
dojo.experimental("dojox.math.BigInteger");
// Contributed under CLA by Tom Wu <tjw@cs.Stanford.EDU>
// See http://www-cs-students.stanford.edu/~tjw/... | JavaScript |
//>>built
// AMD-ID "dojox/math/stats"
define("dojox/math/stats", ["dojo", "../main"], function(dojo, dojox) {
dojo.getObject("math.stats", true, dojox);
var st = dojox.math.stats;
dojo.mixin(st, {
sd: function(/* Number[] */a){
// summary:
// Returns the standard deviation of the passed arguments.
re... | JavaScript |
//>>built
define("dojox/math/matrix",["dojo","dojox"],function(_1,_2){
_1.getObject("math.matrix",true,_2);
_1.mixin(_2.math.matrix,{iDF:0,ALMOST_ZERO:1e-10,multiply:function(a,b){
var ay=a.length,ax=a[0].length,by=b.length,bx=b[0].length;
if(ax!=by){
console.warn("Can't multiply matricies of sizes "+ax+","+ay+" and "+... | JavaScript |
//>>built
// AMD-ID "dojox/math/round"
define("dojox/math/round", ["dojo", "dojox"], function(dojo, dojox) {
dojo.getObject("math.round", true, dojox);
dojo.experimental("dojox.math.round");
dojox.math.round = function(/*Number*/value, /*Number?*/places, /*Number?*/increment){
// summary:
// Similar to dojo.n... | JavaScript |
//>>built
define("dojox/math/_base",["dojo","dojox"],function(_1,_2){
_1.getObject("math",true,_2);
var m=_2.math;
_1.mixin(_2.math,{toRadians:function(n){
return (n*Math.PI)/180;
},toDegrees:function(n){
return (n*180)/Math.PI;
},degreesToRadians:function(n){
return m.toRadians(n);
},radiansToDegrees:function(n){
retu... | JavaScript |
//>>built
define("dojox/math/random/prng4",["dojo","dojox"],function(_1,_2){
_1.getObject("math.random.prng4",true,_2);
function _3(){
this.i=0;
this.j=0;
this.S=new Array(256);
};
_1.extend(_3,{init:function(_4){
var i,j,t,S=this.S,_5=_4.length;
for(i=0;i<256;++i){
S[i]=i;
}
j=0;
for(i=0;i<256;++i){
j=(j+S[i]+_4[i%_5]... | JavaScript |
//>>built
// AMD-ID "dojox/math/random/Secure"
define("dojox/math/random/Secure", ["dojo"], function(dojo) {
// Copyright (c) 2005 Tom Wu
// All Rights Reserved.
// See "LICENSE-BigInteger" for details.
// Random number generator - requires a PRNG backend, e.g. prng4.js
dojo.declare("dojox.math.random.Secure", null... | JavaScript |
//>>built
define("dojox/math/random/Simple",["dojo"],function(_1){
return _1.declare("dojox.math.random.Simple",null,{destroy:function(){
},nextBytes:function(_2){
for(var i=0,l=_2.length;i<l;++i){
_2[i]=Math.floor(256*Math.random());
}
}});
});
| JavaScript |
//>>built
define("dojox/math/random/Simple", ["dojo"], function(dojo) {
return dojo.declare("dojox.math.random.Simple", null, {
// summary:
// Super simple implementation of a random number generator,
// which relies on Math.random().
destroy: function(){
// summary:
// Prepares the object for GC. (em... | JavaScript |
//>>built
// AMD-ID "dojox/math/random/prng4"
define("dojox/math/random/prng4", ["dojo", "dojox"], function(dojo, dojox) {
dojo.getObject("math.random.prng4", true, dojox);
// Copyright (c) 2005 Tom Wu
// All Rights Reserved.
// See "LICENSE-BigInteger" for details.
// prng4.js - uses Arcfour as a PRNG
functio... | JavaScript |
//>>built
define("dojox/math/random/Secure",["dojo"],function(_1){
_1.declare("dojox.math.random.Secure",null,{constructor:function(_2,_3){
this.prng=_2;
var p=this.pool=new Array(_2.size);
this.pptr=0;
for(var i=0,_4=_2.size;i<_4;){
var t=Math.floor(65536*Math.random());
p[i++]=t>>>8;
p[i++]=t&255;
}
this.seedTime();
... | JavaScript |
//>>built
define("dojox/json/query", ["dojo/_base/kernel", "dojox", "dojo/_base/array"], function(dojo, dojox){
dojo.getObject("json", true, dojox);
dojox.json._slice = function(obj,start,end,step){
// handles slice operations: [3:6:2]
var len=obj.length,results = [];
end = end || len;
start = (start < 0) ?... | JavaScript |
//>>built
define("dojox/json/ref", ["dojo/_base/kernel", "dojox", "dojo/date/stamp", "dojo/_base/array", "dojo/_base/json"], function(dojo, dojox){
dojo.getObject("json", true, dojox);
return dojox.json.ref = {
// summary:
// Adds advanced JSON {de}serialization capabilities to the base json library.
// This e... | JavaScript |
//>>built
define("dojox/json/ref",["dojo/_base/kernel","dojox","dojo/date/stamp","dojo/_base/array","dojo/_base/json"],function(_1,_2){
_1.getObject("json",true,_2);
return _2.json.ref={resolveJson:function(_3,_4){
_4=_4||{};
var _5=_4.idAttribute||"id";
var _6=this.refAttribute;
var _7=_4.idAsRef;
var _8=_4.idPrefix||... | JavaScript |
//>>built
define("dojox/json/query",["dojo/_base/kernel","dojox","dojo/_base/array"],function(_1,_2){
_1.getObject("json",true,_2);
_2.json._slice=function(_3,_4,_5,_6){
var _7=_3.length,_8=[];
_5=_5||_7;
_4=(_4<0)?Math.max(0,_4+_7):Math.min(_7,_4);
_5=(_5<0)?Math.max(0,_5+_7):Math.min(_7,_5);
for(var i=_4;i<_5;i+=_6){... | JavaScript |
//>>built
define("dojox/json/schema",["dojo/_base/kernel","dojox","dojo/_base/array"],function(_1,_2){
_1.getObject("json.schema",true,_2);
_2.json.schema.validate=function(_3,_4){
return this._validate(_3,_4,false);
};
_2.json.schema.checkPropertyChange=function(_5,_6,_7){
return this._validate(_5,_6,_7||"property");
... | JavaScript |
//>>built
define("dojox/json/schema", ["dojo/_base/kernel", "dojox", "dojo/_base/array"], function(dojo, dojox){
dojo.getObject("json.schema", true, dojox);
dojox.json.schema.validate = function(/*Any*/instance,/*Object*/schema){
// summary:
// To use the validator call this with an instance object and an option... | JavaScript |
//>>built
define(["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.robot.recorder");
_2.experimental("dojox.robot.recorder");
(function(){
var _4=1000;
var _5=500;
var _6=10000;
var _7=[];
var _8=0;
var _9=null;
var _a=null;
var _b=function(){
alert("Started recording.");
_7=[];
_9=new Date();
_a=new Date(... | JavaScript |
//>>built
define(["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.xmpp.ChatService");
_3.xmpp.chat={CHAT_STATE_NS:"http://jabber.org/protocol/chatstates",ACTIVE_STATE:"active",COMPOSING_STATE:"composing",INACTIVE_STATE:"inactive",PAUSED_STATE:"paused",GONE_STATE:"gone"};
_2.declare("dojox.xmpp.ChatService... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/sasl", ["dijit","dojo","dojox","dojo/require!dojox/xmpp/util,dojo/AdapterRegistry,dojox/encoding/digests/MD5"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.sasl");
dojo.require("dojox.xmpp.util");
dojo.require("dojo.AdapterRegistry");
dojo.require("dojox.en... | JavaScript |
//>>built
define(["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.xmpp.UserService");
_2.declare("dojox.xmpp.UserService",null,{constructor:function(_4){
this.session=_4;
},getPersonalProfile:function(){
var _5={id:this.session.getNextIqId(),type:"get"};
var _6=new _3.string.Builder(_3.xmpp.util.createEle... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/RosterService", ["dijit","dojo","dojox"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.RosterService");
dojox.xmpp.roster = {
ADDED: 101,
CHANGED: 102,
REMOVED: 103
}
dojo.declare("dojox.xmpp.RosterService", null, {
constructor: function(xmppSession){
... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/xmppSession", ["dijit","dojo","dojox","dojo/require!dojox/xmpp/TransportSession,dojox/xmpp/RosterService,dojox/xmpp/PresenceService,dojox/xmpp/UserService,dojox/xmpp/ChatService,dojox/xmpp/sasl"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.xmppSession");
d... | JavaScript |
//>>built
define(["dijit","dojo","dojox","dojo/require!dojox/xmpp/util,dojo/AdapterRegistry,dojox/encoding/digests/MD5"],function(_1,_2,_3){
_2.provide("dojox.xmpp.sasl");
_2.require("dojox.xmpp.util");
_2.require("dojo.AdapterRegistry");
_2.require("dojox.encoding.digests.MD5");
_3.xmpp.sasl.saslNS="urn:ietf:params:xm... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/TransportSession", ["dijit","dojo","dojox","dojo/require!dojox/xmpp/bosh,dojox/xmpp/util,dojox/data/dom"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.TransportSession");
dojo.require("dojox.xmpp.bosh");
dojo.require("dojox.xmpp.util");
dojo.require("dojox.d... | JavaScript |
//>>built
define(["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.xmpp.PresenceService");
_3.xmpp.presence={UPDATE:201,SUBSCRIPTION_REQUEST:202,SUBSCRIPTION_SUBSTATUS_NONE:204,SUBSCRIPTION_NONE:"none",SUBSCRIPTION_FROM:"from",SUBSCRIPTION_TO:"to",SUBSCRIPTION_BOTH:"both",SUBSCRIPTION_REQUEST_PENDING:"pend... | JavaScript |
//>>built
define(["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.xmpp.RosterService");
_3.xmpp.roster={ADDED:101,CHANGED:102,REMOVED:103};
_2.declare("dojox.xmpp.RosterService",null,{constructor:function(_4){
this.session=_4;
},addRosterItem:function(_5,_6,_7){
if(!_5){
throw new Error("Roster::addRoster... | JavaScript |
//>>built
define(["dijit","dojo","dojox","dojo/require!dojox/string/Builder,dojox/encoding/base64"],function(_1,_2,_3){
_2.provide("dojox.xmpp.util");
_2.require("dojox.string.Builder");
_2.require("dojox.encoding.base64");
_3.xmpp.util.xmlEncode=function(_4){
if(_4){
_4=_4.replace("&","&").replace(">",">").repl... | JavaScript |
//>>built
define(["dijit","dojo","dojox","dojo/require!dojox/xmpp/bosh,dojox/xmpp/util,dojox/data/dom"],function(_1,_2,_3){
_2.provide("dojox.xmpp.TransportSession");
_2.require("dojox.xmpp.bosh");
_2.require("dojox.xmpp.util");
_2.require("dojox.data.dom");
_3.xmpp.TransportSession=function(_4){
this.sendTimeout=(this... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/UserService", ["dijit","dojo","dojox"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.UserService");
dojo.declare("dojox.xmpp.UserService", null, {
constructor: function(xmppService){
this.session= xmppService;
},
getPersonalProfile: function(){
var r... | JavaScript |
//>>built
define(["dijit","dojo","dojox","dojo/require!dojo/io/script,dojo/io/iframe,dojox/xml/parser"],function(_1,_2,_3){
_2.provide("dojox.xmpp.bosh");
_2.require("dojo.io.script");
_2.require("dojo.io.iframe");
_2.require("dojox.xml.parser");
_3.xmpp.bosh={transportIframes:[],initialize:function(_4){
this.transport... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/widget/ChatSession", ["dijit","dojo","dojox","dojo/require!dijit/layout/LayoutContainer,dijit/_Templated"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.widget.ChatSession");
dojo.require("dijit.layout.LayoutContainer");
dojo.require("dijit._Templated");
do... | JavaScript |
//>>built
define(["dijit","dojo","dojox","dojo/require!dijit/layout/LayoutContainer,dijit/_Templated"],function(_1,_2,_3){
_2.provide("dojox.xmpp.widget.ChatSession");
_2.require("dijit.layout.LayoutContainer");
_2.require("dijit._Templated");
_2.declare("dojox.xmpp.widget.ChatSession",[_1.layout.LayoutContainer,_1._Te... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/ChatService", ["dijit","dojo","dojox"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.ChatService");
dojox.xmpp.chat = {
CHAT_STATE_NS: 'http://jabber.org/protocol/chatstates',
ACTIVE_STATE: 'active',
COMPOSING_STATE: 'composing',
INACTIVE_STATE: 'inacti... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/bosh", ["dijit","dojo","dojox","dojo/require!dojo/io/script,dojo/io/iframe,dojox/xml/parser"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.bosh");
dojo.require("dojo.io.script");
dojo.require("dojo.io.iframe");
dojo.require("dojox.xml.parser");
/*=====
doj... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/PresenceService", ["dijit","dojo","dojox"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.PresenceService");
dojox.xmpp.presence = {
UPDATE: 201,
SUBSCRIPTION_REQUEST: 202,
// SUBSCRIPTION_REQUEST_PENDING: 203,
/* used when 'ask' attribute is absent on a r... | JavaScript |
//>>built
// wrapped by build app
define("dojox/xmpp/util", ["dijit","dojo","dojox","dojo/require!dojox/string/Builder,dojox/encoding/base64"], function(dijit,dojo,dojox){
dojo.provide("dojox.xmpp.util");
dojo.require("dojox.string.Builder");
dojo.require("dojox.encoding.base64");
dojox.xmpp.util.xmlEncode = function(... | JavaScript |
//>>built
define("dojox/sketch/LeadAnnotation", ["dojo/_base/kernel", "dojo/_base/lang", "./Annotation", "./Anchor"], function(dojo){
dojo.getObject("sketch", true, dojox);
var ta=dojox.sketch;
ta.LeadAnnotation=function(figure, id){
ta.Annotation.call(this, figure, id);
this.transform={dx:0, dy:0 };
this.sta... | JavaScript |
//>>built
define("dojox/sketch/Figure", [
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/connect",
"dojo/_base/html",
"../gfx",
"../xml/DomParser",
"./UndoStack"
], function(dojo){
dojo.experimental("dojox.sketch");
var ta=dojox.sketch;
ta.tools={};
ta.registerTool=function(type, fn){ ta.tools[type]=fn... | JavaScript |
//>>built
define("dojox/sketch/UnderlineAnnotation",["./Annotation","./Anchor"],function(){
var ta=dojox.sketch;
ta.UnderlineAnnotation=function(_1,id){
ta.Annotation.call(this,_1,id);
this.transform={dx:0,dy:0};
this.start={x:0,y:0};
this.property("label","#");
this.labelShape=null;
this.lineShape=null;
};
ta.Underlin... | JavaScript |
//>>built
define("dojox/sketch/Anchor", [
"dojo/_base/kernel",
"dojo/_base/lang",
"../gfx"
], function(dojo){
dojo.getObject("sketch", true, dojox);
dojox.sketch.Anchor=function(an, id, isControl){
var self=this;
var size=4; // .5 * size of anchor.
var rect=null;
this.type=function(){ return "Anchor"; };... | JavaScript |
//>>built
define("dojox/sketch/UndoStack", [
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/declare",
"../xml/DomParser"
], function(dojo){
dojo.getObject("sketch", true, dojox);
var ta=dojox.sketch;
ta.CommandTypes={ Create:"Create", Move:"Move", Modify:"Modify", Delete:"Delete", Convert:"Convert"};
dojo... | JavaScript |
//>>built
define("dojox/sketch/LeadAnnotation",["dojo/_base/kernel","dojo/_base/lang","./Annotation","./Anchor"],function(_1){
_1.getObject("sketch",true,dojox);
var ta=dojox.sketch;
ta.LeadAnnotation=function(_2,id){
ta.Annotation.call(this,_2,id);
this.transform={dx:0,dy:0};
this.start={x:0,y:0};
this.control={x:100,... | JavaScript |
//>>built
define("dojox/sketch/Slider", [
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/declare",
"dijit/form/HorizontalSlider",
"./_Plugin"
], function(dojo){
dojo.getObject("sketch", true, dojox);
dojo.declare("dojox.sketch.Slider", dojox.sketch._Plugin,{
_initButton: function(){
this.slider=new dij... | JavaScript |
//>>built
define("dojox/sketch/Anchor",["dojo/_base/kernel","dojo/_base/lang","../gfx"],function(_1){
_1.getObject("sketch",true,dojox);
dojox.sketch.Anchor=function(an,id,_2){
var _3=this;
var _4=4;
var _5=null;
this.type=function(){
return "Anchor";
};
this.annotation=an;
this.id=id;
this._key="anchor-"+dojox.sketch.... | JavaScript |
//>>built
define("dojox/sketch/Slider",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","dijit/form/HorizontalSlider","./_Plugin"],function(_1){
_1.getObject("sketch",true,dojox);
_1.declare("dojox.sketch.Slider",dojox.sketch._Plugin,{_initButton:function(){
this.slider=new dijit.form.HorizontalSlider({minim... | JavaScript |
//>>built
define("dojox/sketch/UndoStack",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","../xml/DomParser"],function(_1){
_1.getObject("sketch",true,dojox);
var ta=dojox.sketch;
ta.CommandTypes={Create:"Create",Move:"Move",Modify:"Modify",Delete:"Delete",Convert:"Convert"};
_1.declare("dojox.sketch.UndoSt... | JavaScript |
//>>built
define("dojox/sketch/_Plugin", [
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/array",
"dojo/_base/declare",
"dojo/_base/connect",
"dijit/form/ToggleButton"
], function(dojo){
dojo.getObject("sketch", true, dojox);
dojo.declare("dojox.sketch._Plugin", null, {
// summary
// This represents a... | JavaScript |
//>>built
define("dojox/sketch/UnderlineAnnotation", ["./Annotation", "./Anchor"], function(){
var ta=dojox.sketch;
ta.UnderlineAnnotation=function(figure, id){
ta.Annotation.call(this, figure, id);
this.transform={dx:0, dy:0};
this.start={x:0, y:0};
this.property('label','#');
this.labelShape=null;
this.... | JavaScript |
//>>built
define("dojox/sketch/SingleArrowAnnotation",["dojo/_base/kernel","dojo/_base/lang","./Annotation","./Anchor"],function(_1){
_1.getObject("sketch",true,dojox);
var ta=dojox.sketch;
ta.SingleArrowAnnotation=function(_2,id){
ta.Annotation.call(this,_2,id);
this.transform={dx:0,dy:0};
this.start={x:0,y:0};
this.c... | JavaScript |
//>>built
define("dojox/sketch/Figure",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/connect","dojo/_base/html","../gfx","../xml/DomParser","./UndoStack"],function(_1){
_1.experimental("dojox.sketch");
var ta=dojox.sketch;
ta.tools={};
ta.registerTool=function(_2,fn){
ta.tools[_2]=fn;
};
ta.Figure=function(_3){
va... | JavaScript |
//>>built
define("dojox/sketch/DoubleArrowAnnotation", ["dojo/_base/kernel", "dojo/_base/lang", "./Annotation", "./Anchor"], function(dojo){
dojo.getObject("sketch", true, dojox);
var ta=dojox.sketch;
console.log(ta);
ta.DoubleArrowAnnotation=function(figure, id){
ta.Annotation.call(this, figure, id);
this.tran... | JavaScript |
//>>built
define("dojox/sketch/Toolbar", [
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/declare",
"./Annotation",
"dijit/Toolbar",
"dijit/form/Button"
], function(dojo){
dojo.getObject("sketch", true, dojox);
dojo.declare("dojox.sketch.ButtonGroup", null, {
constructor: function(){
this._childMaps={... | JavaScript |
//>>built
define("dojox/sketch/PreexistingAnnotation",["dojo/_base/kernel","dojo/_base/lang","./Annotation","./Anchor"],function(_1){
_1.getObject("sketch",true,dojox);
var ta=dojox.sketch;
ta.PreexistingAnnotation=function(_2,id){
ta.Annotation.call(this,_2,id);
this.transform={dx:0,dy:0};
this.start={x:0,y:0};
this.e... | JavaScript |
//>>built
define("dojox/sketch/Toolbar",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","./Annotation","dijit/Toolbar","dijit/form/Button"],function(_1){
_1.getObject("sketch",true,dojox);
_1.declare("dojox.sketch.ButtonGroup",null,{constructor:function(){
this._childMaps={};
this._children=[];
},add:functi... | JavaScript |
//>>built
define("dojox/sketch/PreexistingAnnotation", ["dojo/_base/kernel", "dojo/_base/lang", "./Annotation", "./Anchor"], function(dojo){
dojo.getObject("sketch", true, dojox);
var ta=dojox.sketch;
ta.PreexistingAnnotation=function(figure, id){
ta.Annotation.call(this, figure, id);
this.transform={dx:0, dy:0... | JavaScript |
//>>built
define("dojox/sketch/Annotation", [
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/declare",
"dojo/_base/json",
"./Anchor",
"./_Plugin"
], function(dojo){
dojo.declare("dojox.sketch.AnnotationTool", dojox.sketch._Plugin, {
onMouseDown: function(e){
this._omd=true;
},
onMouseMove: function... | JavaScript |
//>>built
define("dojox/sketch/_Plugin",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/connect","dijit/form/ToggleButton"],function(_1){
_1.getObject("sketch",true,dojox);
_1.declare("dojox.sketch._Plugin",null,{constructor:function(_2){
if(_2){
_1.mixin(this,_2);
}
this._con... | JavaScript |
//>>built
define("dojox/sketch/SingleArrowAnnotation", ["dojo/_base/kernel", "dojo/_base/lang", "./Annotation", "./Anchor"], function(dojo){
dojo.getObject("sketch", true, dojox);
var ta=dojox.sketch;
ta.SingleArrowAnnotation=function(figure, id){
ta.Annotation.call(this, figure, id);
this.transform={ dx:0, dy:... | JavaScript |
//>>built
define("dojox/sketch/DoubleArrowAnnotation",["dojo/_base/kernel","dojo/_base/lang","./Annotation","./Anchor"],function(_1){
_1.getObject("sketch",true,dojox);
var ta=dojox.sketch;
ta.DoubleArrowAnnotation=function(_2,id){
ta.Annotation.call(this,_2,id);
this.transform={dx:0,dy:0};
this.start={x:0,y:0};
this.c... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.