rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var yuiRTE = rteEditors[control.id]; yuiRTE.set("disabled", ! isRelevant);
if (ORBEON.util.Dom.hasClass(control, "xforms-group-begin-end")) { var parentDisabled = false; if (isRelevant) { var depth = 0; var current = control; while (true) { current = YAHOO.util.Dom.getPreviousSibling(current); if (current == null) break; if (YAHOO.util.Dom.hasClass(current, "xforms-group-begin-end")) { if (...
setRelevant: function(control, isRelevant) { var yuiRTE = rteEditors[control.id]; yuiRTE.set("disabled", ! isRelevant); }
},
setRelevant: function(control, isRelevant) { var yuiRTE = rteEditors[control.id]; yuiRTE.set("disabled", ! isRelevant); }
if (!preventEvent)
if (!preventEvent && selectionIsSane())
function setSelection(ranges, preventEvent) { var axis, range, axes = plot.getAxes(); var o = plot.getOptions(); if (o.selection.mode == "y") { selection.first.x = 0; selection.second.x = plot.width(); } else { a...
var oticks = axis.options.ticks, ticks = null;
var oticks = axis.options.ticks, ticks = [];
function setTicks(axis) { axis.ticks = []; var oticks = axis.options.ticks, ticks = null; if (oticks == null || (typeof oticks == "number" && oticks > 0)) ticks = axis.tickGenerator(axis); else if (oticks) { if ($.isFunction(oticks)) ...
if (this._type && this._type != type) { throw new Error("Attempting to set type " + type + "for item that already has type" + this._type); }
this.setType = function(type) { if (this._type && this._type != type) { throw new Error("Attempting to set type " + type + "for item that already has type" + this._type); } this._type = type; }
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="te...
var va=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},wa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:func...
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="te...
var maxOutset = options.grid.borderWidth;
var maxOutset = 0;
function setupGrid() { var axes = getUsedAxes(), j, k; // compute axis intervals for (k = 0; k < axes.length; ++k) setRange(axes[k]); plotOffset.left = plotOffset.right = plotOffset.top = plotOffset.bottom = 0; if (options.grid.sh...
for (var a in plotOffset)
for (var a in plotOffset) { plotOffset[a] += options.grid.borderWidth;
function setupGrid() { var axes = getUsedAxes(), j, k; // compute axis intervals for (k = 0; k < axes.length; ++k) setRange(axes[k]); plotOffset.left = plotOffset.right = plotOffset.top = plotOffset.bottom = 0; if (options.grid.sh...
var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited");
var isVisited = YAHOO.util.Dom.hasClass(control, "xforms-visited");
setValid: function(control, newValid) { // Update class xforms-invalid on the control var isValid; var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited"); if (newValid != null) { isValid = newValid != "false"; if (isValid) { ORBEON.util.D...
ORBEON.util.Dom.removeClass(control, "xforms-invalid"); ORBEON.util.Dom.removeClass(control, "xforms-invalid-visited");
YAHOO.util.Dom.removeClass(control, "xforms-invalid"); YAHOO.util.Dom.removeClass(control, "xforms-invalid-visited");
setValid: function(control, newValid) { // Update class xforms-invalid on the control var isValid; var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited"); if (newValid != null) { isValid = newValid != "false"; if (isValid) { ORBEON.util.D...
ORBEON.util.Dom.addClass(control, "xforms-invalid"); if (isVisited) ORBEON.util.Dom.addClass(control, "xforms-invalid-visited");
YAHOO.util.Dom.addClass(control, "xforms-invalid"); if (isVisited) YAHOO.util.Dom.addClass(control, "xforms-invalid-visited");
setValid: function(control, newValid) { // Update class xforms-invalid on the control var isValid; var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited"); if (newValid != null) { isValid = newValid != "false"; if (isValid) { ORBEON.util.D...
ORBEON.util.Dom.removeClass(alertElement, "xforms-alert-active"); ORBEON.util.Dom.removeClass(alertElement, "xforms-alert-active-visited"); ORBEON.util.Dom.addClass(alertElement, "xforms-alert-inactive");
YAHOO.util.Dom.removeClass(alertElement, "xforms-alert-active"); YAHOO.util.Dom.removeClass(alertElement, "xforms-alert-active-visited"); YAHOO.util.Dom.addClass(alertElement, "xforms-alert-inactive");
setValid: function(control, newValid) { // Update class xforms-invalid on the control var isValid; var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited"); if (newValid != null) { isValid = newValid != "false"; if (isValid) { ORBEON.util.D...
ORBEON.util.Dom.removeClass(alertElement, "xforms-alert-inactive"); ORBEON.util.Dom.addClass(alertElement, "xforms-alert-active"); if (isVisited) ORBEON.util.Dom.addClass(alertElement, "xforms-alert-active-visited");
YAHOO.util.Dom.removeClass(alertElement, "xforms-alert-inactive"); YAHOO.util.Dom.addClass(alertElement, "xforms-alert-active"); if (isVisited) YAHOO.util.Dom.addClass(alertElement, "xforms-alert-active-visited");
setValid: function(control, newValid) { // Update class xforms-invalid on the control var isValid; var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited"); if (newValid != null) { isValid = newValid != "false"; if (isValid) { ORBEON.util.D...
if (newValid && alertTooltip != null && alertTooltip != true) alertTooltip.destroy(); ORBEON.xforms.Globals.alertTooltipForControl[control.id] = null;
if (alertTooltip != null && alertTooltip != true) { if (isValid) { alertTooltip.cfg.setProperty("disabled", true); alertTooltip.hide(); } else { alertTooltip.cfg.setProperty("disabled", false); } }
setValid: function(control, newValid) { // Update class xforms-invalid on the control var isValid; var isVisited = ORBEON.util.Dom.hasClass(control, "xforms-visited"); if (newValid != null) { isValid = newValid != "false"; if (isValid) { ORBEON.util.D...
if (! ORBEON.util.Dom.hasClass(control, "xforms-incremental") || ORBEON.xforms.Globals.currentFocusControlId != control.id) {
if (! YAHOO.util.Dom.hasClass(control, "xforms-incremental") || ORBEON.xforms.Globals.currentFocusControlId != control.id) {
setValue: function(control, newValue) { // Don't update the textarea with HTML from the server while the user is typing, otherwise the user // loses their cursor position. This lets us have a certain level of support for incremental rich text areas, // however, ignoring server v...
var footerMessage = ""; if (onBerlinDe) { footerMessage = '<b><a href="http: + 'is powered by <a href="http: } else { footerMessage = '<b><a href="http: + 'are powered by <a href="http: }
function setWorkspaceInfos() { if (workspaceInfos == null) { // ### Improve Exception Handling alert("Sorry. The workspace you tried to access is not properly configured by the administrator."); } else { var footer = '<span id="footerImprint"><a href="'+workspaceInfos.imprint+'">Impressum / Haftungshi...
if (workspaceInfos == null) { alert("Sorry. The workspace you tried to access is not properly configured by the administrator."); } else { var footer = '<span id="footerImprint"><a href="'+workspaceInfos.imprint+'">Impressum / Haftungshinweise</a></span>'; footer += '<span id="footerPoweredBy">'+footerMessage+'</span>'...
var footer = '<span id="footerImprint"><a href="'+workspaceImprint+'">Impressum / Haftungshinweise</a></span>'; footer += '<span id="footerPoweredBy">'+footerMessage+'</span>'; jQuery("#kafooter").html(footer); jQuery("#sideBarLogo").attr('src', '' + IMAGES_URL + workspaceLogo); jQuery("#sideBarLogo").attr('title', 'A ...
function setWorkspaceInfos() { var footerMessage = ""; if (onBerlinDe) { footerMessage = '<b><a href="http://www.kiezatlas.de">Kiezatlas</a></b> ' + 'is powered by <a href="http://www.deepamehta.de">DeepaMehta</a>'; } else { footerMessage = '<b><a href="http://www.kiezatlas.de">Kiezatlas <i>L...
this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipLaunchedFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipLaunchedFromStation = function () { performCleanUp(); }
this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipLaunchedFromStation = function () { performCleanUp(); }
shouldNotThrow: function (func, args, this_context) {
shouldNotThrow: function (func, args, this_context, callback) {
shouldNotThrow: function (func, args, this_context) { try { func.apply(this_context, args); } catch (e) { throw new AssertFailedException('Caught <' + e + '>'); } },
throw new AssertFailedException('Caught <' + e + '>');
var exception = new AssertFailedException('Caught <' + e + '>'); if (callback) { callback(exception); } else { throw exception; }
shouldNotThrow: function (func, args, this_context) { try { func.apply(this_context, args); } catch (e) { throw new AssertFailedException('Caught <' + e + '>'); } },
shouldThrow: function (func, args, this_context) {
shouldThrow: function (func, args, this_context, callback) {
shouldThrow: function (func, args, this_context) { try { func.apply(this_context, args); } catch (e) { return; } throw new AssertFailedException('No exception was thrown'); },
return;
var passed = true;
shouldThrow: function (func, args, this_context) { try { func.apply(this_context, args); } catch (e) { return; } throw new AssertFailedException('No exception was thrown'); },
throw new AssertFailedException('No exception was thrown');
if (!passed) { var exception = new AssertFailedException('No exception was thrown'); if (callback) { callback(exception); } else { throw exception; } }
shouldThrow: function (func, args, this_context) { try { func.apply(this_context, args); } catch (e) { return; } throw new AssertFailedException('No exception was thrown'); },
Popup.get_popup().slideDown(500);
Popup.get_popup().show();
show: function() { Popup.get_popup().slideDown(500); },
c.css({position:"relative",top:0,left:0})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({e...
k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments...
c.css({position:"relative",top:0,left:0})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({e...
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.opt...
var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this....
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.opt...
if (itemView instanceof browser.ItemReferenceView) {
if (itemView instanceof browser.views.ItemReferenceView) {
this.showAt = function(itemView, preventLayout) { if (this._focusedItem) { this._focusedItem.unsubscribe(this._layoutHandler); } this._focusedView = itemView; this._focusedView.subscribe('Resize', bind(this, '_layoutHandler')); if (!preventLayout) { this.getElement(); // to force createContent this.layout(); ...
} else if (itemView instanceof browser.ItemValueView) {
} else if (itemView instanceof browser.views.ItemValueView) {
this.showAt = function(itemView, preventLayout) { if (this._focusedItem) { this._focusedItem.unsubscribe(this._layoutHandler); } this._focusedView = itemView; this._focusedView.subscribe('Resize', bind(this, '_layoutHandler')); if (!preventLayout) { this.getElement(); // to force createContent this.layout(); ...
function showCal(id,dateField)
function showCal(id,dateField,dateFormat)
function showCal(id,dateField){ var x = document.getElementById(id); x.innerHTML = ''; var dp = new Ext.DatePicker({ renderTo:id, format:"m/d/y", idField:dateField }); //get the element var el = document.getElementById(dateField); if(el.value != "") { selectedDate = new Date(el.value); if (isNaN(selectedDate.getTime(...
var dp = new Ext.DatePicker({ renderTo:id, format:"m/d/y", idField:dateField });
var dp = new Ext.DatePicker({ renderTo:id, format:dateFormat, idField:dateField });
function showCal(id,dateField){ var x = document.getElementById(id); x.innerHTML = ''; var dp = new Ext.DatePicker({ renderTo:id, format:"m/d/y", idField:dateField }); //get the element var el = document.getElementById(dateField); if(el.value != "") { selectedDate = new Date(el.value); if (isNaN(selectedDate.getTime(...
selectedDate = new Date(el.value);
splitChar = "."; if (el.value.indexOf("-") != -1) { splitChar = "-"; } if (el.value.indexOf("/") != -1) { splitChar = "/"; } var splitDate = el.value.split(splitChar); var year = null; var month = null; var day = null; dateFormat = dateFormat.replace(splitChar, ""); dateFormat = dateFormat.replace(splitChar, "")...
function showCal(id,dateField){ var x = document.getElementById(id); x.innerHTML = ''; var dp = new Ext.DatePicker({ renderTo:id, format:"m/d/y", idField:dateField }); //get the element var el = document.getElementById(dateField); if(el.value != "") { selectedDate = new Date(el.value); if (isNaN(selectedDate.getTime(...
ORBEON.util.Dom.removeClass(divElement, "xforms-initially-hidden");
YAHOO.util.Dom.removeClass(divElement, "xforms-initially-hidden");
showDialog: function(controlId, neighbor) { var divElement = YAHOO.util.Dom.get(controlId); var yuiDialog = ORBEON.xforms.Globals.dialogs[controlId]; // Take out the focus from the current control. This is particularly important with non-modal dialogs // opened with a minimal trigger, ot...
ORBEON.util.Dom.addClass(yuiDialog.innerElement, "yui-module"); ORBEON.util.Dom.addClass(yuiDialog.innerElement, "yui-overlay"); ORBEON.util.Dom.addClass(yuiDialog.innerElement, "yui-panel");
YAHOO.util.Dom.addClass(yuiDialog.innerElement, "yui-module"); YAHOO.util.Dom.addClass(yuiDialog.innerElement, "yui-overlay"); YAHOO.util.Dom.addClass(yuiDialog.innerElement, "yui-panel");
showDialog: function(controlId, neighbor) { var divElement = YAHOO.util.Dom.get(controlId); var yuiDialog = ORBEON.xforms.Globals.dialogs[controlId]; // Take out the focus from the current control. This is particularly important with non-modal dialogs // opened with a minimal trigger, ot...
if (YAHOO.util.Dom.hasClass(formErrorPanel.element, "xforms-initially-hidden")) { ORBEON.util.Dom.removeClass(formErrorPanel.element, "xforms-initially-hidden"); formErrorPanel.render(); }
showError: function(title, details, formID) { ORBEON.xforms.Events.errorEvent.fire({title: title, details: details }); if (!ORBEON.xforms.Globals.requestIgnoreErrors && ORBEON.util.Utils.getProperty(SHOW_ERROR_DIALOG_PROPERTY) == "true") { var formErrorPanel = ORBEON.xforms.Globals.formErro...
if (!ORBEON.xforms.Globals.requestIgnoreErrors && ORBEON.util.Properties.showErrorDialog.get() == "true") {
if (!ORBEON.xforms.Globals.requestIgnoreErrors && ORBEON.util.Properties.showErrorDialog.get()) {
showError: function(title, details, formID) { ORBEON.xforms.Events.errorEvent.fire({title: title, details: details }); if (!ORBEON.xforms.Globals.requestIgnoreErrors && ORBEON.util.Properties.showErrorDialog.get() == "true") { var formErrorPanel = ORBEON.xforms.Globals.formErrorPanel[formID...
document.getElementById('pe_preview').style.display = 'none';
var preview = document.getElementById('pe_preview'); if (preview) document.getElementById('pe_preview').style.display = 'none';
function showhideProfileEditorDiv(selected, selindex) { // Reset the current selected navbar tab var cnavbar = document.getElementById('current'); if (cnavbar) cnavbar.id = ''; // Cycle thru the navlist child elements - buiding an array of just the link items var navbar = document.getElementById('navlist...
document.getElementById('pe_preview').style.display = '';
if (preview) document.getElementById('pe_preview').style.display = '';
function showhideProfileEditorDiv(selected, selindex) { // Reset the current selected navbar tab var cnavbar = document.getElementById('current'); if (cnavbar) cnavbar.id = ''; // Cycle thru the navlist child elements - buiding an array of just the link items var navbar = document.getElementById('navlist...
this._focusIndex = this._addPanel(item);
this._addPanel(item);
this.showItem = function(item) { // debugger; if (this._panelsByItem[item]) { this.focusPanel(this._panelsByItem[item]); } else { this._blurFocusedPanel(); this._focusIndex = this._addPanel(item); this.focusPanel(this._panelsByIndex[this._focusIndex]); } }
jQuery("#progContainer").html('<b>' + progressVal + '</b><br/><img src="img/aLoading.gif" alt="Loading">');
jQuery("#progContainer").html('<b>' + progressVal + '</b><br/><img src="../pages/be.de/img/aLoading.gif" alt="Loading">');
function showProgressInSideBar(progressVal) { // sideBarControl /*showSideBar*/(305); // jQuery("#sideBarCategoriesTable").empty(); // '<a href="javascript:clearCriteriaSelection();">Auswahl aufheben</a>'); // sideContent jQuery("#progContainer").html('<b>' + progressVal + '</b><br/><img src="img/aLoad...
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|...
e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\...
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|...
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...
j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b....
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...
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","left"],e=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=...
{version:"1.8.2",animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),f=0,g={},e={},k;b=a.toShow;k=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-...
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","left"],e=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=...
if (axis.options.autoscaleMargin != null && ticks.length > 0) {
if (axis.options.autoscaleMargin && ticks.length > 0) {
function snapRangeToTicks(axis, ticks) { if (axis.options.autoscaleMargin != null && ticks.length > 0) { // snap to ticks if (axis.options.min == null) axis.min = Math.min(axis.min, ticks[0].v); if (axis.options.max == null && ticks.leng...
return utils.string.smart_split(this.contents);
return string_utils.smart_split(this.contents);
split_contents: function () { return utils.string.smart_split(this.contents); }
var start = function() {
var start = function(item) {
var start = function() { state = { item: $(this).parents(settings.items), min: null, max: null, delta: 0 }; $(document).bind('mousemove.orderable', change); $(document).bind('mouseup.orderable', stop); $(document).mousemove(); return false; };
item: $(this).parents(settings.items),
item: item,
var start = function() { state = { item: $(this).parents(settings.items), min: null, max: null, delta: 0 }; $(document).bind('mousemove.orderable', change); $(document).bind('mouseup.orderable', stop); $(document).mousemove(); return false; };
return false;
var start = function() { state = { item: $(this).parents(settings.items), min: null, max: null, delta: 0 }; $(document).bind('mousemove.orderable', change); $(document).bind('mouseup.orderable', stop); $(document).mousemove(); return false; };
var finServer = new server.Server(finDatabase);
var finItemStore = new server.ItemSetRedisStore(args.redisClient) var finServer = new server.Server(finDatabase, finItemStore);
this.startServer = function(args) { var finDatabase = new server.Database(args.db); finDatabase.ensureExists(); var finServer = new server.Server(finDatabase); return net.listen(finServer, (args.transport || 'csp'), { port: args.port || 5555 }); }
this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipLaunchedFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = functio...
log("shaderTest.start", "Starting shader test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\".");
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + (this.shadersSupported ? "su...
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = functio...
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + supportString + ".");
var startString = "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + supportString; if (shady) { startStr...
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.originalHUD = player.ship.hud; this.shipWillLaunchFromStation = function () { log("m...
log("shaderTest.start", "Starting shader test suite " + this.version + " under Oolite " + oolite.versionString + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\".");
log("shaderTest.start", "Starting shader test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\".");
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = function () { performCleanUp(); } debugConso...
this.originalDisplayFPS = debugConsole.displayFPS;
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = functio...
this.shipLaunchedFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipWillLaunchFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = functio...
player.ship.hud = "oolite_material_test_suite_blank_hud.plist";
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = functio...
this.originalReducedDetailMode = debugConsole.reducedDetailMode;
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.originalHUD = player.ship.hud; this.shipWillLaunchFromStation = function () { log("m...
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + (this.shadersSupported ? "su...
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + supportString + ".");
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.originalDebugFlags = debugConsole.debugFlags; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = functio...
this.shipLaunchedFromStation = function () { performCleanUp(); }
this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.startTest = function (resonse) { if (resonse != "A_CONTINUE") return; this.originalShaderMode = debugConsole.shaderMode; this.originalDisplayFPS = debugConsole.displayFPS; this.passID = 1; this.nextTestIndex = 1; this.shipLaunchedFromStation = function () { performCleanUp(); } debugConso...
log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used because shaders are not supported.");
log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active.");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
this.testCount = 16;
this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.shadersSupported = (debugConsole.shaderMode != "SHADERS_NOT_SUPPORTED");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
debugConsole.script.runShaderTestSuite = function ()
debugConsole.script.runMaterialTestSuite = function ()
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
worldScripts[scriptName].runShaderTestSuite();
worldScripts[scriptName].runMaterialTestSuite();
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
this.runShaderTestSuite = function ()
this.runMaterialTestSuite = function ()
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
debugConsole.consoleMessage("command-error", "You must be docked to run the shader test suite.");
debugConsole.consoleMessage("command-error", "You must be docked to run the material test suite.");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
if (!Mission.runScreen({ title: "Shader test suite", messageKey: "oolite_shader_test_confirmation", choicesKey: "oolite_shader_test_confirmation_choices" }, this.startTest, this))
var substitutions = { shady_count :this.shadyTestCount, non_shady_count: this.nonShadyTestCount }; substitutions.count_string = expandMissionText(this.shadersSupported ? "oolite_material_test_count_full_shaders" : "oolite_material_test_count_no_shaders", substitutions); var introText = expandMissionText("oolite_materia...
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
log("shaderTest.error.missionScreenFailed", "The shader test suite failed to run a mission screen.");
log("materialTest.error.missionScreenFailed", "The material test suite failed to run a mission screen.");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
this.shipLaunchedFromStation = function () { log("shaderTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.shipLaunchedFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
log("shaderTest.start", "Starting shader test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\".");
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + (this.shadersSupported ? "su...
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
if (testIndex > this.testCount)
if (testIndex > this.settingsByPass[this.passID].maxIndex)
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
if (this.passID == 1)
var maxPass = this.shadersSupported ? 3 : 1; if (this.passID < maxPass)
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
this.passID = 2;
this.passID++;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
log("shaderTest.complete", "Shader test suite complete.");
log("materialTest.complete", "Shader test suite complete.");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
var modelName = "oolite_shader_test_suite_" + testIndex;
var modelName = passData.rolePrefix + testIndex;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
var testDesc = ship.scriptInfo["oolite_shader_test_suite_label"];
var testDesc = ship.scriptInfo["oolite_material_test_suite_label"];
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
debugConsole.shaderMode = this.passID == 1 ? "SHADERS_SIMPLE" : "SHADERS_FULL";
debugConsole.shaderMode = passData.shaderMode;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
var testLabel = (this.passID == 1 ? "simple" : "full") + "-" + testIndex; log("shaderTest.runTest", "Running test " + testLabel + " (" + testDesc + ").");
var passNames = ["", "fixed-function", "simple", "full"]; var testLabel = passData.passName + ":" + testIndex; log("materialTest.runTest", "Running test " + testLabel + " (" + testDesc + ").");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
log("shaderTest.loaded", "Shader test OXP is installed. To run the shader test, type \"runShaderTestSuite()\" in the debug console.");
log("materialTest.loaded", "Material test suite is installed. To run the material test, type \"runMaterialTestSuite()\" in the debug console.");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
log("temp", "Debug console: " + debugConsole);
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.runMaterialTestSuite = function () { ...
var message = expandMissionText((this.maxPassID == 1) ? "oolite_material_test_completion_no_shaders" : "oolite_material_test_completion_shaders", substitutions);
var message = expandMissionText(shady ? "oolite_material_test_completion_no_shaders" : "oolite_material_test_completion_shaders", substitutions);
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.runMaterialTestSuite = function () { ...
var scriptName = this.name; debugConsole.script.runMaterialTestSuite = function () { worldScripts[scriptName].runMaterialTestSuite(); }
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
if (!Mission.runScreen({ title: "Shader test suite", message: introText, choicesKey: "oolite_material_test_confirmation_choices" }, this.startTest, this))
if (!mission.runScreen({ titleKey: "oolite_material_test_title", message: introText, choicesKey: "oolite_material_test_confirmation_choices" }, this.startTest, this))
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
log("materialTest.start", "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + supportString + ".");
var startString = "Starting material test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\"; shaders are " + supportString; if (shady) { startStr...
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
var config =
var substitutions =
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
title: "Shader test suite", message: "The test suite is complete.\n\n\n" + "Your OpenGL renderer information is:\n" + "Vendor: “" + debugConsole.glVendorString + "”\n" + "Renderer: “" + debugConsole.glRendererString + "”\n\n" + "This information can also be found in the Oolite log."
gl_vendor_string: debugConsole.glVendorString, gl_renderer_string: debugConsole.glRendererString, gl_tex_image_unit_count: debugConsole.glFragmentShaderTextureUnitCount
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
Mission.runScreen(config, function () {});
mission.runScreen({ titleKey: "oolite_material_test_title", message: message }, function () {});
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
if (!Mission.runScreen(config, this.runNextTest, this))
if (!mission.runScreen(config, this.runNextTest, this))
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
log("materialTest.loaded", "Material test suite is installed. To run the material test, type \"runMaterialTestSuite()\" in the debug console.");
log("materialTest.loaded", "Material test suite is installed.");
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
testRig.$registerTest("Vector3D.toString", function () { var v = new Vector3D(42, 17, 163); var string = v.toString(); require.value("string", string, "(42, 17, 163)"); }); testRig.$registerTest("Vector3D.toSource", function () { var v = new Vector3D(42, 17, 163); var source = v.toSource(); require.value("source", s...
this.startUp = function (){ var testRig = worldScripts["oolite-script-test-rig"]; var require = testRig.$require; function degToRad(value) { return Math.PI * value / 180; } testRig.$registerTest("Vector3D constructor", function () { var basic = new Vector3D(1, 2, 3); require.instance("basic", basic, Vector3D); ...
log("shaderTest.start", "Starting shader test suite " + this.version + " under Oolite " + oolite.versionString + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\".");
log("shaderTest.start", "Starting shader test suite " + this.version + " under Oolite " + oolite.versionString + " and " + debugConsole.platformDescription + " with OpenGL renderer \"" + debugConsole.glRendererString + "\", vendor \"" + debugConsole.glVendorString + "\".");
this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec...
debugConsole.debugFlags |= debugConsole.DEBUG_NO_SHADER_FALLBACK;
debugConsole.debugFlags |= debugConsole.DEBUG_NO_SHADER_FALLBACK | debugConsole.DEBUG_SHADER_VALIDATION;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); return; } if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", ...
this.originalDisplayFPS = debugConsole.displayFPS;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
this.shipLaunchedFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.originalHUD = player.ship.hud; this.shipWillLaunchFromStation = function () { log("materialTest.cancelled", "Shader test suite cancelled by exiting station."); this.performCleanUp(); }
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
debugConsole.displayFPS = this.originalDisplayFPS;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
debugConsole.displayFPS = true;
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
message: "\n\n\n" + testLabel + "\n" + testDesc
message: "\n\n\n" + testLabel + "\n" + testDesc, background: "oolite_material_test_suite_backdrop.png"
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; // User-callable initiation function. var ...
message: "\n\n\n" + testLabel + "\n" + testDesc,
message: "\n\n" + testLabel + "\n" + testDesc,
this.startUp = function(){ delete this.startUp; try { var console = debugConsole; } catch (e) { log("materialTest.error.consoleRequired", "The material test suite requires the debug console to be active."); return; } this.shadyTestCount = 16; this.nonShadyTestCount = 7; this.runMaterialTestSuite = function () { ...
if (debugConsole === undefined)
delete this.startUp; try { var console = debugConsole; } catch (e)
this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec...
else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED")
if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED")
this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec...
else
this.testCount = 16; var scriptName = this.name; debugConsole.script.runShaderTestSuite = function ()
this.startUp = function(){ if (debugConsole === undefined) { log("shaderTest.error.consoleRequired", "The shader test suite requires the debug console to be active."); } else if (debugConsole.shaderMode == "SHADERS_NOT_SUPPORTED") { log("shaderTest.error.shadersNotSupported", "The shader test suite cannot be used bec...