rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
i;if(typeof j.keyCode!=="undefined")e+=d+"keyCode="+j.keyCode;if(typeof j.charCode!=="undefined")e+=d+"charCode="+j.charCode;if(j.altKey)e+=d+"altKey=1";if(j.ctrlKey)e+=d+"ctrlKey=1";if(j.metaKey)e+=d+"metaKey=1";if(j.shiftKey)e+=d+"shiftKey=1";if(j.touches)e+=W(d+"touches",j.touches,m);if(j.targetTouches)e+=W(d+"ttouc...
i;if(typeof j.keyCode!=="undefined")e+=d+"keyCode="+j.keyCode;if(typeof j.charCode!=="undefined")e+=d+"charCode="+j.charCode;if(j.altKey)e+=d+"altKey=1";if(j.ctrlKey)e+=d+"ctrlKey=1";if(j.metaKey)e+=d+"metaKey=1";if(j.shiftKey)e+=d+"shiftKey=1";if(typeof j.touches!=="undefined")e+=W(d+"touches",j.touches,m);if(typeof j...
d,e){var j,m;m=c+"=";c=0;for(j=d.length;c<j;++c){var i=d[c];m+=[i.identifier,i.clientX,i.clientY,i.pageX,i.pageY,i.screenX,i.screenY,i.pageX-e.x,i.pageY-e.y].join(";")}return m}function g(c,d){var e,j;j=c.event;d=d>0?"&e"+d:"&";e=d+"signal="+c.signal;if(c.id){e+=d+"id="+c.id+d+"name="+encodeURIComponent(c.name)+d+"an="...
O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){va...
O=f?setTimeout(x,_$_SERVER_PUSH_TIMEOUT_$_):null}}function M(d,c){var f={},j=z.length;f.signal="user";f.id=typeof d==="string"?d:d==_$_APP_CLASS_$_?"app":d.id;if(typeof c==="object"){f.name=c.name;f.object=c.eventObject;f.event=c.event}else{f.name=c;f.object=f.event=null}f.args=[];for(var m=2;m<arguments.length;++m){va...
ha>o.updateDelay){clearTimeout(R);G()}}function I(d){da=d;y._p_.comm.responseReceived(d)}function G(){R=null;if(Q){if(!ia){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ia=true}}else{var d,c,f,j="&rand="+Math.round(Math.random(ja)*1E5);if(z.length>0){d=a();c=d.fee...
className:e.object.className};e.object.parentNode.removeChild(e.object);e.object.style.position="absolute";e.object.className="";document.body.appendChild(e.object);n.capture(null);n.capture(e.object);e.object.onmousemove=g;e.object.onmouseup=Z;e.offsetX=-4;e.offsetY=-4;e.dropTarget=null;e.mimeType=d.getAttribute("dmt"...
e.xy=n.pageCoordinates(c);n.cancelEvent(c);return false}function g(d){if(aa.object!=null){var c=aa,e=n.pageCoordinates(d);if(c.object.style.display!=""&&c.xy.x!=e.x&&c.xy.y!=e.y)c.object.style.display="";c.object.style.left=e.x-c.offsetX+"px";c.object.style.top=e.y-c.offsetY+"px";e=c.dropTarget;var j=d.target||d.srcEle...
className:e.object.className};e.object.parentNode.removeChild(e.object);e.object.style.position="absolute";e.object.className="";document.body.appendChild(e.object);n.capture(null);n.capture(e.object);e.object.onmousemove=g;e.object.onmouseup=Z;e.offsetX=-4;e.offsetY=-4;e.dropTarget=null;e.mimeType=d.getAttribute("dmt"...
c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[m-2]=i}e.feedback=true;A[j]=B(e,j);x()}function U(d,c,e){var j=function(){var i=n.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.time...
null}i.onclick&&i.onclick()}},m=n.getElement(d);m.timer=setTimeout(j,c);m.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function C(d,c){var e=false;if(c!="")try{e=!eval("typeof "+c+" === 'undefined'")}catch(j){e=...
c.event}else{e.name=c;e.object=e.event=null}e.args=[];for(var m=2;m<arguments.length;++m){var i=arguments[m];i=i===false?0:i===true?1:i.toDateString?i.toDateString():i;e.args[m-2]=i}e.feedback=true;A[j]=B(e,j);x()}function U(d,c,e){var j=function(){var i=n.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.time...
}
};
function GaSentinelMarker_getMarkerClickedFn() { var gaSentinel = this; return function() { gaSentinel.markerClicked(); }}
panel.gavExtras = data[6];
panel.extraData = data[6];
var gavPopulator = function(panel, data) { // groupId if (data.length > 1) { panel.getTopToolbar().items.itemAt(2).setRawValue(data[1]); } // artifactId if (data.length > 2) { panel.getTopToolbar().items.itemAt(5).setRawValue(data[2]); } // version if (data.length > 3) { panel.g...
RSA.log( "RSAEngine:2.3.3:subparam.result="+result );
RSA.log( "RSAEngine:2.3.3:result="+result );
RSA.prototype.generateAsync = function(keylen,exp,result) { var self=this; var generator = new NS( stepping_generate,true); var _result = function(keyPair) { $extend(self,keyPair); result( self ); }; generator.EXEC([keylen,exp],_result); /////////////////////////////////////////// // implementation ...
if ( result.prime ) {
if ( result ) {
RSA.prototype.generateAsync = function(keylen,exp,result) { var self=this; var generator = new NS( stepping_generate,true); var _result = function(keyPair) { result( self ); }; generator.EXEC([keylen,exp],_result); /////////////////////////////////////////// // implementation ///////////////////////...
RSA.log( "RSAEngine:2.3.3:result="+result.prime ); if ( result.prime ) {
RSA.log( "RSAEngine:2.3.3:result="+result ); if ( result ) {
RSA.prototype.generateAsync = function(keylen,exp,result) { var self=this; var generator = new NS( stepping_generate,true); var _result = function(keyPair) { result( self ); }; generator.EXEC([keylen,exp],_result); /////////////////////////////////////////// // implementation ///////////////////////...
if (!component)
if (!component) {
var generateConstraints = function(component) { if (!component) return null; if (component.initialConfig.variableType === 'axis') { var fromField = component.get(0); var toField = component.get(1); var obj = { type : component.initialConfig.variableType, name : component.initialConfig.name }; if...
obj['dimensionBounds'] = {
obj.dimensionBounds = {
var generateConstraints = function(component) { if (!component) return null; if (component.initialConfig.variableType === 'axis') { var fromField = component.get(0); var toField = component.get(1); var obj = { type : component.initialConfig.variableType, name : component.initialConfig.name }; if...
obj['valueBounds'] = {
obj.valueBounds = {
var generateConstraints = function(component) { if (!component) return null; if (component.initialConfig.variableType === 'axis') { var fromField = component.get(0); var toField = component.get(1); var obj = { type : component.initialConfig.variableType, name : component.initialConfig.name }; if...
if (child)
if (child) {
var generateConstraints = function(component) { if (!component) return null; if (component.initialConfig.variableType === 'axis') { var fromField = component.get(0); var toField = component.get(1); var obj = { type : component.initialConfig.variableType, name : component.initialConfig.name }; if...
}
var generateConstraints = function(component) { if (!component) return null; if (component.initialConfig.variableType === 'axis') { var fromField = component.get(0); var toField = component.get(1); var obj = { type : component.initialConfig.variableType, name : component.initialConfig.name }; if...
deliverString = deliverString+hiddenInput.name.replace(/\$/g, "%24")+"="+encodeURIComponent(hiddenInput.value) + "&";
if (hiddenInput.name !== "__EVENTTARGET" && hiddenInput.name !== "") { deliverString = deliverString+hiddenInput.name.replace(/\$/g, "%24")+"="+encodeURIComponent(hiddenInput.value) + "&"; }
function generateDeliverString(nsResolver, doc){ var hiddenInputs = doc.evaluate('//input[@type="hidden" and not(contains(@name, "folderHas")) and not(@name ="ajax")]', doc, nsResolver, XPathResult.ANY_TYPE, null); var hiddenInput; var deliverString =""; while(hiddenInput = hiddenInputs.iterateNext()) { deliverString...
deliverString = deliverString +"&ctl00%24ctl00%24MainContentArea%24MainContentArea%24topDeliveryControl%24deliveryButtonControl%24lnkExportImage.x=5" +"&ctl00%24ctl00%24MainContentArea%24MainContentArea%24topDeliveryControl%24deliveryButtonControl%24lnkExportImage.y=14";
deliverString = "__EVENTTARGET=ctl00%24ctl00%24Column2%24Column2%24topDeliveryControl%24deliveryButtonControl%24lnkExport&" + deliverString;
function generateDeliverString(nsResolver, doc){ var hiddenInputs = doc.evaluate('//input[@type="hidden" and not(contains(@name, "folderHas")) and not(@name ="ajax")]', doc, nsResolver, XPathResult.ANY_TYPE, null); var hiddenInput; var deliverString =""; while(hiddenInput = hiddenInputs.iterateNext()) { deliverString...
if (!arr || arr.length == 0)
if (!arr || arr.length === 0) {
var generateRowFragmentFromArray = function (col1, arr, colCount, contentFunc) { if (!arr || arr.length == 0) return ''; if (!contentFunc) { contentFunc = function (item) { return item; } } if (!colCount) colCount =...
if (!colCount)
if (!colCount) {
var generateRowFragmentFromArray = function (col1, arr, colCount, contentFunc) { if (!arr || arr.length == 0) return ''; if (!contentFunc) { contentFunc = function (item) { return item; } } if (!colCount) colCount =...
if (i >= colCount && i % colCount == 0)
if (i >= colCount && i % colCount === 0) {
var generateRowFragmentFromArray = function (col1, arr, colCount, contentFunc) { if (!arr || arr.length == 0) return ''; if (!contentFunc) { contentFunc = function (item) { return item; } } if (!colCount) colCount =...
else if (description.length > 0)
} else if (description.length > 0) {
var generateRowFragmentFromArray = function (col1, arr, colCount, contentFunc) { if (!arr || arr.length == 0) return ''; if (!contentFunc) { contentFunc = function (item) { return item; } } if (!colCount) colCount =...
}
var generateRowFragmentFromArray = function (col1, arr, colCount, contentFunc) { if (!arr || arr.length == 0) return ''; if (!contentFunc) { contentFunc = function (item) { return item; } } if (!colCount) colCount =...
if (overlay == null || !overlay.description) {
if (overlay === null || !overlay.description) {
var genericParserClickHandler = function (map, overlay, latlng, parentOnlineResource) { if (overlay == null || !overlay.description) { return false; } if (!parentOnlineResource) { return false; } //The generic parser stamps the description with a specific string followed by the gml:id of the node var genericParserStr...
if (overlay.description.indexOf(genericParserString) == 0) {
if (overlay.description.indexOf(genericParserString) === 0) {
var genericParserClickHandler = function (map, overlay, latlng, parentOnlineResource) { if (overlay == null || !overlay.description) { return false; } if (!parentOnlineResource) { return false; } //The generic parser stamps the description with a specific string followed by the gml:id of the node var genericParserStr...
var cswRecords = parentActiveLayerRecord.getCSWRecords();
var genericParserClickHandler = function (map, overlay, latlng, parentOnlineResource) { if (overlay == null || !overlay.description) return false; if (!parentOnlineResource) return false; //The generic parser stamps the description with a specific string followed by the gml:id of the node var genericParserString = ...
if(reportTitleFilter != '' && /^\w+/.test(reportTitleFilter)) { var regexp = new RegExp(reportTitleFilter, "i");
if(reportTitleFilter !== '' && /^\w+/.test(reportTitleFilter)) { regexp = new RegExp(reportTitleFilter, "i");
var genericRecordHandler = function(activeLayerRecord) { //get our overlay manager (create if required) var overlayManager = activeLayerRecord.getOverlayManager(); if (!overlayManager) { overlayManager = new OverlayManager(map); activeLayerRecord.setOverlayManager(overlayManager); } ov...
if(filterObj.keyword != null) {
if(filterObj.keyword !== null) {
var genericRecordHandler = function(activeLayerRecord) { //get our overlay manager (create if required) var overlayManager = activeLayerRecord.getOverlayManager(); if (!overlayManager) { overlayManager = new OverlayManager(map); activeLayerRecord.setOverlayManager(overlayManager); } ov...
if(filterObj.resourceProvider != null) {
if(filterObj.resourceProvider !== null) {
var genericRecordHandler = function(activeLayerRecord) { //get our overlay manager (create if required) var overlayManager = activeLayerRecord.getOverlayManager(); if (!overlayManager) { overlayManager = new OverlayManager(map); activeLayerRecord.setOverlayManager(overlayManager); } ov...
if (!pStringDate)
if (!pStringDate) {
function GeodesyCalendar_parseStringDate (pStringDate) { // if no parameter specified return current timestamp if (!pStringDate) return (new Date()); // if positive integer treat as milliseconds from epoch if (RE_NUM.exec(pStringDate)) { return new Date(pStringDate); } else { return (newDate()); }}
}
function GeodesyCalendar_parseStringDate (pStringDate) { // if no parameter specified return current timestamp if (!pStringDate) return (new Date()); // if positive integer treat as milliseconds from epoch if (RE_NUM.exec(pStringDate)) { return new Date(pStringDate); } else { return (newDate()); }}
this.maStationDataForDate = new Array(); this.maYearMonthWfsUrlQueried = new Array(); this.maYearCheckedState = new Array(); this.maMonthCheckedStateForYear = new Array(); this.maDateCheckedStateForMonth = new Array(); this.maDataCheckedStateForDate = new Array();
this.maStationDataForDate = []; this.maYearMonthWfsUrlQueried = []; this.maYearCheckedState = []; this.maMonthCheckedStateForYear = []; this.maDateCheckedStateForMonth = []; this.maDataCheckedStateForDate = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.maYearMonthWfsUrlQueried[gaYears[year]] = new Array(); this.maMonthCheckedStateForYear[gaYears[year]] = new Array(); this.maDateCheckedStateForMonth[gaYears[year]] = new Array(); this.maDataCheckedStateForDate[gaYears[year]] = new Array();
this.maYearMonthWfsUrlQueried[gaYears[year]] = []; this.maMonthCheckedStateForYear[gaYears[year]] = []; this.maDateCheckedStateForMonth[gaYears[year]] = []; this.maDataCheckedStateForDate[gaYears[year]] = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.maDateCheckedStateForMonth[gaYears[year]][gaMonths[month]] = new Array(); this.maDataCheckedStateForDate[gaYears[year]][gaMonths[month]] = new Array();
this.maDateCheckedStateForMonth[gaYears[year]][gaMonths[month]] = []; this.maDataCheckedStateForDate[gaYears[year]][gaMonths[month]] = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.maDataCheckedStateForDate[gaYears[year]][gaMonths[month]][date] = new Array();
this.maDataCheckedStateForDate[gaYears[year]][gaMonths[month]][date] = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.maMonthSelectedForYear = new Array(); this.maDateSelectedForMonth = new Array();
this.maMonthSelectedForYear = []; this.maDateSelectedForMonth = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.maDateSelectedForMonth[year] = new Array();
this.maDateSelectedForMonth[year] = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.msWfsYearDataUrl = new Array();
this.msWfsYearDataUrl = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.msYearMonthWfsUrl = new Array();
this.msYearMonthWfsUrl = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.msYearMonthWfsUrl[gaYears[year]] = new Array();
this.msYearMonthWfsUrl[gaYears[year]] = [];
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
for (month=1; month<=12; month++) {
for (var month=1; month<=12; month++) {
function GeodesyMarker (pWfsUrl, pDataLayerName, stationId, marker, description) { //this.moGeodesyStation = new GeodesyStation(pGeodesyStationNode); this.stationId = marker.title; this.moMarker = marker; // Initiaize all the members //cut off this from the URL "%26request=GetFeature%26typeName=ngcp:GnssSt...
this.maStationDataForDate[pYear][pMonth][d] = new Array();
this.maStationDataForDate[pYear][pMonth][d] = [];
function GeodesyMarker_createDataArraysForMonth(pYear, pMonth) { // Check if the third level of indexing has been created. if (!this.maStationDataForDate[pYear]) { this.createDataArraysForYear(pYear); } // Now create arrays for each date // We have arrays to hold data for each date, as there may be more than o...
if (this.maStationDataForDate[pYear] == undefined) { this.maStationDataForDate[pYear] = new Array();
if (this.maStationDataForDate[pYear] === undefined) { this.maStationDataForDate[pYear] = [];
function GeodesyMarker_createDataArraysForYear(pYear) { // Check if arrays don't already exist for this year if (this.maStationDataForDate[pYear] == undefined) { this.maStationDataForDate[pYear] = new Array(); for(var m=1; m<=12; m++) { // Create arrays for each month. // Dates for these arrays will b...
this.maStationDataForDate[pYear][month] = new Array();
this.maStationDataForDate[pYear][month] = [];
function GeodesyMarker_createDataArraysForYear(pYear) { // Check if arrays don't already exist for this year if (this.maStationDataForDate[pYear] == undefined) { this.maStationDataForDate[pYear] = new Array(); for(var m=1; m<=12; m++) { // Create arrays for each month. // Dates for these arrays will b...
if (dataUrlChkObj && this.maDataCheckedStateForDate[pYear][pMonth][pDate][pIndex]!=undefined) {
if (dataUrlChkObj && this.maDataCheckedStateForDate[pYear][pMonth][pDate][pIndex]!==undefined) {
function GeodesyMarker_dataUrlChecked(pYear, pMonth, pDate, pIndex, pDataUrlChkId) { var dataUrlChkObj = document.getElementById(pDataUrlChkId); if (dataUrlChkObj && this.maDataCheckedStateForDate[pYear][pMonth][pDate][pIndex]!=undefined) { this.maDataCheckedStateForDate[pYear][pMonth][pDate][pIndex] = dataUrlChkO...
}
};
function GeodesyMarker_getDataUrlCheckedFn(pYear, pMonth, pDate, pIndex, pDataUrlChkId) { var oGeodesyMarker = this; return function () { oGeodesyMarker.dataUrlChecked(pYear, pMonth, pDate, pIndex, pDataUrlChkId); }}
wfs.dataUrlChecked(pYear, pMonth, pDate, pIndex, pDataUrlChkId);
oGeodesyMarker.dataUrlChecked(pYear, pMonth, pDate, pIndex, pDataUrlChkId);
function GeodesyMarker_getDataUrlCheckedFn(pYear, pMonth, pDate, pIndex, pDataUrlChkId) { var oGeodesyMarker = this; return function () { wfs.dataUrlChecked(pYear, pMonth, pDate, pIndex, pDataUrlChkId); }}
}
};
function GeodesyMarker_getDateCheckedFn (pYear, pMonth, pDate, pDateChkId, pDateHrefId) { var oGeodesyMarker = this; var year = pYear; var month = pMonth; var date = pDate; var dateChkId = pDateChkId; var dateHrefId = pDateHrefId; // Return the actual function that should be called when updateCSWRecords year...
}
};
function GeodesyMarker_getDateClickedFn(pYear, pMonth, pDate, pDateHrefId) { var oGeodesyMarker = this; var year = pYear; var month = pMonth; var date = pDate; var dateHrefId = pDateHrefId; // Return the actual function that should be called when updateCSWRecords year checkbox is clicked return function() { ...
setTimeout( function(){ marker.updateInfoWindow() }, 500); }
setTimeout( function(){ marker.updateInfoWindow(); }, 500); };
function GeodesyMarker_getMarkerClickedFn() { var geodesyMarker = this; return function() { geodesyMarker.markerClicked(); // Once the marker has been opened and rendered, // we add the calendar to the info window // The onOpenFn option with GInfoWindow does not work // Hence this function is called wi...
}
};
function GeodesyMarker_getMonthCheckedFn (pYear, pMonth, pMonthChkId, pMonthHrefId, pDatesDivId) { var oGeodesyMarker = this; var station = this.stationId;//this.moGeodesyStation.msId; var year = pYear; var month = pMonth; var monthChkId = pMonthChkId; var monthHrefId = pMonthHrefId; var datesDivId = pDatesDiv...
}
};
function GeodesyMarker_getMonthClickedFn (pYear, pMonth, pMonthHrefId, pDatesDivId) { var oGeodesyMarker = this; var year = pYear; var month = pMonth; var monthHrefId = pMonthHrefId; var datesDivId = pDatesDivId; // Return the actual function that should be called when updateCSWRecords month href is clicked re...
}
};
function GeodesyMarker_getYearCheckedFn (pYear, pYearChkId, pYearHrefId, pMonthsDivId, pDatesDivId) { var oGeodesyMarker = this; var yearChkId = pYearChkId; var yearHrefId = pYearHrefId; var year = pYear; var monthsDivId = pMonthsDivId; var datesDivId = pDatesDivId; // Return the actual function that should be...
}
};
function GeodesyMarker_getYearClickedFn (pYear, pYearChkId, pYearHrefId, pMonthsDivId, pDatesDivId) { var oGeodesyMarker = this; var yearChkId = pYearChkId; var yearHrefId = pYearHrefId; var year = pYear; var monthsDivId = pMonthsDivId; var datesDivId = pDatesDivId; // Return the actual function that should be...
if (num_urls != 0) {
if (num_urls !== 0) {
function GeodesyMarker_setCheckedStateForDate (pYear, pMonth, pDate, pState) { this.maDateCheckedStateForMonth[pYear][pMonth][pDate] = pState; // Propogate this state to all the data urls belonging to this date var num_urls = this.maDataCheckedStateForDate[pYear][pMonth][pDate].length; if (num_urls != 0) { for...
if (featureMembers.length != 0) {
if (featureMembers.length !== 0) {
function GeodesyMarker_setDataForSelectedMonth(pYear, pMonth, pDatesDivObj) { var oGeodesyMarker = this; var station = this.stationId;//this.moGeodesyStation.msId; var year = pYear; var month = pMonth; var datesDivObj = pDatesDivObj; // Create the wfs call that will get the data var sStationDataUrl = ProxyURL ...
if (fullDate=="" || url=="") {
if (fullDate==="" || url==="") {
function GeodesyMarker_setDataForSelectedMonth(pYear, pMonth, pDatesDivObj) { var oGeodesyMarker = this; var station = this.stationId;//this.moGeodesyStation.msId; var year = pYear; var month = pMonth; var datesDivObj = pDatesDivObj; // Create the wfs call that will get the data var sStationDataUrl = ProxyURL ...
if (g_IsIE)
if (g_IsIE) {
function GeodesyMarker_yearChecked (pYear, pYearChkId, pYearHrefId, pMonthsDivId, pDatesDivId) { var oGeodesyMarker = this; var station = this.stationId;//this.moGeodesyStation.msId; var yearChkId = pYearChkId; var yearHrefId = pYearHrefId; var year = pYear; var monthsDivId = pMonthsDivId; var datesDivId = pDa...
if (fullDate=="" || url=="") {
if (fullDate==="" || url==="") {
function GeodesyMarker_yearChecked (pYear, pYearChkId, pYearHrefId, pMonthsDivId, pDatesDivId) { var oGeodesyMarker = this; var station = this.stationId;//this.moGeodesyStation.msId; var yearChkId = pYearChkId; var yearHrefId = pYearHrefId; var year = pYear; var monthsDivId = pMonthsDivId; var datesDivId = pDa...
if (g_IsIE)
if (g_IsIE) {
function GeodesyStation_parseXmlElement(pGeodesyStationNode) { var nodeGeodesyStation = pGeodesyStationNode; if (g_IsIE) nodeGeodesyStation.setProperty("SelectionLanguage", "XPath"); /** * Sample XML fragment for updateCSWRecords Geodesy station - * <gml:featureMember> * <geodesy:stations fid="stations.alic...
}
function GeodesyStation_parseXmlElement(pGeodesyStationNode) { var nodeGeodesyStation = pGeodesyStationNode; if (g_IsIE) nodeGeodesyStation.setProperty("SelectionLanguage", "XPath"); /** * Sample XML fragment for updateCSWRecords Geodesy station - * <gml:featureMember> * <geodesy:stations fid="stations.alic...
a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a...
jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.ext...
a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a...
get : function()
this.get = function()
get : function() { return $(this._id).value; },
},
};
get : function() { return $(this._id).value; },
if(obj.hasClass("open")) json.state = "open"; if(obj.hasClass("closed")) json.state = "closed";
if(obj.hasClass("open")) json.data.state = "open"; if(obj.hasClass("closed")) json.data.state = "closed";
get : function(obj, tree, opts) { var _this = this; if(!obj || $(obj).size() == 0) obj = tree.container.children("ul").children("li"); else obj = $(obj); if(!opts) opts = {}; if(!opts.outer_attrib) opts.outer_attrib = [ "id", "rel", "class" ]; if(!opts.inner_attrib) opts.inner_attrib = [ ]...
m.setAttribute('type','text/javascript');m.appendText(l);m.appendTo(a.document.getHead());}};})();a.resourceManager=function(j,k){var l=this;l.basePath=j;l.fileName=k;l.registered={};l.loaded={};l.externals={};l._={waitingList:{}};};a.resourceManager.prototype={add:function(j,k){if(this.registered[j])throw '[CKEDITOR.r...
j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,'en-au':1,'en-ca':1,'en-gb':1,en:1,eo:1,es:1,et:1,eu:1,...
m.setAttribute('type','text/javascript');m.appendText(l);m.appendTo(a.document.getHead());}};})();a.resourceManager=function(j,k){var l=this;l.basePath=j;l.fileName=k;l.registered={};l.loaded={};l.externals={};l._={waitingList:{}};};a.resourceManager.prototype={add:function(j,k){if(this.registered[j])throw '[CKEDITOR.r...
this.setArray(a):d.makeArray(a,this)},selector:"",jquery:"1.4b1pre",length:0,size:function(){return this.length},toArray:function(){return I.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,e){a=d(a||null);a.prevObject=this;a.context=this.context;if(b==="f...
this.setArray(a):c.makeArray(a,this)},selector:"",jquery:"1.4b1pre",length:0,size:function(){return this.length},toArray:function(){return I.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,e){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="f...
this.setArray(a):d.makeArray(a,this)},selector:"",jquery:"1.4b1pre",length:0,size:function(){return this.length},toArray:function(){return I.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,e){a=d(a||null);a.prevObject=this;a.context=this.context;if(b==="f...
get focusedWindow() this.getForcusedWindow(),
get focusedWindow() this.getFocusedWindow(),
get focusedWindow() this.getForcusedWindow(),
get _logService() { if (!this.__logService) this.__logService = Cc["@mozilla.org/consoleservice;1"]. getService(Ci.nsIConsoleService); return this.__logService;
get _logFile() {this._logService.logStringMessage("logging"); if (!this.__logFile) {this._logService.logStringMessage("logging2"); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); var dir = directoryService.get("ProfD", Components.interfaces.nsIFile); ...
get _logService() { if (!this.__logService) this.__logService = Cc["@mozilla.org/consoleservice;1"]. getService(Ci.nsIConsoleService); return this.__logService; },
{this._logService.logStringMessage("logging");
{
get _logFile() {this._logService.logStringMessage("logging"); if (!this.__logFile) {this._logService.logStringMessage("logging2"); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); //var MY_ID...
{this._logService.logStringMessage("logging2");
{ var directoryService = Components.classes["@mozilla.org/file/directory_service;1"]. getService(Components.interfaces.nsIProperties); var dir = directoryService.get("ProfD", Components.interfaces.nsIFile); var folder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile)...
get _logFile() {this._logService.logStringMessage("logging"); if (!this.__logFile) {this._logService.logStringMessage("logging2"); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); //var MY_ID...
.createInstance(Components.interfaces.nsILocalFile); var dir = directoryService.get("ProfD", Components.interfaces.nsIFile); this._logService.logStringMessage("logging3");
.createInstance(Components.interfaces.nsILocalFile);
get _logFile() {this._logService.logStringMessage("logging"); if (!this.__logFile) {this._logService.logStringMessage("logging2"); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); //var MY_ID...
this._logService.logStringMessage("logging4");
get _logFile() {this._logService.logStringMessage("logging"); if (!this.__logFile) {this._logService.logStringMessage("logging2"); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); //var MY_ID...
this._logService.logStringMessage("logging5");
get _logFile() {this._logService.logStringMessage("logging"); if (!this.__logFile) {this._logService.logStringMessage("logging2"); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); //var MY_ID...
get session() { let sh = window.getWebNavigation().sessionHistory; let obj = []; obj.index = sh.index; obj.__iterator__ = function () util.Array.iteritems(this); for (let i in util.range(0, sh.count)) { obj[i] = { index: i, __proto__: sh.getEntryAtIndex(i, false) }; util.memoize(obj[i], "icon", function (obj) services....
get: function get(filter, maxItems) { let query = services.get("history").getNewQuery(); let options = services.get("history").getNewQueryOptions(); if (typeof filter == "string") filter = { searchTerms: filter }; for (let [k, v] in Iterator(filter)) query[k] = v; options.sortingMode = options.SORT_BY_DATE_DESCENDING...
get session() { let sh = window.getWebNavigation().sessionHistory; let obj = []; obj.index = sh.index; obj.__iterator__ = function () util.Array.iteritems(this); for (let i in util.range(0, sh.count)) { obj[i] = { index: i, __proto__: sh.getEntryAtIndex(i, false) }; ...
get rangeFind() buffer.localStore.rangeFind,
get selection() this.selectionController.getSelection(Ci.nsISelectionController.SELECTION_NORMAL) }),
get rangeFind() buffer.localStore.rangeFind,
}
};
BF.get_position = function (obj){ var left_pos = 0, top_pos = 0; /// Does the object have an element above it (i.e., offsetParent)? if (obj.offsetParent) { do { left_pos += obj.offsetLeft; top_pos += obj.offsetTop; } while (obj = obj.offsetParent); } r...
a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appendTo:function(h,i){h.append(this,i);return h;},clone:function(h,i){var j=this.$.cloneN...
}return this;};d.node.prototype=new d.domObject();a.NODE_ELEMENT=1;a.NODE_DOCUMENT=9;a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appen...
a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appendTo:function(h,i){h.append(this,i);return h;},clone:function(h,i){var j=this.$.cloneN...
},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j;if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getP...
},getNext:function(h){var i=this.$,j;do{i=i.nextSibling;j=i&&new d.node(i);}while(j&&h&&!h(j))return j;},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:functio...
},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j;if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getP...
if (str.startsWith("][")) { if ((str[2] >= '1' && str[2] <= '9') || str[2] === '"') return {len: 2, token: "bar_invisible"}; return {len: 0}; } if (str.startsWith("]")) return {len: 1, token: "bar_invisible"};
this.getBarLine = function(str) { if (str[0] !== ':' && str[0] !== '|' && str[0] !== '[' && str[0] !== ']') return {len: 0}; if (str.startsWith("]|")) return {len: 2, token: "bar_thick_thin"}; if (str.startsWith(":||:")) return {len: 4, token: "bar_dbl_repeat"}; if (str.startsWith(":|]|:")) return {len: 5,...
switch (line[i]) { case ']':
switch (line[i]) { case ']': ++i; switch (line[i]) { case '|': return {len: 2, token: "bar_thick_thin"}; case '[': ++i; if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 2, token: "bar_invisible"}; return {len: 1, warn: "Unknown bar symbol"}; default: return {len: 1, token: "bar_invisible"}; } bre...
this.getBarLine = function(line, i) { switch (line[i]) { case ']': ++i; switch (line[i]) { case '|': return {len: 2, token: "bar_thick_thin"}; case '[': ++i; if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 2, token: "bar_invisible"}; return {len...
case '|': return {len: 2, token: "bar_thick_thin"}; case '[': ++i; if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 2, token: "bar_invisible"}; return {len: 1, warn: "Unknown bar symbol"}; default: return {len: 1, token: "bar_invisible"};
case ':': return {len: 3, token: "bar_left_repeat"}; case ']': return {len: 3, token: "bar_invisible"}; default: return {len: 2, token: "bar_thick_thin"};
this.getBarLine = function(line, i) { switch (line[i]) { case ']': ++i; switch (line[i]) { case '|': return {len: 2, token: "bar_thick_thin"}; case '[': ++i; if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 2, token: "bar_invisible"}; return {len...
break; case ':': ++i; switch (line[i]) { case ':': return {len: 2, token: "bar_dbl_repeat"}; case '|': ++i; switch (line[i]) { case ']': ++i; switch (line[i]) { case '|': ++i; if (line[i] === ':') return {len: 5, token: "bar_dbl_repeat"}; return {len: 3, token: "bar_right_repeat"}; default: return {len: 3, token: "bar...
} else { if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 1, token: "bar_invisible"}; return {len: 0}; } break; case '|': ++i; switch (line[i]) { case ']': return {len: 2, token: "bar_thin_thick"}; case '|':
this.getBarLine = function(line, i) { switch (line[i]) { case ']': ++i; switch (line[i]) { case '|': return {len: 2, token: "bar_thick_thin"}; case '[': ++i; if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 2, token: "bar_invisible"}; return {len...
switch (line[i]) { case ':': return {len: 3, token: "bar_left_repeat"}; case ']': return {len: 3, token: "bar_invisible"}; default: return {len: 2, token: "bar_thick_thin"}; } } else { if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 1, token: "bar_invisible"}; return {len: 0}; } break; case '|':...
if (line[i] === ':') return {len: 3, token: "bar_left_repeat"}; return {len: 2, token: "bar_thin_thin"}; case ':': var colons = 0; while (line[i+colons] === ':') colons++; return { len: 1+colons, token: "bar_left_repeat"}; default: return {len: 1, token: "bar_thin"}; } break; } return {len: 0}; };
this.getBarLine = function(line, i) { switch (line[i]) { case ']': ++i; switch (line[i]) { case '|': return {len: 2, token: "bar_thick_thin"}; case '[': ++i; if ((line[i] >= '1' && line[i] <= '9') || line[i] === '"') return {len: 2, token: "bar_invisible"}; return {len...
if ( this.bookmarkable ) { var searchType = this.getSearchType(this.searchTypeButton.value); return searchType.getBookmarkHandler.call(this, this); } else { return null; }
var searchType = this.getSearchType(this.searchTypeButton.value); return searchType.getBookmarkHandler.call(this, this);
getBookmark : function() { if ( this.bookmarkable ) { var searchType = this.getSearchType(this.searchTypeButton.value); return searchType.getBookmarkHandler.call(this, this); } else { return null; } }
return searchType.getBookmarkHandler.call(this, this);
var bookmark = searchType.getBookmarkHandler.call(this, this); if ( this.extraData ) { var extras = this.extraData.split( ',' ); if ( extras.length > 0 ) { bookmark += '~'; for ( var i = 0 ; i < extras.length ; i++ ) { if ( i > 0 ) { bookmark += ','; } bookmark += extras[i]; } } } return bookmark;
getBookmark : function() { var searchType = this.getSearchType(this.searchTypeButton.value); return searchType.getBookmarkHandler.call(this, this); }
u.endOffset=u.startOffset;}else{u.startContainer=u.endContainer;u.startOffset=u.endOffset;}u.collapsed=true;},cloneContents:function(){var t=new d.documentFragment(this.document);if(!this.collapsed)m(this,2,t);return t;},deleteContents:function(){if(this.collapsed)return;m(this,0);},extractContents:function(){var t=new...
u.endOffset=u.startOffset;}else{u.startContainer=u.endContainer;u.startOffset=u.endOffset;}u.collapsed=true;},cloneContents:function(){var t=new d.documentFragment(this.document);if(!this.collapsed)m(this,2,t);return t;},deleteContents:function(){if(this.collapsed)return;m(this,0);},extractContents:function(){var t=new...
u.endOffset=u.startOffset;}else{u.startContainer=u.endContainer;u.startOffset=u.endOffset;}u.collapsed=true;},cloneContents:function(){var t=new d.documentFragment(this.document);if(!this.collapsed)m(this,2,t);return t;},deleteContents:function(){if(this.collapsed)return;m(this,0);},extractContents:function(){var t=new...
var matchChar = _matchChar || line[i]; var pos = i+1; while ((pos < line.length) && (line[pos] !== matchChar)) ++pos; if (line[pos] === matchChar) return [pos-i+1,substInChord(line.substring(i+1, pos)), true]; else { pos = i+maxErrorChars; if (pos > line.length-1) pos = line.length-1; return [pos-i+1, substInChord(line...
pos = i+maxErrorChars; if (pos > line.length-1) pos = line.length-1; return [pos-i+1, substInChord(line.substring(i+1, pos)), false]; } };
this.getBrackettedSubstring = function(line, i, maxErrorChars, _matchChar) { // This extracts the sub string by looking at the first character and searching for that // character later in the line (or search for the optional _matchChar). // For instance, if the first character is a quote it will look for //...
}
},
getByCSWRecord : function (cswRecord) { var rec = ActiveLayersStore.superclass.getById.call(this, cswRecord.getFileIdentifier()); if (rec) { return new ActiveLayersRecord(rec); } return null; }
log.debug("converted logins: " + JSON.stringify(convertedResult));
if (log.logSensitiveData) log.debug("converted logins: " + JSON.stringify(convertedResult));
this.getChildEntries = function(uniqueID) { var result = this.syncRequest(this, "GetChildEntries", [uniqueID]); var convertedResult = []; for (var i in result) { var kfl = newkfLoginInfo(); kfl.initFromEntry(result[i]); convertedResult.push(kfl);...
else if (strClef.startsWith('perc')) name = 'perc';
this.getClef = function(str) { var strOrig = str; var i = this.skipWhiteSpace(str); if (finished(str, i)) return {len: 0}; // The word 'clef' is optional, but if it appears, a clef MUST appear var needsClef = false; var strClef = str.substring(i); if (strClef.startsWith('clef=')) { needsClef = true; strCl...
strClef = strClef.substring(name.length); j = this.isMatch(strClef, '+8');
strClef = strClef.substring(name.length); j = this.isMatch(strClef, '+8'); if (j > 0) name += "+8"; else { j = this.isMatch(strClef, '-8');
this.getClef = function(str) { var strOrig = str; var i = this.skipWhiteSpace(str); if (finished(str, i)) return {len: 0}; // The word 'clef' is optional, but if it appears, a clef MUST appear var needsClef = false; var strClef = str.substring(i); if (strClef.startsWith('clef=')) { needsClef = tru...
name += "+8"; else { j = this.isMatch(strClef, '-8'); if (j > 0) name += "-8"; } return {len: i+name.length, token: name, explicit: needsClef}; };
name += "-8"; } return {len: i+name.length, token: name, explicit: needsClef}; };
this.getClef = function(str) { var strOrig = str; var i = this.skipWhiteSpace(str); if (finished(str, i)) return {len: 0}; // The word 'clef' is optional, but if it appears, a clef MUST appear var needsClef = false; var strClef = str.substring(i); if (strClef.startsWith('clef=')) { needsClef = tru...
return "SBgL3aeB37Mnmy94+s3J3KAL/1EkSgiCVEkfp3Otm04tQtKBDDtaIw==";
return "hUiPbbPln4TIl+/RCsl5pjL0QOeEN7OqBmkz68ZMz7tGZOUxb7BCaQ==";
this.getClientIdSignatureBase64 = function() { return "SBgL3aeB37Mnmy94+s3J3KAL/1EkSgiCVEkfp3Otm04tQtKBDDtaIw=="; }
function getColumn(columni) {
this.getColumn = function(columni) {
function getColumn(columni) { var widget = WT.getElement(id), t = widget.firstChild; var i, j, jl, chn=t.childNodes; for (i=0, j=0, jl=chn.length; j<jl; j++) { var col=chn[j]; // for finding a column if (WT.hasTag(col, 'COLGROUP')) { // IE j=-1; chn=col.childNodes; jl=chn.length; ...
}
};
function getColumn(columni) { var widget = WT.getElement(id), t = widget.firstChild; var i, j, jl, chn=t.childNodes; for (i=0, j=0, jl=chn.length; j<jl; j++) { var col=chn[j]; // for finding a column if (WT.hasTag(col, 'COLGROUP')) { // IE j=-1; chn=col.childNodes; jl=chn.length; ...
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,h){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var f=a.px(c,"marginLeft");f+=a.px(c,"marginRight");f+=a.px(c,"borderLeftWidth");f+=a.px(c,"borderRightWidth");f+=a.px(c,"paddingLeft");f+=a.px(c,"paddingRight");return f};this.marginV=functi...
f+=a.px(b,"paddingTop");f+=a.px(b,"paddingBottom");return f};this.getColumn=function(b){var f,g,j,h=a.getElement(s).firstChild.childNodes;g=f=0;for(j=h.length;g<j;g++){var q=h[g];if(a.hasTag(q,"COLGROUP")){g=-1;h=q.childNodes;j=h.length}if(a.hasTag(q,"COL"))if(q.className!="Wt-vrh")if(f==b)return q;else++f}return null}...
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,h){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var f=a.px(c,"marginLeft");f+=a.px(c,"marginRight");f+=a.px(c,"borderLeftWidth");f+=a.px(c,"borderRightWidth");f+=a.px(c,"paddingLeft");f+=a.px(c,"paddingRight");return f};this.marginV=functi...
return h};this.getColumn=function(c){var h,g,j,f=a.getElement(s).firstChild.childNodes;g=h=0;for(j=f.length;g<j;g++){var q=f[g];if(a.hasTag(q,"COLGROUP")){g=-1;f=q.childNodes;j=f.length}if(a.hasTag(q,"COL"))if(q.className!="Wt-vrh")if(h==c)return q;else++h}return null};this.adjustRow=function(c,h){if(c.style.height!=h+...
WT_DECLARE_WT_MEMBER(1,"StdLayout",function(a,s,h){var p=this;this.getId=function(){return s};this.WT=a;this.marginH=function(c){var f=a.px(c,"marginLeft");f+=a.px(c,"marginRight");f+=a.px(c,"borderLeftWidth");f+=a.px(c,"borderRightWidth");f+=a.px(c,"paddingLeft");f+=a.px(c,"paddingRight");return f};this.marginV=functi...
return h};this.getColumn=function(c){var h,g,j,f=a.getElement(s).firstChild.childNodes;g=h=0;for(j=f.length;g<j;g++){var q=f[g];if(a.hasTag(q,"COLGROUP")){g=-1;f=q.childNodes;j=f.length}if(a.hasTag(q,"COL"))if(q.className!="Wt-vrh")if(h==c)return q;else++h}return null};this.adjustRow=function(c,h){if(c.style.height!=h+...
c+=a.px(b,"paddingTop");c+=a.px(b,"paddingBottom");return c};this.getColumn=function(b){var c,f,d,i=a.getElement(t).firstChild.childNodes;f=c=0;for(d=i.length;f<d;f++){var k=i[f];if(a.hasTag(k,"COLGROUP")){f=-1;i=k.childNodes;d=i.length}if(a.hasTag(k,"COL"))if(k.className!="Wt-vrh")if(c==b)return k;else++c}return null}...
c+=a.px(b,"paddingTop");c+=a.px(b,"paddingBottom");return c};this.getColumn=function(b){var c,f,i,d=a.getElement(t).firstChild.childNodes;f=c=0;for(i=d.length;f<i;f++){var k=d[f];if(a.hasTag(k,"COLGROUP")){f=-1;d=k.childNodes;i=d.length}if(a.hasTag(k,"COL"))if(k.className!="Wt-vrh")if(c==b)return k;else++c}return null}...
c+=a.px(b,"paddingTop");c+=a.px(b,"paddingBottom");return c};this.getColumn=function(b){var c,f,d,i=a.getElement(t).firstChild.childNodes;f=c=0;for(d=i.length;f<d;f++){var k=i[f];if(a.hasTag(k,"COLGROUP")){f=-1;i=k.childNodes;d=i.length}if(a.hasTag(k,"COL"))if(k.className!="Wt-vrh")if(c==b)return k;else++c}return null}...
},getCommonAncestor:function(t,u){var y=this;var v=y.startContainer,w=y.endContainer,x;if(v.equals(w)){if(t&&v.type==1&&y.startOffset==y.endOffset-1)x=v.getChild(y.startOffset);else x=v;}else x=v.getCommonAncestor(w);return u&&!x.is?x.getParent():x;},optimize:function(){var v=this;var t=v.startContainer,u=v.startOffset...
return{startNode:t,endNode:u};},getCommonAncestor:function(t,u){var y=this;var v=y.startContainer,w=y.endContainer,x;if(v.equals(w)){if(t&&v.type==1&&y.startOffset==y.endOffset-1)x=v.getChild(y.startOffset);else x=v;}else x=v.getCommonAncestor(w);return u&&!x.is?x.getParent():x;},optimize:function(){var v=this;var t=v....
},getCommonAncestor:function(t,u){var y=this;var v=y.startContainer,w=y.endContainer,x;if(v.equals(w)){if(t&&v.type==1&&y.startOffset==y.endOffset-1)x=v.getChild(y.startOffset);else x=v;}else x=v.getCommonAncestor(w);return u&&!x.is?x.getParent():x;},optimize:function(){var v=this;var t=v.startContainer,u=v.startOffset...
if (tune.addTieToLastNote()) el.endTie = true; else warn("Illegal tie before any other note", line, index);
tune.addTieToLastNote(); el.endTie = true;
var getCoreNote = function(line, index, el, canHaveBrokenRhythm) { //var el = { startChar: index }; var isComplete = function(state) { return (state === 'octave' || state == 'duration' || state == 'broken_rhythm' || state === 'end_slur'); }; var state = 'startSlur'; var durationSetByPreviousNote = false;...
var isComplete = function(state) { return (state === 'octave' || state === 'duration' || state === 'broken_rhythm' || state === 'end_slur'); }; var state = 'startSlur'; var durationSetByPreviousNote = false; while (1) { switch(line[index]) { case '(': if (state === 'startSlur') { if (el.startSlur === undefined) el.star...
var isComplete = function(state) { return (state === 'octave' || state === 'duration' || state === 'broken_rhythm' || state === 'end_slur'); }; var state = 'startSlur'; var durationSetByPreviousNote = false; while (1) { switch(line[index]) { case '(': if (state === 'startSlur') { if (el.startSlur === undefined) el.star...
var getCoreNote = function(line, index, el, canHaveBrokenRhythm) { //var el = { startChar: index }; var isComplete = function(state) { return (state === 'octave' || state === 'duration' || state === 'broken_rhythm' || state === 'end_slur'); }; var state = 'startSlur'; var durationSetByPreviousNote = fals...