Skip to content

Commit 25d6264

Browse files
author
Daniel Jih
committed
switch tests back to local script file
1 parent ae8159d commit 25d6264

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/browser/amplitudejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
var as = document.createElement('script');
77
as.type = 'text/javascript';
88
as.async = true;
9-
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.4.0-min.gz.js';
9+
as.src = '/amplitude.js';
1010
as.onload = function() {if(window.amplitude.runQueuedFunctions) {window.amplitude.runQueuedFunctions();} else {console.log('[Amplitude] Error: could not load SDK');}};
1111
var s = document.getElementsByTagName('script')[0];
1212
s.parentNode.insertBefore(as, s);

test/browser/amplitudejs2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
var as = document.createElement('script');
77
as.type = 'text/javascript';
88
as.async = true;
9-
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.4.0-min.gz.js';
9+
as.src = '/amplitude.js';
1010
as.onload = function() {if(window.amplitude.runQueuedFunctions) {window.amplitude.runQueuedFunctions();} else {console.log('[Amplitude] Error: could not load SDK');}};
1111
var s = document.getElementsByTagName('script')[0];
1212
s.parentNode.insertBefore(as, s);

0 commit comments

Comments
 (0)