Skip to content

Commit c81870c

Browse files
committed
v2.10.0
1 parent fb9ebbb commit c81870c

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Amplitude-Javascript
1010
```html
1111
<script type="text/javascript">
1212
(function(e,t){var n=e.amplitude||{_q:[]};var r=t.createElement("script");r.type="text/javascript";
13-
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz.js";
13+
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0-min.gz.js";
1414
r.onload=function(){e.amplitude.runQueuedFunctions()};var i=t.getElementsByTagName("script")[0];
1515
i.parentNode.insertBefore(r,i);var s=function(){this._q=[];return this};function o(e){
1616
s.prototype[e]=function(){this._q.push([e].concat(Array.prototype.slice.call(arguments,0)));
@@ -312,7 +312,7 @@ If you are using [RequireJS](http://requirejs.org/) to load your Javascript file
312312
```html
313313
<script src='scripts/require.js'></script> <!-- loading RequireJS -->
314314
<script>
315-
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz.js'], function(amplitude) {
315+
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0-min.gz.js'], function(amplitude) {
316316
amplitude.init('YOUR_API_KEY_HERE'); // replace YOUR_API_KEY_HERE with your Amplitude api key.
317317
window.amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
318318
amplitude.logEvent('Clicked Link A');
@@ -326,7 +326,7 @@ You can also define the path in your RequireJS configuration like so:
326326
<script>
327327
requirejs.config({
328328
paths: {
329-
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz'
329+
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0-min.gz'
330330
}
331331
});
332332

amplitude-snippet.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function(e,t){var n=e.amplitude||{_q:[]};var r=t.createElement("script");r.type="text/javascript";
2-
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz.js";
2+
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0-min.gz.js";
33
r.onload=function(){e.amplitude.runQueuedFunctions()};var i=t.getElementsByTagName("script")[0];
44
i.parentNode.insertBefore(r,i);var s=function(){this._q=[];return this};function o(e){
55
s.prototype[e]=function(){this._q.push([e].concat(Array.prototype.slice.call(arguments,0)));

amplitude.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3800,7 +3800,7 @@ module.exports = uuid;
38003800

38013801
}, {}],
38023802
15: [function(require, module, exports) {
3803-
module.exports = '2.9.1';
3803+
module.exports = '2.10.0';
38043804

38053805
}, {}],
38063806
16: [function(require, module, exports) {

amplitude.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "src/index.js",
44
"repo": "amplitude/amplitude-javascript",
55
"description": "Javascript library for Amplitude Analytics",
6-
"version": "2.9.1",
6+
"version": "2.10.0",
77
"keywords": [
88
"analytics",
99
"amplitude"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "amplitude-js",
33
"author": "Amplitude <[email protected]>",
4-
"version": "2.9.1",
4+
"version": "2.10.0",
55
"license": "MIT",
66
"description": "Javascript library for Amplitude Analytics",
77
"keywords": [

src/amplitude-snippet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var as = document.createElement('script');
44
as.type = 'text/javascript';
55
as.async = true;
6-
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz.js';
6+
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0-min.gz.js';
77
as.onload = function() {window.amplitude.runQueuedFunctions();};
88
var s = document.getElementsByTagName('script')[0];
99
s.parentNode.insertBefore(as, s);

src/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = '2.9.1';
1+
module.exports = '2.10.0';

0 commit comments

Comments
 (0)