Skip to content

Commit

Permalink
v2.9.1 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
djih committed Mar 7, 2016
1 parent 683b92c commit 096adf5
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.9.1 (March 6, 2016)

* Fix bug where saveReferrer throws exception if sessionStorage is disabled.
* Log messages with a try/catch to support IE 8.
* Validate event properties during logEvent and initialization before sending request.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Amplitude-Javascript
```html
<script type="text/javascript">
(function(e,t){var n=e.amplitude||{};var r=t.createElement("script");r.type="text/javascript";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.0-min.gz.js";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz.js";
r.onload=function(){e.amplitude.runQueuedFunctions()};var s=t.getElementsByTagName("script")[0];
s.parentNode.insertBefore(r,s);var i=function(){this._q=[];return this};function o(e){
i.prototype[e]=function(){this._q.push([e].concat(Array.prototype.slice.call(arguments,0)));
Expand Down Expand Up @@ -280,7 +280,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.9.0-min.gz.js'], function(amplitude) {
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-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 @@ -294,7 +294,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.9.0-min.gz'
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-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||{};var r=t.createElement("script");r.type="text/javascript";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.0-min.gz.js";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-min.gz.js";
r.onload=function(){e.amplitude.runQueuedFunctions()};var s=t.getElementsByTagName("script")[0];
s.parentNode.insertBefore(r,s);var i=function(){this._q=[];return this};function o(e){
i.prototype[e]=function(){this._q.push([e].concat(Array.prototype.slice.call(arguments,0)));
Expand Down
2 changes: 1 addition & 1 deletion amplitude.js
Original file line number Diff line number Diff line change
Expand Up @@ -3658,7 +3658,7 @@ module.exports = uuid;

}, {}],
13: [function(require, module, exports) {
module.exports = '2.9.0';
module.exports = '2.9.1';

}, {}],
14: [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.9.0",
"version": "2.9.1",
"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.9.0",
"version": "2.9.1",
"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.9.0-min.gz.js';
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1-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.9.0';
module.exports = '2.9.1';

0 comments on commit 096adf5

Please sign in to comment.