rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
e = e || $.Event(); e.type = "onSlide"; fire.trigger(e, [v]); if (e.isDefaultPrevented()) { return self; }
if (value !== undefined && !isClick) { e = e || $.Event(); e.type = "onSlide"; fire.trigger(e, [v]); if (e.isDefaultPrevented()) { return self; } }
function Slider(input, conf) { // private variables var self = this, root = $("<div><div/><a/></div>").data("slider", self), value, // current value origo, // handle's start point len, // length of the slider pos, // current position of the handle progress, // progress "bar" han...
var isClick = e && e.originalEvent && e.originalEvent.type == "click", speed = isClick ? conf.speed : 0, callback = isClick ? function() {
var speed = isClick ? conf.speed : 0, fn = isClick ? function() {
function Slider(input, conf) { // private variables var self = this, root = $("<div><div/><a/></div>").data("slider", self), value, // current value origo, // handle's start point len, // length of the slider pos, // current position of the handle progress, // progress "bar" han...
handle.animate({top: -(x - len)}, speed, callback);
handle.animate({top: -(x - len)}, speed, fn);
function Slider(input, conf) { // private variables var self = this, root = $("<div><div/><a/></div>").data("slider", self), value, // current value origo, // handle's start point len, // length of the slider pos, // current position of the handle progress, // progress "bar" han...
handle.animate({left: x}, speed, callback);
handle.animate({left: x}, speed, fn);
function Slider(input, conf) { // private variables var self = this, root = $("<div><div/><a/></div>").data("slider", self), value, // current value origo, // handle's start point len, // length of the slider pos, // current position of the handle progress, // progress "bar" han...
if (!val || val == value) { return self; }
if (val === NaN || val == value) { return self; }
function Slider(input, conf) { // private variables var self = this, root = $("<div><div/><a/></div>").data("slider", self), value, // current value origo, // handle's start point len, // length of the slider pos, // current position of the handle progress, // progress "bar" han...
self.setValue(input.val() || conf.min);
self.setValue(input.val() || conf.value || conf.min);
function Slider(input, conf) { // private variables var self = this, root = $("<div><div/><a/></div>").data("slider", self), value, // current value origo, // handle's start point len, // length of the slider pos, // current position of the handle progress, // progress "bar" han...
var el = this.data("slideshow"), len = this.length;
var el = this.data("slideshow");
$.fn.slideshow = function(conf) { // return existing instance var el = this.data("slideshow"), len = this.length; if (el) { return el; } conf = $.extend({}, tool.conf, conf); this.each(function() { el = new Slideshow($(this), conf, len); $(this).data("slideshow", el); }); return conf.api ? el :...
el = new Slideshow($(this), conf, len);
el = new Slideshow($(this), conf);
$.fn.slideshow = function(conf) { // return existing instance var el = this.data("slideshow"), len = this.length; if (el) { return el; } conf = $.extend({}, tool.conf, conf); this.each(function() { el = new Slideshow($(this), conf, len); $(this).data("slideshow", el); }); return conf.api ? el :...
function Slideshow(root, conf, len) {
function Slideshow(root, conf) {
function Slideshow(root, conf, len) { var self = this, fire = root.add(this), tabs = root.data("tabs"), timer, hoverTimer, startTimer, stopped = false; // next / prev buttons function find(query) { return len == 1 ? $(query) : root.parent().find(query); } var nextButton = find(co...
return len == 1 ? $(query) : root.parent().find(query);
var el = $(query); return el.length < 2 ? el : root.parent().find(query);
function Slideshow(root, conf, len) { var self = this, fire = root.add(this), tabs = root.data("tabs"), timer, hoverTimer, startTimer, stopped = false; // next / prev buttons function find(query) { return len == 1 ? $(query) : root.parent().find(query); } var nextButton = find(co...
play: function() {
play: function() {http:
function Slideshow(root, conf, len) { var self = this, fire = root.add(this), tabs = root.data("tabs"), timer, hoverTimer, startTimer, stopped = false; // next / prev buttons function find(query) { return len == 1 ? $(query) : root.parent().find(query); } var nextButton = find(co...
}, bind: function(name, fn) { $(self).bind(name, fn); return self; }, unbind: function(name) { $(self).unbind(name); return self;
function Slideshow(root, conf, len) { var self = this, fire = root.add(this), tabs = root.data("tabs"), timer, hoverTimer, startTimer, stopped = false; // next / prev buttons function find(query) { return len == 1 ? $(query) : root.parent().find(query); } var nextButton = find(co...
$.ajax({ url: '/frontend/ajax.php?module=search&action=autocomplete&language=' + chunks[1],
$.ajax({ url: '/frontend/ajax.php?module=search&action=autocomplete',
source: function(request, response) { $.ajax({ url: '/frontend/ajax.php?module=search&action=autocomplete&language=' + chunks[1], type: 'GET', data: 'term=' + request.term + '&language=' + chunks[1] + '&limit=' + limit, success: function(data, textStatus) { // init var var realData = []; ...
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s...
x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.set...
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s...
while (leftSplitValue < 0 && leftSplit[left] > 0)
while (leftSplitValue < 0 && leftSplit[left] > 0) {
var splitter = function (left, right, value, splits) { var newSplits = []; for (var i = 0; i < splits.length; i++) { var bbox = splits[i]; var leftSplit = bbox.clone(); var rightSplit = bbox.clone(); //If we split across a range that sees a sign flip //ensure the sign across each split rectangle is eq...
while (leftSplitValue > 0 && leftSplit[left] < 0)
} while (leftSplitValue > 0 && leftSplit[left] < 0) {
var splitter = function (left, right, value, splits) { var newSplits = []; for (var i = 0; i < splits.length; i++) { var bbox = splits[i]; var leftSplit = bbox.clone(); var rightSplit = bbox.clone(); //If we split across a range that sees a sign flip //ensure the sign across each split rectangle is eq...
while (rightSplitValue < 0 && rightSplit[right] > 0)
while (rightSplitValue < 0 && rightSplit[right] > 0) {
var splitter = function (left, right, value, splits) { var newSplits = []; for (var i = 0; i < splits.length; i++) { var bbox = splits[i]; var leftSplit = bbox.clone(); var rightSplit = bbox.clone(); //If we split across a range that sees a sign flip //ensure the sign across each split rectangle is eq...
while (rightSplitValue > 0 && rightSplit[right] < 0)
} while (rightSplitValue > 0 && rightSplit[right] < 0) {
var splitter = function (left, right, value, splits) { var newSplits = []; for (var i = 0; i < splits.length; i++) { var bbox = splits[i]; var leftSplit = bbox.clone(); var rightSplit = bbox.clone(); //If we split across a range that sees a sign flip //ensure the sign across each split rectangle is eq...
}
var splitter = function (left, right, value, splits) { var newSplits = []; for (var i = 0; i < splits.length; i++) { var bbox = splits[i]; var leftSplit = bbox.clone(); var rightSplit = bbox.clone(); //If we split across a range that sees a sign flip //ensure the sign across each split rectangle is eq...
if (!fullPoll) { fullPoll=true; pollRequest.post(myRequestOptions); }
if (fullPoll < 2) { fullPoll= 2; if(Browser.Engine.trident && Browser.Engine.version == 5) { pollRequest.transmit({'lid':lastId+1}); } else { pollRequest.post($merge(myRequestOptions,{'lid':lastId+1})); } }
start : function () { if (!fullPoll) { fullPoll=true; pollRequest.post(myRequestOptions); } },
if (fullPoll < 2) { fullPoll= 2;
if (fullPoll == 0) {
start : function () { if (fullPoll < 2) { fullPoll= 2; pollRequest.post($merge(myRequestOptions,{'lid':lastId+1})); } },
fullPoll= 2;
start : function () { if (fullPoll < 2) { fullPoll= 2; pollRequest.post($merge(myRequestOptions,{'lid':lastId+1})); } },
if (fullPoll < 2) { fullPoll= 2; if(Browser.Engine.trident && Browser.Engine.version == 5) { pollRequest.transmit({'lid':lastId+1}); } else { pollRequest.post($merge(myRequestOptions,{'lid':lastId+1})); }
if (fullPoll == 0) { pollRequest.post($merge(myRequestOptions,{'lid':lastId+1}));
start : function () { if (fullPoll < 2) { fullPoll= 2; if(Browser.Engine.trident && Browser.Engine.version == 5) { pollRequest.transmit({'lid':lastId+1}); } else { pollRequest...
fullPoll= 2;
start : function () { if (fullPoll < 2) { fullPoll= 2; if(Browser.Engine.trident && Browser.Engine.version == 5) { pollRequest.transmit({'lid':lastId+1}); } else { pollRequest...
findABC($("body")).each(function(i,elem){
getABCContainingElements($("body")).each(function(i,elem){
function start_abc() { // var userlogout = $("a.mainmenu:last").text();// if (userlogout == "Connexion") {// //GM_log("User not logged in");// return;// }// var username = /\[\s(.*)\s\]/.exec(userlogout)[1]; // if (username != "Tirno") {// return;// } abc_plugin_errors=""; findABC($("body")).e...
if (this.nextTab()) { this.nextTab().activate();
var nextTab = this.menu.activeTab.nextTab(); if (nextTab) { nextTab.activate();
startAutoPlay: function() { this.stopAutoPlay(); this.parent.autoPlayerTimer = setTimeout(function() { if (this.nextTab()) { this.nextTab().activate(); } }.bind(this), this.parent.options.autoPlayDelay); },
This.appendStartingElement('clef', params.startChar, params.endChar, {type: params.clef });
This.appendStartingElement('clef', params.startChar, params.endChar, params.clef );
startNewLine: function(params) { // If the pointed to line doesn't exist, just create that. If the line does exist, but doesn't have any music on it, just use it. // If it does exist and has music, then increment the line number. If the new element doesn't exist, create it. var This = this; var createVoice = funct...
if (params.name) this.lines[This.lineNum].staff[This.staffNum].title = params.name;
if (params.name) This.lines[This.lineNum].staff[This.staffNum].title = params.name; if (params.fontVocal) This.lines[This.lineNum].staff[This.staffNum].fontVocal = params.fontVocal;
startNewLine: function(params) { // If the pointed to line doesn't exist, just create that. If the line does exist, but doesn't have any music on it, just use it. // If it does exist and has music, then increment the line number. If the new element doesn't exist, create it. var This = this; var createVoice = funct...
}; var createStaff = function(params) { This.lines[This.lineNum].staff[This.staffNum] = { voices: [ ]}; if (params.name) This.lines[This.lineNum].staff[This.staffNum].title = params.name; if (params.fontVocal) This.lines[This.lineNum].staff[This.staffNum].fontVocal = params.fontVocal; createVoice(params);
startNewLine: function(params) { // If the pointed to line doesn't exist, just create that. If the line does exist, but doesn't have any music on it, just use it. // If it does exist and has music, then increment the line number. If the new element doesn't exist, create it. var This = this; var createVoice = funct...
startNewLine: function(params) {
this.startNewLine = function(params) {
startNewLine: function(params) { // If the pointed to line doesn't exist, just create that. If the line does exist, but doesn't have any music on it, just use it. // If it does exist and has music, then increment the line number. If the new element doesn't exist, create it. var This = this; var createVoice = funct...
},
};
startNewLine: function(params) { // If the pointed to line doesn't exist, just create that. If the line does exist, but doesn't have any music on it, just use it. // If it does exist and has music, then increment the line number. If the new element doesn't exist, create it. var This = this; var createVoice = funct...
if (multilineVars.barNumbers === 0) multilineVars.barNumOnNextNote = multilineVars.currBarNumber;
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part =multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.currentVoice.clef !== undefined ? multilineVars.currentVoice.clef : multilineVars.clef ; para...
var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilineVars.currentVoice.staffNum].clef : m...
var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilineVars.currentVoice.staffNum].clef : m...
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilin...
} if (multilineVars.currentVoice && multilineVars.currentVoice.name) params.name = multilineVars.currentVoice.name; if (multilineVars.vocalfont) params.vocalfont = multilineVars.vocalfont; if (multilineVars.currentVoice) { var staff = multilineVars.staves[multilineVars.currentVoice.staffNum]; if (staff.brace) params.br...
} else params.meter = multilineVars.meter; multilineVars.meter = null; } else if (multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].meter) { params.meter = multilineVars.staves[multilineVars.currentVoice.staffNum].meter; multilineVars.staves[multilineVars.currentVoice.staffNum].me...
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilin...
multilineVars.partForNextLine = ""; if (multilineVars.currentVoice === undefined || (multilineVars.currentVoice.staffNum === multilineVars.staves.length-1 && multilineVars.staves[multilineVars.currentVoice.staffNum].numVoices-1 === multilineVars.currentVoice.index)) { if (multilineVars.barNumbers === 0) multilineVars....
multilineVars.partForNextLine = ""; if (multilineVars.currentVoice === undefined || (multilineVars.currentVoice.staffNum === multilineVars.staves.length-1 && multilineVars.staves[multilineVars.currentVoice.staffNum].numVoices-1 === multilineVars.currentVoice.index)) { if (multilineVars.barNumbers === 0) multilineVars....
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilin...
}
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilin...
if (multilineVars.currentVoice) { var staff = multilineVars.staves[multilineVars.currentVoice.staffNum]; if (staff.brace) params.brace = staff.brace; if (staff.bracket) params.bracket = staff.bracket; if (staff.connectBarLines) params.connectBarLines = staff.connectBarLines; if (staff.name) params.name = staff.name[mul...
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part =multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.currentVoice.clef !== undefined ? multilineVars.currentVoice.clef : multilineVars.clef ; para...
params.key = Object.clone(multilineVars.key);
params.key = header.deepCopyKey(multilineVars.key.accidentals);
function startNewLine() { var params = { startChar: -1, endChar: -1}; if (multilineVars.partForNextLine.length) params.part = multilineVars.partForNextLine; params.clef = multilineVars.currentVoice && multilineVars.staves[multilineVars.currentVoice.staffNum].clef !== undefined ? multilineVars.staves[multilineVars...
this.bookmarkable = true;
startSearch : function(panel, updateHistory) { this.bookmarkable = true; if (updateHistory) { // update history in address bar of browser Sonatype.utils.updateHistory(panel); } var searchType = this.getSearchType(this.searchTypeButton.value); searchType.searchHandler.call(this, panel); },
panel.extraData = null;
startSearch : function(panel, updateHistory) { if (updateHistory) { // update history in address bar of browser Sonatype.utils.updateHistory(panel); } var searchType = this.getSearchType(this.searchTypeButton.value); if ( panel.grid.store.sortInfo ) { panel.grid.store.sortInfo = null; ...
if (keeFoxInst._keeFoxStorage.get("KeePassRPCActive", false)) { keeFoxInst._KFLog.debug("Setup has already been done but we will make sure that the window that this scope is a part of has been set up to properly reflect KeeFox status"); keeFoxInst._refreshKPDB(); return;
if (keeFoxInst._keeFoxStorage.get("KeePassRPCActive", false)) { keeFoxInst._KFLog.debug("Setup has already been done but we will make sure that the window that this scope is a part of has been set up to properly reflect KeeFox status"); keeFoxInst._refreshKPDB(); return; }
startupKeeFox : function(currentKFToolbar, currentWindow) { //keeFoxInst._KFLog = keefox_org.Logger; keefox_org.Logger.info("Testing to see if we've already established whether KeePassRPC is connected."); if (keeFoxInst._keeFoxStorage.get("KeePassRPCActive", false)) { keeFo...
}
startupKeeFox : function(currentKFToolbar, currentWindow) { //keeFoxInst._KFLog = keefox_org.Logger; keefox_org.Logger.info("Testing to see if we've already established whether KeePassRPC is connected."); if (keeFoxInst._keeFoxStorage.get("KeePassRPCActive", false)) { keeFo...
this.maMarkers = new Array();
this.maMarkers = [];
function StationGroup(pIcon, pTitle, pDescription, pWfsUrl, pWfsFeatureType) { // Initialize the members of the class var reg = /\s+/g; this.msId = pTitle.replace(reg, '_'); this.msTitle = pTitle; this.msDescription = pDescription; this.msIcon = pIcon; this.mbIsGroupOn = false; this.msFeatureType = pWfsFeatureT...
}
};
function StationGroup_getClickFn() { var group = this; return function() { group.onClick(); }}
}
};
function StationGroup_getHideToolTipFn() { return function() { UnTip(); }}
}
};
function StationGroup_getShowToolTipFn() { var group = this; return function() { Tip(group.msDescription); }}
if (g_IsIE)
if (g_IsIE) {
function StationGroup_parseXmlForMarkers(pRootNode) { var rootNode = pRootNode; if (g_IsIE) rootNode.setProperty("SelectionLanguage", "XPath"); // Parse the XML for stations // Beware of using namespaces when using getElementsByTagName - it does not include namespaces in parsing. var aStations = rootNode.ge...
if (!aStations.length)
if (!aStations.length) {
function StationGroup_parseXmlForMarkers(pRootNode) { var rootNode = pRootNode; if (g_IsIE) rootNode.setProperty("SelectionLanguage", "XPath"); // Parse the XML for stations // Beware of using namespaces when using getElementsByTagName - it does not include namespaces in parsing. var aStations = rootNode.ge...
}
function StationGroup_parseXmlForMarkers(pRootNode) { var rootNode = pRootNode; if (g_IsIE) rootNode.setProperty("SelectionLanguage", "XPath"); // Parse the XML for stations // Beware of using namespaces when using getElementsByTagName - it does not include namespaces in parsing. var aStations = rootNode.ge...
var boundfunc; if(this.firstRun) { switch($type(func)) { case 'function': boundfunc = func.bind(this); this.currentContext.insertStep({type:'f',data:boundfunc,firstRun:true}); break; case 'array': this.DO(func); break; case 'number': if (func == EXIT) { this.currentContext.insertStep({type:'exit'}); break; } default: ...
this.step(func); this.currentContext.step--;
STEP:function(func) { var boundfunc; if(this.firstRun) { switch($type(func)) { case 'function': boundfunc = func.bind(this); this.currentContext.insertStep({type:'f',data:boundfunc,firstRun:true}); break; case 'array': this.DO(func); //recursively add the next level break;...
this.currentContext.insertStep({type:'fail',data:'Invalid Entry in DO array'});
this.currentContext.insertStep({type:'exit'});
step:function (func) { var boundfunc; switch($type(func)) { case 'function': boundfunc = func.bind(this); this.currentContext.insertStep({type:'f',data:boundfunc,firstRun:true}); break; case 'array': this.donest(func); //recursively add the next level break; case 'number': if (...
self.setValue(value + conf.step * (am || 1), e);
var step = conf.step == 'any' ? 1 : conf.step; self.setValue(value + step * (am || 1), e);
step: function(am, e) { e = e || $.Event(); self.setValue(value + conf.step * (am || 1), e); },
},
}
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
result.prime = NULL_CHECKER;
result.checker = NULL_CHECKER;
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
if ( result.prime == null || result.prime == NULL_CHECKER ) {
if ( result.checker == null || result.checker == NULL_CHECKER ) {
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
if ( result.prime ) return DONE( result);
if ( result.checker ) return DONE();
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
function(result) { result.checker = NULL_CHECKER;
function() { SET(NULL_CHECKER);
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
if ( result.checker == null || result.checker == NULL_CHECKER ) { BigInteger.err( "stepping_fromNumber1.2.1.2: returned stepping_isProbablePrime: subparam.result == WARNING NULL " + result.prime );
if ( result == null || result == NULL_CHECKER ) { BigInteger.err( "stepping_fromNumber1.2.1.2: returned stepping_isProbablePrime: subparam.result == WARNING NULL " + result );
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
if ( result.checker ) return DONE();
if ( result ) return DONE();
BigInteger.prototype.stepping_fromNumber1 = function( bitLength, certainty, rnd ) { var self=this; BigInteger.log("stepping_fromNumber1"); var NULL_CHECKER = { toString : function() { return "*** FAILED TO RETRIEVE RESULT ***"; } }; // ver2 return STEP(function() { BigInteger.log( "stepping_fromNumber1...
RSA.log( "RSAEngine:2.3.3:subparam.result="+result );
RSA.log( "RSAEngine:2.3.3:result="+result );
function stepping_generate (myArgs) { var B,E; B = myArgs[0]; E = myArgs[1]; //var rng = new SecureRandom(); // MODIFIED 2008/12/07 var rng; // var qs = B>>1; var qs = self.splitBitLength( B ); self._e(E); var ee = new BigInteger(self.e); var p1; var q1; var phi; retur...
if ( result.prime ) {
if ( result ) {
function stepping_generate (myArgs) { var B,E; B = myArgs[0]; E = myArgs[1]; //var rng = new SecureRandom(); // MODIFIED 2008/12/07 var rng; // var qs = B>>1; var qs = self.splitBitLength( B ); self._e(E); var ee = new BigInteger(self.e); var p1; var q1; var phi; retur...
RSA.log( "RSAEngine:2.3.3:result="+result.prime ); if ( result.prime ) {
RSA.log( "RSAEngine:2.3.3:result="+result ); if ( result ) {
function stepping_generate (myArgs) { var B,E; B = myArgs[0]; E = myArgs[1]; //var rng = new SecureRandom(); // MODIFIED 2008/12/07 var rng; // var qs = B>>1; var qs = self.splitBitLength( B ); self._e(E); var ee = new BigInteger(self.e); var p1; var q1; var phi; retur...
},
}
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function() { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_isProba...
return DONE(result);
return DONE();
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
result.prime return DONE(result);
result.prime = false; return DONE();
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
function(result) {
function() {
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
result.prime = true; return DONE();
return DONE(true);
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
result.prime = false; return DONE();
return DONE(false);
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
result.prime=null;
SET(null);
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result.prime );
BigInteger.log( "stepping_isProbablePrime No.3: returning millerRabin : subparam.result=" + result );
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result.prime );
BigInteger.log( "stepping_isProbablePrime No.3: param.result=" + result );
BigInteger.prototype.stepping_isProbablePrime = function (t) {// BigInteger.log( "stepping_isProbablePrime:create" ); var self = this; var x = self.abs(); return DO([ function(result) { BigInteger.log("stepping_isProbablePrime No.1: " ); // if ( param.result == null ) { // BigInteger.err("stepping_i...
},
}
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function() {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( BigInteg...
return DONE(result);
return DONE();
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
function (result ) {
function ( ) {
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
function(result ) {
function() {
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
result.prime = false return DONE();
return DONE(false);
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
result.prime = true return DONE();
return DONE(true);
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
y = result.y;
y = result;
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
result.prime = false; return DONE();
return DONE(false);
BigInteger.prototype.stepping_millerRabin = function ( t ) {// BigInteger.log( "stepping_millerRabin" ); var self=this; // VER2>> // LOOP1 var n1; var k; var r; var a; // LOOP2 var i=0; var y; return DO([ function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( B...
},
}
BigInteger.prototype.stepping_modPow = function (e,m) { var self=this; var i,k,r,z; var g; var j,w,is1,r2,t; return DO([ function() {// BigInteger.log("stepping_modPow 1:" ); // var i = e.bitLength(), k, r = new BigInteger(1), z; i = e.bitLength(); r = new BigInteger(1); if ( i <= 0 ){ // return r...
return DONE(result);
return DONE();
BigInteger.prototype.stepping_modPow = function (e,m) { var self=this; var i,k,r,z; var g; var j,w,is1,r2,t; return DO([ function(result) {// BigInteger.log("stepping_modPow 1:" ); // var i = e.bitLength(), k, r = new BigInteger(1), z; i = e.bitLength(); r = new BigInteger(1); if ( i <= 0 ){ // re...
function(result) {
function() {
BigInteger.prototype.stepping_modPow = function (e,m) { var self=this; var i,k,r,z; var g; var j,w,is1,r2,t; return DO([ function(result) {// BigInteger.log("stepping_modPow 1:" ); // var i = e.bitLength(), k, r = new BigInteger(1), z; i = e.bitLength(); r = new BigInteger(1); if ( i <= 0 ){ // re...
result.y = r return DONE();
return DONE(r);
BigInteger.prototype.stepping_modPow = function (e,m) { var self=this; var i,k,r,z; var g; var j,w,is1,r2,t; return DO([ function(result) {// BigInteger.log("stepping_modPow 1:" ); // var i = e.bitLength(), k, r = new BigInteger(1), z; i = e.bitLength(); r = new BigInteger(1); if ( i <= 0 ){ // re...
result.y = z.revert(r);
var result = z.revert(r);
BigInteger.prototype.stepping_modPow = function (e,m) { var self=this; var i,k,r,z; var g; var j,w,is1,r2,t; return DO([ function(result) {// BigInteger.log("stepping_modPow 1:" ); // var i = e.bitLength(), k, r = new BigInteger(1), z; i = e.bitLength(); r = new BigInteger(1); if ( i <= 0 ){ // re...
return DONE();
return DONE(result);
BigInteger.prototype.stepping_modPow = function (e,m) { var self=this; var i,k,r,z; var g; var j,w,is1,r2,t; return DO([ function(result) {// BigInteger.log("stepping_modPow 1:" ); // var i = e.bitLength(), k, r = new BigInteger(1), z; i = e.bitLength(); r = new BigInteger(1); if ( i <= 0 ){ // re...
},
}
stop: function() { self.pause(); stopped = true; },
fullPoll=false;
fullPoll=1;
stop : function() { fullPoll=false; },
playEmbedded.stop();
function stopPlay(){ playEmbedded.stop();}
}
};
I18n.strftime = function(date, format) { var options = this.lookup("date"); if (!options) { return date.toString(); } var weekDay = date.getDay(); var day = date.getDate(); var year = date.getFullYear(); var month = date.getMonth() + 1; var hour = date.getHours(); var hour12 = hour; var meridian = hour > 12? "PM" : "A...
R in P&&delete P[Q[S]];}}return O;},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attribu...
return l.length?l.join(';')+';':false;};},elementMigrateFilter:function(h,i){return function(j){var k=i?new CKEDITOR.style(h,i)._.definition:h;j.name=k.element;CKEDITOR.tools.extend(j.attributes,CKEDITOR.tools.clone(k.attributes));j.addStyle(CKEDITOR.style.getStyleText(k));};},styleMigrateFilter:function(h,i){var j=thi...
R in P&&delete P[Q[S]];}}return O;},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attribu...
d.fn.css=function(a,b){return S(this,a,b,true,function(e,g,h){if(h===v)return d.curCSS(e,g);if(typeof h==="number"&&!Oa.test(g))h+="px";d.style(e,g,h)})};d.extend({style:function(a,b,e){if(!a||a.nodeType===3||a.nodeType===8)return v;if((b==="width"||b==="height")&&parseFloat(e)<0)e=v;var g=a.style||a,h=e!==v;if(!d.supp...
"Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=c.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return S(this,a,b,true,function(e,f,h){if(h===v)return c.curCSS(e,f);if(typeof h==="number"&&!Oa.test(f))h+="px";c.style(e,f,h)})};c.extend({style:func...
d.fn.css=function(a,b){return S(this,a,b,true,function(e,g,h){if(h===v)return d.curCSS(e,g);if(typeof h==="number"&&!Oa.test(g))h+="px";d.style(e,g,h)})};d.extend({style:function(a,b,e){if(!a||a.nodeType===3||a.nodeType===8)return v;if((b==="width"||b==="height")&&parseFloat(e)<0)e=v;var g=a.style||a,h=e!==v;if(!d.supp...
break; } }
KFILM.prototype.submitForm = function (form) { var inputElements = form.getElementsByTagName("input"); var submitElement = null; // Find the first submit button for(var i = 0; i < inputElements.length; i++) if(inputElements[i].type != null && inputElements[i].type == "su...
},
}
submitHandler : function(form, action, receivedData) { receivedData.mapping = this.payload.data.mapping; },
name : this.loadedUserData.name,
submitHandler : function(form, action, receivedData) { var store; if (this.payload.id == 'new_mapping' && this.payload.hostPanel) { store = this.payload.hostPanel.dataStore; } else if (this.payload.store) { store = this.payload.store; } if ...
while ( str.indexOf("\\n") !== -1) { str = str.replace("\\n", "\n"); } return str; };
str = str.replace("\\n", "\n"); } return str; };
var substInChord = function(str) { while ( str.indexOf("\\n") !== -1) { str = str.replace("\\n", "\n"); } return str; };
jsBackend.messages.add('success', "{$msgCategoryAdded}");
jsBackend.messages.add('success', "{$msgAddedCategory|addslashes}".replace('%1$s', name));
success: function(data, textStatus) { if(data.code == 200) { // existing categoyr if(typeof data.data.id != 'undefined') var id = data.data.id; // doesn't exist else { var id = data.data.new_id; $('#categoryId').append('<option selected="selected" value="'+ id +'">'+ name +'</op...
$this.updateStatusMessage(sprintf(_("Last saved at %1$s", ''+new Date())));
$this.updateStatusMessage(sprintf(_("Last saved at %1$s"), ''+new Date()));
success: function () { $this.save_inprogress = false; $this.updateStatusMessage(sprintf(_("Last saved at %1$s", ''+new Date()))); },
w.close(); Sonatype.MessageBox.show({ title : 'Username Recovery', msg : 'Username request completed successfully.' + '<br /><br />' + 'Check your mailbox, the username reminder should arrive in a few minutes.', buttons : Sonatype.MessageBox.OK, icon : Sonatype.MessageBox.INFO, animEl : 'mb3' }); },
if (activeWindow) { activeWindow.getEl().unmask(); } if (Sonatype.repoServer.RepoServer.loginWindow.isVisible()) { Sonatype.view.loginSuccessfulToken = Sonatype.view.afterLoginToken; Sonatype.repoServer.RepoServer.loginWindow.hide(); Sonatype.repoServer.RepoServer.loginForm.getForm().reset(); } var respObj = Ext.deco...
success : function(response, options) { w.close(); Sonatype.MessageBox.show({ title : 'Username Recovery', msg : 'Username request completed suc...
alert("Remote server returned an unsupported response.");
success: function(response, options) { if (isGmlDataThere(response.responseText)) { //Parse the response var XmlDoc = GXml.parse(response.responseText); if (g_IsIE) { XmlDoc.setProperty("SelectionLanguage", "XPath"); } ...
if(line == null || line.length <= 0) {
if(line === null || line.length <= 0) {
success: function(response, options) { if (isGmlDataThere(response.responseText)) { //Parse the response var XmlDoc = GXml.parse(response.responseText); if (g_IsIE) { XmlDoc.setProperty("SelectionLanguage", "XPath"); } var rootNode = XmlDoc.documentElement; if (!...