Skip to content

Commit b196abc

Browse files
committed
config(EJ2-5374): Modified sample browser layout
1 parent abbcb30 commit b196abc

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

gulpfile.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -126,22 +126,8 @@ gulp.task('plnkr-json', function() {
126126
var bgRegex = /background-image: url\(\'\.\/src/g;
127127
var render = '\nReactDOM.render(<{{:Comp}} />, document.getElementById(\'sample\'));';
128128
var dSrc = 'demos/src/';
129-
var bucketName = process.env.AWS_STAGING_BUCKET || 'npmci.syncfusion.com';
130-
var link = 'http://' + bucketName + '/';
131-
var sbLink = link;
132-
if (process.env.BRANCH_NAME === "master") {
133-
link += 'packages/production/';
134-
sbLink += 'production/react/';
135-
} else {
136-
link += 'packages/development/';
137-
sbLink += 'development/react/';
138-
}
139-
if(process.env.BRANCH_NAME && process.env.BRANCH_NAME.indexOf('hotfix-') !== -1) {
140-
link = 'http://cdn.syncfusion.com/ej2/';
141-
sbLink = 'http://ej2.syncfusion.com/react/';
142-
}
143-
link = 'http://cdn.syncfusion.com/ej2/'; //Dependency Packages Link
144-
sbLink = 'http://ej2.syncfusion.com/react/'; //Sample Browser support Link
129+
var link = 'http://cdn.syncfusion.com/ej2/'; //Dependency Packages Link
130+
var sbLink = 'http://ej2.syncfusion.com/react/'; //Sample Browser support Link
145131
sys = sys.replace(/{{:CDN_LINK}}/g, link);
146132
ind = ind.replace(/{{:CDN_LINK}}/g, link);
147133
var comp;

0 commit comments

Comments
 (0)