Skip to content

Commit 0b81a3b

Browse files
author
Carlos Bonilla
committed
v1.2.1
Resolves issue #38
1 parent 28d2569 commit 0b81a3b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

dist/frontend/js/digital-sandbox.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ DigitalSandboxWrapper.prototype =
5454
_vars : function()
5555
{
5656
this.ver = {
57-
date : '2016-06-20',
58-
number : '1.2.0',
57+
date : '2016-07-01',
58+
number : '1.2.1',
5959
product : 'Digital Sandbox',
6060
type : 'final'
6161
};
@@ -72,6 +72,8 @@ DigitalSandboxWrapper.prototype =
7272
this.url.type = /^https?:\/\//i.test(this.url.query) ? 'ext' : 'int';
7373
this.url.src = './apps.html';
7474

75+
console.log(this.url);
76+
7577
switch (this.url.type)
7678
{
7779
case 'ext':
@@ -81,10 +83,12 @@ DigitalSandboxWrapper.prototype =
8183
case 'int':
8284
if (/^([\w-:]+)(?:\/([\w-:]*))?$/.test(this.url.query))
8385
{
84-
this.url.app = RegExp.$1.replace(/\:/g,'/');
8586
this.url.index = RegExp.$2 || 'index';
87+
this.url.app = RegExp.$1.replace(/\:/g,'/');
8688
this.url.ext = 'html';
8789
this.url.src = './frontend/apps/'+this.url.app+'/'+this.url.index+'.'+this.url.ext;
90+
91+
console.log(this.url);
8892
}
8993
break;
9094
}

0 commit comments

Comments
 (0)