Skip to content

Commit

Permalink
v2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djih committed May 26, 2016
1 parent 2b07121 commit 15d4123
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

### 2.13.0 (May 26, 2016)

* Update our fork of [UAParser.js](https://github.com/faisalman/ua-parser-js) from v0.7.7 to v0.7.10. This will improve the resolution of user agent strings to device and OS information.

### 2.12.1 (April 21, 2016)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This Readme will guide you through using Amplitude's Javascript SDK to track use
```html
<script type="text/javascript">
(function(e,t){var n=e.amplitude||{_q:[]};var r=t.createElement("script");r.type="text/javascript";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.12.1-min.gz.js";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.13.0-min.gz.js";
r.onload=function(){e.amplitude.runQueuedFunctions()};var s=t.getElementsByTagName("script")[0];
s.parentNode.insertBefore(r,s);function i(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));
return this}}var o=function(){this._q=[];return this};var a=["add","append","clearAll","prepend","set","setOnce","unset"];
Expand Down Expand Up @@ -361,7 +361,7 @@ If you are using [RequireJS](http://requirejs.org/) to load your Javascript file
```html
<script src='scripts/require.js'></script> <!-- loading RequireJS -->
<script>
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.12.1-min.gz.js'], function(amplitude) {
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.13.0-min.gz.js'], function(amplitude) {
amplitude.init('YOUR_API_KEY_HERE'); // replace YOUR_API_KEY_HERE with your Amplitude api key.
window.amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
amplitude.logEvent('Clicked Link A');
Expand All @@ -375,7 +375,7 @@ You can also define the path in your RequireJS configuration like so:
<script>
requirejs.config({
paths: {
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.12.1-min.gz'
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.13.0-min.gz'
}
});
Expand Down
2 changes: 1 addition & 1 deletion amplitude-snippet.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function(e,t){var n=e.amplitude||{_q:[]};var r=t.createElement("script");r.type="text/javascript";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.12.1-min.gz.js";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.13.0-min.gz.js";
r.onload=function(){e.amplitude.runQueuedFunctions()};var s=t.getElementsByTagName("script")[0];
s.parentNode.insertBefore(r,s);function i(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));
return this}}var o=function(){this._q=[];return this};var a=["add","append","clearAll","prepend","set","setOnce","unset"];
Expand Down
2 changes: 1 addition & 1 deletion amplitude.js
Original file line number Diff line number Diff line change
Expand Up @@ -4529,7 +4529,7 @@ module.exports = uuid;

}, {}],
17: [function(require, module, exports) {
module.exports = '2.12.1';
module.exports = '2.13.0';

}, {}],
18: [function(require, module, exports) {
Expand Down
2 changes: 1 addition & 1 deletion amplitude.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "src/index.js",
"repo": "amplitude/amplitude-javascript",
"description": "Javascript library for Amplitude Analytics",
"version": "2.12.1",
"version": "2.13.0",
"keywords": [
"analytics",
"amplitude"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "amplitude-js",
"author": "Amplitude <[email protected]>",
"version": "2.12.1",
"version": "2.13.0",
"license": "MIT",
"description": "Javascript library for Amplitude Analytics",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/amplitude-snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var as = document.createElement('script');
as.type = 'text/javascript';
as.async = true;
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.12.1-min.gz.js';
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.13.0-min.gz.js';
as.onload = function() {window.amplitude.runQueuedFunctions();};
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(as, s);
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '2.12.1';
module.exports = '2.13.0';

0 comments on commit 15d4123

Please sign in to comment.