Skip to content

Commit

Permalink
make localpath variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hkollmann committed Jun 25, 2019
1 parent f720013 commit 6f54492
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/class/qxl/playground/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,23 +575,23 @@ qx.Class.define("qxl.playground.Application",
* Handler for opening the api viewer.
*/
__onApiOpen : function() {
window.open(qx.core.Environment.get("qx.serve.local")?"/demos/apiviewer/": "https://www.qooxdoo.org/qxl.apiviewer/");
window.open(qx.core.Environment.get("qx.serve.localpath") || "https://www.qooxdoo.org/qxl.apiviewer/");
},


/**
* Handler for opening the manual.
*/
__onManualOpen : function() {
window.open(qx.core.Environment.get("qx.serve.local")?"/docs/": "https://www.qooxdoo.org/devel/");
window.open(qx.core.Environment.get("qx.serve.localpath") || "https://www.qooxdoo.org/devel/");
},


/**
* Handler for opening the demo browser.
*/
__onDemoBrowser : function() {
window.open(qx.core.Environment.get("qx.serve.local")?"/demos/widgetbrowser/": "https://www.qooxdoo.org/qxl.widgetbrowser/");
window.open(qx.core.Environment.get("qx.serve.localpath") || "https://www.qooxdoo.org/qxl.widgetbrowser/");
},

// ***************************************************
Expand Down

0 comments on commit 6f54492

Please sign in to comment.