rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}...
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this....
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}...
var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function () { if (xhr.readyState === 4) { if (request.results.inline) { chrome.extension.sendRequest({ validateLocal : true, html : xhr.responseText } ); } else { var htmlForm = document.createElement("form"), htmlInput = document.createElement("input"); htmlF...
if (request.results.inline) { chrome.extension.sendRequest({ validateLocal : true, html : getPageHTMLCode() } ); } else { chrome.extension.sendRequest({ openNewTabForForm : true, url : location.href } ); }
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
validationInfoLink = $('<div id="html-validation-source">Validation provided by <a href="http:
if (!/Form Submission/.test(url)) { validationInfoLink = $('<div id="html-validation-source">Validation provided by <a href="http: }
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
init : init
init : init, postForm : postForm
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey && evt.keyCode === 86) { if (!hasBeenValidated) { validate(); } else { hideResultsPresentation();
if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey) { if (evt.keyCode === 86) { validate("new-tab"); } else if (evt.keyCode === 65) { receiveRequest({ results : { "message" : "validate-local-html" } });
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
var htmlForm = $("#post-html-for-validation"); if (htmlForm.length === 0) { htmlForm = $('<form id="post-html-for-validation" method="post" action="' + "http: } htmlForm[0].submit();
var htmlForm = document.createElement("form"), htmlInput = document.createElement("input"); htmlForm.action = "http: htmlForm.method = "post"; htmlForm.enctype = "multipart/form-data"; htmlForm.target = "_blank"; htmlInput.type = "text"; htmlInput.name = "fragment"; htmlInput.value = xhr.responseText; htmlForm.appen...
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
if (!(/acid3.acidtests.org|\.(png|gif|jpe?g)/.test(location.href))) {
if (!(/acid3.acidtests.org|\.(png|gif|jpe?g)$/.test(location.href))) {
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
$('<form id="post-html-for-validation" method="post" action="' + "http:
htmlForm = $('<form id="post-html-for-validation" method="post" action="' + "http:
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
chrome.extension.sendRequest({ sendPageHTMLToValidator : true, pageHTML : xhr.responseText } );
$('<form id="post-html-for-validation" method="post" action="' + "http:
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
$('<form id="post-html-for-validation" method="post" action="' + "http:
var htmlForm = $("#post-html-for-validation"); if (htmlForm.length === 0) { $('<form id="post-html-for-validation" method="post" action="' + "http: } htmlForm[0].submit();
var htmlvalidator = function () { var hasBeenValidated = false, body = $(document.body), resultsPresentation, loading, messagePresentation, messagePresentationContent, url, errors, errorLength, init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.ext...
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.index...
e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFi...
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.index...
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.index...
[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!...
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.index...
g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(...
[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!...
g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(...
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTag...
"")+" ";if(q)return g;q=0;for(var u;(u=i[q])!=null;q++)if(u)if(p^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-...
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTag...
IfChangedNode: function (node_list) {
IfChangedNode: function (node_list, else_list, parts) {
IfChangedNode: function (node_list) { var last; return function (context, callback) { node_list.evaluate(context, function (error, result) { if (result !== last) { last = result; callback(error, result); } else { ...
} else if (!error && else_list) { else_list.evaluate(context, callback);
IfChangedNode: function (node_list) { var last; return function (context, callback) { node_list.evaluate(context, function (error, result) { if (result !== last) { last = result; callback(error, result); } else { ...
IfEqualNode: function (node_list, first, second) {
IfEqualNode: function (node_list, else_list, first, second) {
IfEqualNode: function (node_list, first, second) { return function (context, callback) { if (context.get(first) == context.get(second)) { node_list.evaluate(context, callback); } else { callback(false, ''); } }; },
} else if (else_list) { else_list.evaluate(context, callback);
IfEqualNode: function (node_list, first, second) { return function (context, callback) { if (context.get(first) == context.get(second)) { node_list.evaluate(context, callback); } else { callback(false, ''); } }; },
} else if (else_node_list.length) {
} else if (else_node_list) {
IfNode: function (item_names, not_item_names, operator, if_node_list, else_node_list) { return function (context, callback) { function not(x) { return !x; } function and(p,c) { return p && c; } function or(p,c) { return p || c; } var items = item_names.map( context...
IfNotEqualNode: function (node_list, first, second) {
IfNotEqualNode: function (node_list, else_list, first, second) {
IfNotEqualNode: function (node_list, first, second) { return function (context, callback) { if (context.get(first) != context.get(second)) { node_list.evaluate(context, callback); } else { callback(false, ''); } }; },
} else if (else_list) { else_list.evaluate(context, callback);
IfNotEqualNode: function (node_list, first, second) { return function (context, callback) { if (context.get(first) != context.get(second)) { node_list.evaluate(context, callback); } else { callback(false, ''); } }; },
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme...
[];return{browser:j[1]||"",version:j[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(j,s){R["[object "+s+"]"]=s.toLowerCase()});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(D)b....
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme...
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this....
h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(...
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this....
init: function() { this.sessionHeartbeat = new ORBEON.util.Property("session-heartbeat", true); this.sessionHeartbeatDelay = new ORBEON.util.Property("session-heartbeat-delay", 12 * 60 * 60 * 800); this.revisitHandling = new ORBEON.util.Property("revisit-handling", "restore"); this.fckEditorBasePath = new ORBEON.util.P...
this.prototype.init = function() { if (! this.initialized) { originalInit.call(this); this.initialized = true; } }
init: function() { this.sessionHeartbeat = new ORBEON.util.Property("session-heartbeat", true); this.sessionHeartbeatDelay = new ORBEON.util.Property("session-heartbeat-delay", 12 * 60 * 60 * 800); // 80 % of 12 hours in ms this.revisitHandling = new ORBEON.util.Property("revisi...
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEMSET', bind(this, function(request) { var onMutated = bind(this, '_onItemSetMutated') this._itemSetSubs = this.server.subscribeToItemSetMutations(request.id, onMutated,
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEMSET', bind(this, function(args) { var itemSetId = args.id onMutated = bind(this, '_onItemSetMutated') this._itemSetSubs[itemSetId] = this.server.subscribeToItemSetMutations(itemSetId, onMutated,
this.init = function() { supr(this, 'init') this._requestHandlers = {} this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id var onMutated = bind(this, function(mutation) { this.sendFrame('FIN_EVENT_ITEM_MUTATED', mutation) }) this._itemSubs[itemId] = this.ser...
this.prototype.init = function() { if (! this.initialized) { originalInit.call(this); this.initialized = true; ORBEON.xforms.XBL.componentInitialized.fire(this); } }
init: function() { this.sessionHeartbeat = new ORBEON.util.Property("session-heartbeat", true); this.sessionHeartbeatDelay = new ORBEON.util.Property("session-heartbeat-delay", 12 * 60 * 60 * 800); this.revisitHandling = new ORBEON.util.Property("revisit-handling", "restore"); this.fckEditorBasePath = new ORBEON.util.P...
this.prototype.init = function() { if (! this.initialized) { originalInit.call(this); this.initialized = true; ORBEON.xforms.XBL.componentInitialized.fire(this); } ...
var container = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-container xforms-group xforms-readonly", null, this.container)[0]; if (YAHOO.util.Dom.hasClass(container, "xforms-readonly")) return;
init: function() { this.searchControl = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-search", null, this.container)[0]; this.searchField = YAHOO.util.Dom.getChildren(this.searchControl)[0]; var yuiDiv = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-yui-div", null, this.contai...
var container = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-container xforms-group xforms-readonly", null, this.container)[0];
var container = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-container", null, this.container)[0];
init: function() { // We don't support the autocomplete in readonly mode, so completely skip the initialization in that case var container = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-container xforms-group xforms-readonly", null, this.container)[0]; if (YAHOO.util.Dom.hasClass(con...
ORBEON.xforms.Events.ajaxResponseProcessedEvent.subscribe(this.ajaxResponseProcessed, this, true);
ORBEON.xforms.Events.ajaxResponseProcessedEvent.subscribe(function() { YAHOO.xbl.fr.Autocomplete.instance(container).ajaxResponseProcessed(); });
init: function() { // We don't support the autocomplete in readonly mode, so completely skip the initialization in that case var container = YAHOO.util.Dom.getElementsByClassName("fr-autocomplete-container xforms-group xforms-readonly", null, this.container)[0]; if (YAHOO.util.Dom.hasClass(con...
this.select1Control = YAHOO.util.Dom.getElementsByClassName("fr-select1-button-select1", null, this.container)[0]; this.htmlSelect = ORBEON.util.Dom.getElementByTagName(this.select1Control , "select");
this.select1ControlId = YAHOO.util.Dom.getElementsByClassName("fr-select1-button-select1", null, this.container)[0].id;
init: function() { // Get references to HTML elements this.htmlButton = YAHOO.util.Dom.getElementsByClassName("fr-select1-button-button", null, this.container)[0]; this.select1Control = YAHOO.util.Dom.getElementsByClassName("fr-select1-button-select1", null, this.container)[0]; this.html...
var initialValue = ORBEON.xforms.Document.getValue(this.select1Control.id); for (var optionIndex = 0; optionIndex < this.htmlSelect.options.length; optionIndex++) { var option = this.htmlSelect.options[optionIndex]; if (option.value == initialValue) { this.yuiButton.set("label", option.text); break; } }
this.valueChanged();
init: function() { // Get references to HTML elements this.htmlButton = YAHOO.util.Dom.getElementsByClassName("fr-select1-button-button", null, this.container)[0]; this.select1Control = YAHOO.util.Dom.getElementsByClassName("fr-select1-button-select1", null, this.container)[0]; this.html...
this._listComponent = new browser.ListComponent(bind(this, '_onItemSelected'));
this._listComponent = new browser.ListComponent();
this.init = function() { supr(this, 'init', arguments); this._listComponent = new browser.ListComponent(bind(this, '_onItemSelected')); }
var localItemStore = new client.ItemLocalStore() this._itemFactory = new shared.ItemFactory(localItemStore) var localItemSetStore = new client.ItemSetLocalStore() this._itemSetFactory = new shared.ItemSetFactory(this._itemFactory, localItemSetStore) this._viewFactory = new client.ViewFactory(this) this._templateFacto...
this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { this._executeCallback(response._requestId, response.data)
this.init = function() { this._requestCallbacks = {} this._client = new client.Client() var localItemStore = new client.ItemLocalStore() this._itemFactory = new shared.ItemFactory(localItemStore) var localItemSetStore = new client.ItemSetLocalStore() this._itemSetFactory = new shared.ItemSetFactory(this._ite...
this._itemSetFactory.subscribe('ReductionAdded', bind(this, function(itemSetId, reductionId) { this._client.sendFrame('FIN_REQUEST_ADD_REDUCTION', { id: itemSetId, reductionId: reductionId }) })) this.handleEvent('FIN_RESPONSE_ITEM_EXISTS', bind(this, function(response) { this._executeCallback(response._requestId, res...
this._client.registerEventHandler('FIN_EVENT_ITEM_MUTATED', bind(this, function(mutationJSON) { var mutation = JSON.parse(mutationJSON), keyInfo = shared.keys.getKeyInfo(mutation.args[0]) channel = shared.keys.getItemPropertyChannel(keyInfo.id, keyInfo.prop) subs = this._subriptionPool.get(channel) for (var subId in s...
this.init = function() { this._requestCallbacks = {} this._client = new client.Client() var localItemStore = new client.ItemLocalStore() this._itemFactory = new shared.ItemFactory(localItemStore) var localItemSetStore = new client.ItemSetLocalStore() this._itemSetFactory = new shared.ItemSetFactory(this._ite...
this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._lockKey = lockKey for (var propName in this._query) { var propChannel = shared.keys.getPropertyChannel(propName), propKeyP...
exports.init = function(redis) { _redis = redis _redisLockClient = _redis.createClient() _redisLockClient.stream.setTimeout(0) _redisRequestClient = _redis.createClient() _redisRequestClient.stream.setTimeout(0) _redisRequestClient.stream.addListener('connect', function() { _redisRequestClient.subscribeTo(shared.keys....
this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._lockKey = lockKey for (var propName in this._query) { var propChannel = shared.keys.getPropertyChannel(propName),...
this.init = function(itemStore, itemSetStore) {
this.init = function(redis, subscriptionStore) {
this.init = function(itemStore, itemSetStore) { supr(this, 'init', [server.Connection]) this._uniqueId = 0 this._itemStore = itemStore this._itemFactory = new shared.ItemFactory(itemStore) this._itemSetFactory = new shared.ItemSetFactory(this._itemFactory, itemSetStore) this._databaseScheduledWrites = {} this...
this._itemStore = itemStore this._itemFactory = new shared.ItemFactory(itemStore) this._itemSetFactory = new shared.ItemSetFactory(this._itemFactory, itemSetStore) this._databaseScheduledWrites = {} this._itemSubscriberPool = new shared.SubscriptionPool() this._itemSetSubscriberPool = new shared.SubscriptionPool()
this._redisClient = this._createRedisClient()
this.init = function(itemStore, itemSetStore) { supr(this, 'init', [server.Connection]) this._uniqueId = 0 this._itemStore = itemStore this._itemFactory = new shared.ItemFactory(itemStore) this._itemSetFactory = new shared.ItemSetFactory(this._itemFactory, itemSetStore) this._databaseScheduledWrites = {} this...
this.init = function(database) {
this.init = function(database, itemSetStore) {
this.init = function(database) { supr(this, 'init', [server.Connection]); this._mutationSubscriptions = {}; this._uniqueId = 0; this._database = database; this._databaseScheduledWrites = {} }
this._mutationSubscriptions = {};
this.init = function(database) { supr(this, 'init', [server.Connection]); this._mutationSubscriptions = {}; this._uniqueId = 0; this._database = database; this._databaseScheduledWrites = {} }
this._itemSubscriberPool = new common.SubscriptionPool() this._itemSetSubscriberPool = new common.SubscriptionPool()
this.init = function(database) { supr(this, 'init', [server.Connection]); this._mutationSubscriptions = {}; this._uniqueId = 0; this._database = database; this._databaseScheduledWrites = {} }
var keys = keysBytes.toString().split(',') logger.log("Clearing out query lock keys", keys)
var keys = keysBytes.toString().substr(1).split(',L') logger.log("Clear out query lock keys", keys)
this.init = function(redis, connectionCtor) { supr(this, 'init', [connectionCtor]) this._redis = redis this._uniqueId = 0 this._redisClient = this._createRedisClient() // TODO For now we clear out all the query locks on every start up. // This is because if the query observer loses its connection to // the red...
this._redisClient.del(key)
this._redisClient.del('L' + key, function(err) { if (err) { throw logger.error("Could not clear out key") } })
this.init = function(redis, connectionCtor) { supr(this, 'init', [connectionCtor]) this._redis = redis this._uniqueId = 0 this._redisClient = this._createRedisClient() // TODO For now we clear out all the query locks on every start up. // This is because if the query observer loses its connection to // the red...
this.init = function() {
this.init = function(id, redisClient) {
this.init = function() { supr(this, 'init') this._requestHandlers = {} this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id var onMutated = bind(this, function(mutation) { if (mutation._session == this.getSessionId()) { return } this.sendFrame('FIN_EVENT_ITEM_...
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id var onMutated = bind(this, function(mutation) { if (mutation._session == this.getSessionId()) { return } this.sendFrame('FIN_EVENT_ITEM_MUTATED', mutation) }) this._itemSubs[itemId] = this.server.subscribeToItemMutations(it...
this._setupHandlers()
this.init = function() { supr(this, 'init') this._requestHandlers = {} this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id var onMutated = bind(this, function(mutation) { if (mutation._session == this.getSessionId()) { return } this.sendFrame('FIN_EVENT_ITEM_...
ORBEON.xforms.XBL.componentInitialized.fire(this);
this.prototype.init = function() { if (! this.initialized) { originalInit.call(this); this.initialized = true; } }
}};})();(function(){var C=YAHOO.util.Dom,A=YAHOO.util.Event,D=YAHOO.lang,B=YAHOO.widget.Toolbar;YAHOO.widget.Editor=function(F,E){YAHOO.widget.Editor.superclass.constructor.call(this,F,E);};YAHOO.extend(YAHOO.widget.Editor,YAHOO.widget.SimpleEditor,{_undoCache:null,_undoLevel:null,_hasUndoLevel:function(){return(this._...
(function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==...
}};})();(function(){var C=YAHOO.util.Dom,A=YAHOO.util.Event,D=YAHOO.lang,B=YAHOO.widget.Toolbar;YAHOO.widget.Editor=function(F,E){YAHOO.widget.Editor.superclass.constructor.call(this,F,E);};YAHOO.extend(YAHOO.widget.Editor,YAHOO.widget.SimpleEditor,{_undoCache:null,_undoLevel:null,_hasUndoLevel:function(){return(this._...
console.dir(text.parseJson()) return text.parseJson();
return oldDecode(text);
C.init=function(){ C.body = Ext.get(document.body); C.msgCt = Ext.DomHelper.insertFirst(C.body, {id:'msg-div'}, true); var oldDecode = Ext.util.JSON.decode; Ext.decode = Ext.util.JSON.decode = function(text){ try{ console.dir(text.parseJson()) return text.parseJson(); } catch(e){ new Ext.Window({ ...
common.itemFactory.loadItemSnapshot(properties)
common.itemFactory.handleItemSnapshot(properties)
this.init = function() { this._client = new browser.Client(); // Whenever a new item is created, subscribe to it and hook up to send mutations to server common.itemFactory.subscribe('ItemCreated', bind(this, function(item) { this._client.sendFrame('FIN_REQUEST_SUBSCRIBE_ITEM', { id: item.getId() }); item.subs...
var item = common.itemFactory.getItem(mutation._id) item.applyMutation(mutation);
common.itemFactory.handleMutation(mutation)
this.init = function() { this._client = new browser.Client(); // Whenever a new item is created, subscribe to it and hook up to send mutations to server common.itemFactory.subscribe('ItemCreated', bind(this, function(item) { this._client.sendFrame('FIN_REQUEST_SUBSCRIBE_ITEM', { id: item.getId() }); item.subs...
this.handleEvent('FIN_EVENT_ITEMSET_MUTATED', bind(this, function(mutation) { var itemSet = this._itemSetFactory.getItemSetById(mutation._id) console.log("TODO handle item set mutation") })) this.handleEvent('FIN_EVENT_ITEMSET_SNAPSHOT', bind(this, function(mutation) { console.log("TODO handle item set snapshot") }))
this.init = function() { this._client = new browser.Client(); // Whenever a new item is created, subscribe to it and hook up to send mutations to server common.itemFactory.subscribe('ItemCreated', bind(this, function(item) { this._client.sendFrame('FIN_REQUEST_SUBSCRIBE_ITEM', { id: item.getId() }); item.subs...
var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (ORBEON.widgets.datatable.datatables[id] == undefined || container.fr_dt_initialized == undefined) { var table = YAHOO.util.Selector.query('table', target.parentNode, false)[0]; var region = YAHOO.util.Region.getRegion(table); if ((re...
if (container != undefined && container.id != undefined) { var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (ORBEON.widgets.datatable.datatables[id] == undefined || container.fr_dt_initialized == undefined) { var table = YAHOO.util.Selector.query('table', target.parentNode, false)[0...
ORBEON.widgets.datatable.init = function (target, innerTableWidth) { // Initializes a datatable (called by xforms-enabled events) var container = YAHOO.util.Dom.getAncestorByClassName(target, 'xbl-fr-datatable'); var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (O...
setTimeout(function() { ORBEON.widgets.datatable.init(target, innerTableWidth); }, 100);
ORBEON.widgets.datatable.datatables[id].update();
ORBEON.widgets.datatable.init = function (target, innerTableWidth) { // Initializes a datatable (called by xforms-enabled events) var container = YAHOO.util.Dom.getAncestorByClassName(target, 'xbl-fr-datatable'); var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (O...
} else { ORBEON.widgets.datatable.datatables[id].update();
ORBEON.widgets.datatable.init = function (target, innerTableWidth) { // Initializes a datatable (called by xforms-enabled events) var container = YAHOO.util.Dom.getAncestorByClassName(target, 'xbl-fr-datatable'); var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (O...
text:title,
text:title
C.init=function(){ C.body = Ext.get(document.body); C.msgCt = Ext.DomHelper.insertFirst(C.body, {id:'msg-div'}, true); var oldDecode = Ext.util.JSON.decode; Ext.decode = Ext.util.JSON.decode = function(text){ try{ return oldDecode(text); } catch(e){ new Ext.Window({ id:"decode_error", layout:'fi...
text:"&nbsp;".repeat(10),
text:"&nbsp;".repeat(10)
C.init=function(){ C.body = Ext.get(document.body); C.msgCt = Ext.DomHelper.insertFirst(C.body, {id:'msg-div'}, true); var oldDecode = Ext.util.JSON.decode; Ext.decode = Ext.util.JSON.decode = function(text){ try{ return oldDecode(text); } catch(e){ new Ext.Window({ id:"decode_error", layout:'fi...
Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){...
C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.pro...
Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){...
this.server.getItem(itemId, bind(this, function(item) { var callback = bind(this, 'sendFrame', 'FIN_EVENT_ITEM_MUTATED') this._itemSubscriptions[itemId] = this.server.subscribeToItemMutations(item, callback) this.sendFrame('FIN_EVENT_ITEM_SNAPSHOT', item.getProperties()) }))
var onMutated = bind(this, function(mutation) { this.sendFrame('FIN_EVENT_ITEM_MUTATED', mutation) }) this._itemSubs[itemId] = this.server.subscribeToItemMutations(itemId, onMutated, bind(this, 'sendFrame', 'FIN_EVENT_ITEM_SNAPSHOT'))
this.init = function() { supr(this, 'init') this._requestHandlers = {} this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id this._log('subscribing to item', itemId) this.server.getItem(itemId, bind(this, function(item) { var callback = bind(this, 'sendFrame', '...
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEMSET', bind(this, function(request) { var onMutated = bind(this, '_onItemSetMutated') this._itemSetSubs = this.server.subscribeToItemSetMutations(request.id, onMutated, bind(this, 'sendFrame', 'FIN_EVENT_ITEMSET_SNAPSHOT')) }))
this.init = function() { supr(this, 'init') this._requestHandlers = {} this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id this._log('subscribing to item', itemId) this.server.getItem(itemId, bind(this, function(item) { var callback = bind(this, 'sendFrame', '...
this._client.registerEventHandler('FIN_EVENT_ITEM_MUTATED', bind(this, function(mutationJSON) { var mutation = JSON.parse(mutationJSON) this._handleItemMutation(mutation) })) this._client.registerEventHandler('FIN_EVENT_QUERY_MUTATED', bind(this, function(mutationJSON) { this._handleQueryMutation(JSON.parse(mutationJS...
this._client.registerEventHandler('FIN_EVENT_MUTATION', bind(this, function(mutationJSON) { this._handleMutation(JSON.parse(mutationJSON))
this.init = function() { this._requestCallbacks = {} this._viewFactory = new client.ViewFactory() this._templateFactory = new client.TemplateFactory(this._viewFactory) this._client = new client.Client() this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { this._executeCallback...
this._type = null;
this.init = function(factory, id) { supr(this, 'init'); this._properties = { _id: id, _rev: null }; this._factory = factory; this._type = null; this._propertySubscriptions = {}; }
if (authenticated===true){
if (authenticated===true && hasAccess == true){
C.init=function(){ this.currentDs =startDs; C.body = Ext.get(document.body); C.msgCt = Ext.DomHelper.insertFirst(C.body, {id:'msg-div'}, true); var oldDecode = Ext.util.JSON.decode; Ext.decode = Ext.util.JSON.decode = function(text){ try{ return oldDecode(text); } catch(e){ new Ext.Window({ id:"dec...
"title=" +escape("DB Administrator Login")
"title=" +escape("DB Administrator Login"), hasAccess?"":"message=You do not have access to this application"
C.init=function(){ this.currentDs =startDs; C.body = Ext.get(document.body); C.msgCt = Ext.DomHelper.insertFirst(C.body, {id:'msg-div'}, true); var oldDecode = Ext.util.JSON.decode; Ext.decode = Ext.util.JSON.decode = function(text){ try{ return oldDecode(text); } catch(e){ new Ext.Window({ id:"dec...
this._counts = {}
this.init = function() { this._pool = {} this._uniqueId = 0 }
C.tasks.main();
C.init=function(){ C.body = Ext.get(document.body); C.msgCt = Ext.DomHelper.insertFirst(C.body, {id:'msg-div'}, true); var oldDecode = Ext.util.JSON.decode; Ext.decode = Ext.util.JSON.decode = function(text){ try{ console.dir(text.parseJson()) return text.parseJson(); } catch(e){ new Ext.Window({ ...
var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (ORBEON.widgets.datatable.datatables[id] == undefined || container.fr_dt_initialized == undefined) { var region = YAHOO.util.Region.getRegion(container); if ((region.left >= 0 && region.top >= 0) && (region.left < region.right) && (r...
if (container != undefined && container.id != undefined) { var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (ORBEON.widgets.datatable.datatables[id] == undefined || container.fr_dt_initialized == undefined) { var region = YAHOO.util.Region.getRegion(container); if ((region.left >= ...
ORBEON.widgets.datatable.init = function (target, innerTableWidth) { // Initializes a datatable (called by xforms-enabled events) var container = YAHOO.util.Dom.getAncestorByClassName(target, 'xbl-fr-datatable'); var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (O...
setTimeout(function() { ORBEON.widgets.datatable.init(target, innerTableWidth); }, 100);
ORBEON.widgets.datatable.datatables[id].update();
ORBEON.widgets.datatable.init = function (target, innerTableWidth) { // Initializes a datatable (called by xforms-enabled events) var container = YAHOO.util.Dom.getAncestorByClassName(target, 'xbl-fr-datatable'); var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (O...
} else { ORBEON.widgets.datatable.datatables[id].update();
ORBEON.widgets.datatable.init = function (target, innerTableWidth) { // Initializes a datatable (called by xforms-enabled events) var container = YAHOO.util.Dom.getAncestorByClassName(target, 'xbl-fr-datatable'); var id = container.id; if (! YAHOO.util.Dom.hasClass(target, 'xforms-disabled')) { if (O...
var pathToSwf = ORBEON.xforms.Globals.resourcesBaseURL + uriToSwf + "/" + swf + ".swf?registerWithJS=1";
var resourcesBaseURL = ORBEON.xforms.Globals.resourcesBaseURL[ORBEON.xforms.Controls.getForm(this.container).id]; var pathToSwf = resourcesBaseURL + uriToSwf + "/" + swf + ".swf?registerWithJS=1";
init: function() { // Get information from the DOM var chartDiv = YAHOO.util.Dom.getElementsByClassName("xbl-fr-fusion-charts-chart-div", null, this.container)[0]; this.xmlSpan = YAHOO.util.Dom.getElementsByClassName("xbl-fr-fusion-charts-xml", null, this.container)[0]; var uriToSwfEleme...
var referenceItemId = sourceItem.getProperty(itemReferencePropertyName);
var referenceItemId = sourceItem.getProperty(itemReferencePropertyName, true);
this.init = function(sourceItem, referencedItemType, itemReferencePropertyName) { supr(this, 'init'); this._proxiedCalls = []; this._referencedItemType = referencedItemType; var referenceItemId = sourceItem.getProperty(itemReferencePropertyName); if (referenceItemId) { this._referencedItem = common.itemFactory....
fill(dd, par.children, par.id);
if(active.children.length) { fill(dd, active.children, par.id); select(dd, par.id); crumbletarget = active; } else { fill(dd, par.children, par.id); select(dd, active.id); }
var init = function(dd, current) { // clear crumble. we're gonna update it anyhow $(dd.id + "_crumble").update(''); if (current == '' || current == '0') { // take all the top levels. No crumble. fill(dd, treedata[dd.id], 0); select(dd,0); return; ...
select(dd, active.id);
var init = function(dd, current) { // clear crumble. we're gonna update it anyhow $(dd.id + "_crumble").update(''); if (current == '' || current == '0') { // take all the top levels. No crumble. fill(dd, treedata[dd.id], 0); select(dd,0); return; ...
while (par) { add_crumble(dd, par); par = find_parent_of(dd, par.id);
while (crumbletarget) { add_crumble(dd, crumbletarget); crumbletarget = find_parent_of(dd, crumbletarget.id);
var init = function(dd, current) { // clear crumble. we're gonna update it anyhow $(dd.id + "_crumble").update(''); if (current == '' || current == '0') { // take all the top levels. No crumble. fill(dd, treedata[dd.id], 0); select(dd,0); return; ...
if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey && evt.keyCode === 86) { if (!hasBeenValidated) { validate();
if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey) { if (evt.keyCode === 86) { validate("new-tab");
init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.extension.sendRequest({ autoruncheck : true } ); $(document).keydown(function (evt) { if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey && evt.keyCode === 86) { if (!hasBeenValidated) { vali...
else { hideResultsPresentation();
else if (evt.keyCode === 65) { receiveRequest({ results : { "message" : "validate-local-html" } });
init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.extension.sendRequest({ autoruncheck : true } ); $(document).keydown(function (evt) { if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey && evt.keyCode === 86) { if (!hasBeenValidated) { vali...
if (!(/acid3.acidtests.org|\.(png|gif|jpe?g)/.test(location.href))) {
if (!(/acid3.acidtests.org|\.(png|gif|jpe?g)$/.test(location.href))) {
init = function () { chrome.extension.sendRequest({ setBadgeValues : true, errors : "" } ); chrome.extension.sendRequest({ autoruncheck : true } ); $(document).keydown(function (evt) { if ((evt.ctrlKey || evt.metaKey) && evt.shiftKey) { if (evt.keyCode === 86) { validate("new-tab"); }...
for (var name in map) { if (__DEV__) { if (!(name in behaviors)) { throw new Error( 'JX.initBehavior("'+name+'", ...): '+ 'behavior is not registered.'); }
for (var name in map) { if (__DEV__) { if (!(name in JX.behavior._behaviors)) { throw new Error( 'JX.initBehavior("'+name+'", ...): '+ 'behavior is not registered.');
JX.initBehaviors = function(map) { for (var name in map) { if (__DEV__) { if (!(name in behaviors)) { throw new Error( 'JX.initBehavior("'+name+'", ...): '+ 'behavior is not registered.'); } } var configs = map[name]; if (!configs.length) { if...
var configs = map[name]; if (!configs.length) { if (name in initialized) { continue; } else { configs = [null]; }
} var configs = map[name]; if (!configs.length) { if (name in JX.behavior._initialized) { continue; } else { configs = [null];
JX.initBehaviors = function(map) { for (var name in map) { if (__DEV__) { if (!(name in behaviors)) { throw new Error( 'JX.initBehavior("'+name+'", ...): '+ 'behavior is not registered.'); } } var configs = map[name]; if (!configs.length) { if...
for (var ii = 0; ii < configs.length; ii++) { behaviors[name](configs[ii]); } initialized[name] = true;
JX.initBehaviors = function(map) { for (var name in map) { if (__DEV__) { if (!(name in behaviors)) { throw new Error( 'JX.initBehavior("'+name+'", ...): '+ 'behavior is not registered.'); } } var configs = map[name]; if (!configs.length) { if...
};
for (var ii = 0; ii < configs.length; ii++) { JX.behavior._behaviors[name](configs[ii]); } JX.behavior._initialized[name] = true; } };
JX.initBehaviors = function(map) { for (var name in map) { if (__DEV__) { if (!(name in behaviors)) { throw new Error( 'JX.initBehavior("'+name+'", ...): '+ 'behavior is not registered.'); } } var configs = map[name]; if (!configs.length) { if...
url: "img/districts.kml",
url: "../pages/be.de/img/districts.kml",
function initBerlinDistrictsLayer() { var dStyle = new OpenLayers.Style( { strokeColor: "#4170D4", strokeWidth: 1.5, fill: 0 //fontWeight: "bold", //labelAlign: "${align}", //labelXOffset: "${xOffset}", //labelYOffset: "${yOffset}" }); var defaultStyle = OpenLayers.Util.applyDefault...
log('districtLayer loaded with overall: ' + districtLayer.features.length + ' polygons');
if (debug) log('districtLayer loaded with overall: ' + districtLayer.features.length + ' polygons');
function initBerlinDistrictsLayer() { var dStyle = new OpenLayers.Style( { strokeColor: "#4170D4", strokeWidth: 1.5, fill: 0 //fontWeight: "bold", //labelAlign: "${align}", //labelXOffset: "${xOffset}", //labelYOffset: "${yOffset}" }); var defaultStyle = OpenLayers.Util.applyDefault...
districtSelect.activate();
districtSelect.deactivate();
function initBerlinDistrictsLayer() { var dStyle = new OpenLayers.Style( { strokeColor: "#4170D4", strokeWidth: 1.5, fill: 0 //fontWeight: "bold", //labelAlign: "${align}", //labelXOffset: "${xOffset}", //labelYOffset: "${yOffset}" }); var defaultStyle = OpenLayers.Util.applyDefault...
this.getBottomToolbar().bindStore(this.getStore());
initComponent: function() { App.Search.SearchResultsPanelUi.superclass.initComponent.call(this); }
critLinkList += '<tr valign="top">'; critLinkList += '<td rowspan="'+workspaceCriterias.result.length+1+'" align="left">'; if (workspaceInfos != null) { critLinkList += '<a id="sideBarLogoLink" href="http: + ' <img id="sideBarLogo" src="'+IMAGES_URL + workspaceInfos.logo +'" alt="Das ' + workspaceInfos.name + '-Logo" '...
critLinkList += '<tr valign="top">'; critLinkList += '<td rowspan="'+workspaceCriterias.result.length+1+'" align="left">'; critLinkList += '<a id="sideBarLogoLink" href="http: + ' <img id="sideBarLogo" src="'+IMAGES_URL +'kiezatlas-logo.png" alt="Das Kiezatlas Logo" ' + ' border="0" text="Das Kiezatlas Logo"></a></td>...
function initCriteriaList() { // Auslesen der Kriterien, die eine Umschaltung zu den einzelnen Nutzerabfragen eröffnen. // Erstellen der Kriterien Buttons und Labels jQuery("#progContainer").hide(); var critListElement = jQuery("#sideBarCriterias"); var critLinkList = '<table width="95%" cellpadding="...
log('showing critList was builded for ' + workspaceCriterias.result.length + ' criterias');
setWorkspaceInfos();
function initCriteriaList() { // Auslesen der Kriterien, die eine Umschaltung zu den einzelnen Nutzerabfragen eröffnen. // Erstellen der Kriterien Buttons und Labels jQuery("#progContainer").hide(); var critListElement = jQuery("#sideBarCriterias"); var critLinkList = '<table width="95%" cellpadding="...
if (document.getElementsByTagName){ var as=document.getElementsByTagName("a"); for (i=0;i<as.length;i++){ var a=as[i]; if (a.getAttribute("href") && a.getAttribute("rel")=="external") a.target="_blank"; }} var ds=document.getElementsByTagName("input"); for (i=0;i<ds.length;i++){ if (ds[i].className=="date"){ ds[i].oncl...
if (document.getElementsByTagName){ var as=document.getElementsByTagName("a"); for (i=0;i<as.length;i++){ var a=as[i]; if (a.getAttribute("href") && a.getAttribute("rel")=="external") a.target="_blank"; } } var ds=document.getElementsByTagName("input"); for (i=0;i<ds.length;i++){ if (ds[i].className=="date"){ ds[i].onc...
function initial(){if (document.getElementsByTagName){var as=document.getElementsByTagName("a");for (i=0;i<as.length;i++){var a=as[i];if (a.getAttribute("href") &&a.getAttribute("rel")=="external")a.target="_blank";}}var ds=document.getElementsByTagName("input");for (i=0;i<ds.length;i++){if (ds[i].className=="date"){ds...
if (ds[i].className=="number") ds[i].onkeypress=rTN; } }
function initial(){if (document.getElementsByTagName){var as=document.getElementsByTagName("a");for (i=0;i<as.length;i++){var a=as[i];if (a.getAttribute("href") &&a.getAttribute("rel")=="external")a.target="_blank";}}var ds=document.getElementsByTagName("input");for (i=0;i<ds.length;i++){if (ds[i].className=="date"){ds...
for (i=0;i<as.length;i++){
for (var i=0;i<as.length;i++){
function initial(){if (document.getElementsByTagName){var as=document.getElementsByTagName("a");for (i=0;i<as.length;i++){var a=as[i];if (a.getAttribute("href") &&a.getAttribute("rel")=="external")a.target="_blank";}}var ds=document.getElementsByTagName("input");for (i=0;i<ds.length;i++){if (ds[i].className=="date"){ds...
object.find(settings.items).each(function() { var item = $(this); var handle = item.find(settings.handles); handle.unbind('mousedown.orderable', start); handle.bind('mousedown.orderable', start); });
object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', start);
initialize: function() { object.addClass('orderable'); object.find(settings.items).each(function() { var item = $(this); var handle = item.find(settings.handles); handle.unbind('mousedown.orderable', start); handle.bind('mousedown.orderable', start); }); }
object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', start);
object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', function(event) { var target = $(event.target), item = $(this).parents(settings.items); if(!target.is('input, textarea, select')) { start(item); return false; } });
initialize: function() { object.addClass('orderable'); object.delegate(settings.items + ' ' + settings.handles, 'mousedown.orderable', start); }
JX.$.NotFound = new Error( 'JX.$() or JX.DOM.find() call matched no nodes.');
JX.$V.prototype.toString = function() { return '<'+this.x+', '+this.y+'>'; }
initialize : function() { if (__DEV__) { // If we're in dev, upgrade this object into an Error so that it will // print something useful if it escapes the stack after being thrown. JX.$.NotFound = new Error( 'JX.$() or JX.DOM.find() call matched no nodes.'); } }
if (__DEV__) { JX.$V.prototype.toString = function() { return '<'+this.x+', '+this.y+'>'; } }
initialize : function() { var c = ((c = document) && (c = c.documentElement)) || ((c = document) && (c = c.body)) JX.$V._viewport = c; }
var template = $(this).remove();
var template = $(this).clone(true);
initialize: function() { object.addClass('duplicator'); // Prevent collapsing when ordering stops: object.bind('orderstart', function() { if (settings.collapsible) { object.collapsible.cancel(); } }); // Refresh on reorder: object.bind('orderstop', function() { ...
$(this).remove();
initialize: function() { object.addClass('duplicator'); // Prevent collapsing when ordering stops: object.bind('orderstart', function() { if (settings.collapsible) { object.collapsible.cancel(); } }); // Refresh on reorder: object.bind('orderstop', function() { ...
var gl_Slide=new Class({options:{active:'',fx:{wait:false,duration:350},scrollFX:{wait:false,transition:Fx.Transitions.Sine.easeInOut},dimensions:{width:722,height:200}},initialize:function(contents,options){this.setOptions(options);this.content=$(contents);this.sections=this.content.getElements('.tab-pane');if(!this.s...
initialize:function(contents,options){ this.setOptions(options); this.content=$(contents); this.sections=this.content.getElements('.'+this.options.cssvars.customID+'tab-pane'); if(!this.sections.length) return; this.filmstrip=new Element('div',{id:this.options.cssvars.customID+'slide_hr'}).injectAfter(this.content); t...
var gl_Slide=new Class({options:{active:'',fx:{wait:false,duration:350},scrollFX:{wait:false,transition:Fx.Transitions.Sine.easeInOut},dimensions:{width:722,height:200}},initialize:function(contents,options){this.setOptions(options);this.content=$(contents);this.sections=this.content.getElements('.tab-pane');if(!this.s...
f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1p...
parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){k+=l.offsetTop;o+=l.offsetLeft}if(c.offset.supportsFixedPosition&&d.position==="fixed"){k+=Math.max(h.scrollTop,l.scrollTop);o+=Math.max(h.scrollLeft,l.scrollLeft)}return{top:k,left:o}};c.offset={i...
f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1p...
for(i = 1; i < coords.length; i++) { latitude['min'] = Math.min(coords[i][0], latitude['min']); latitude['max'] = Math.max(coords[i][0], latitude['max']); longitude['min'] = Math.min(coords[i][1], longitude['min']); longitude['max'] = Math.max(coords[i][1], longitude['max']); } longitude['center'] = (longitude['max'...
longitude['center'] = (longitude['max'] + longitude['min'])/2; latitude['center'] = (latitude['max'] + latitude['min'])/2;
function initialize() { var latitude = { max: coords[0][0], min: coords[0][0], } var longitude = { max: coords[0][1], min: coords[0][1], } for(i = 1; i < coords.length; i++) { latitude['min'] = Math.min(coords[i][0], latitude['min']); latitude['max'] = Math.max(coords[i][0], latitude['max']); longitu...
'Version : "2.6.5",' + 'VersionBuild : "23959",' +
'Version : "2.6.6",' + 'VersionBuild : "25427",' +
function InitializeAPI(){ var oParentWindow = window.parent ; if ( !( FCKeditorAPI = oParentWindow.FCKeditorAPI ) ) { // Make the FCKeditorAPI object available in the parent window. Use // eval so this core runs in the parent's scope and so it will still be // available if the editor instance is removed ("Can't exec...
node.savedClassName = node.className;
ORBEON.widgets.datatable.prototype.initProperties = function (container, index, innerTableWidth) { this.index = index; this.innerTableWidth = innerTableWidth; this.container = YAHOO.util.Selector.query('div.yui-dt', container, false)[0]; YAHOO.util.Dom.addClass(this.container, 'fr-dt-initialized'); this....
this.significantNodes = [this.container, this.table, this.thead, this.tbody];
this.significantNodes = [this.container, this.bodyContainer, this.table, this.thead, this.tbody];
ORBEON.widgets.datatable.prototype.initProperties = function (container, index, innerTableWidth) { this.index = index; this.innerTableWidth = innerTableWidth; this.container = YAHOO.util.Selector.query('div.yui-dt', container, false)[0]; YAHOO.util.Dom.addClass(this.container, 'fr-dt-initialized'); this....