Skip to content

Commit

Permalink
v3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
djih committed Oct 28, 2016
1 parent f91d542 commit 5523cab
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
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:[],_iq:{}};var r=t.createElement("script");r.type="text/javascript";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.1-min.gz.js";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2-min.gz.js";
r.onload=function(){e.amplitude.runQueuedFunctions()};var i=t.getElementsByTagName("script")[0];
i.parentNode.insertBefore(r,i);function s(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 @@ -451,7 +451,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-3.3.1-min.gz.js'], function(amplitude) {
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2-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.getInstance().logEvent('Clicked Link A');
Expand All @@ -465,7 +465,7 @@ You can also define the path in your RequireJS configuration like so:
<script>
requirejs.config({
paths: {
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.1-min.gz'
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2-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:[],_iq:{}};var r=t.createElement("script");r.type="text/javascript";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.1-min.gz.js";
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2-min.gz.js";
r.onload=function(){e.amplitude.runQueuedFunctions()};var i=t.getElementsByTagName("script")[0];
i.parentNode.insertBefore(r,i);function s(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 @@ -4949,7 +4949,7 @@ module.exports = uuid;

}, {}],
10: [function(require, module, exports) {
module.exports = '3.3.1';
module.exports = '3.3.2';

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

0 comments on commit 5523cab

Please sign in to comment.