@@ -10,7 +10,7 @@ Amplitude-Javascript
10
10
``` html
11
11
<script type =" text/javascript" >
12
12
(function (e ,t ){var n= e .amplitude || {};var r= t .createElement (" script" );r .type = " text/javascript" ;
13
- r .async = true ;r .src = " https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.0 -min.gz.js" ;
13
+ r .async = true ;r .src = " https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1 -min.gz.js" ;
14
14
r .onload = function (){e .amplitude .runQueuedFunctions ()};var s= t .getElementsByTagName (" script" )[0 ];
15
15
s .parentNode .insertBefore (r,s);var i = function (){this ._q = [];return this };function o (e ){
16
16
i .prototype [e]= function (){this ._q .push ([e].concat (Array .prototype .slice .call (arguments ,0 )));
@@ -280,7 +280,7 @@ If you are using [RequireJS](http://requirejs.org/) to load your Javascript file
280
280
``` html
281
281
<script src =' scripts/require.js' ></script > <!-- loading RequireJS -->
282
282
<script >
283
- require ([' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.0 -min.gz.js' ], function (amplitude ) {
283
+ require ([' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1 -min.gz.js' ], function (amplitude ) {
284
284
amplitude .init (' YOUR_API_KEY_HERE' ); // replace YOUR_API_KEY_HERE with your Amplitude api key.
285
285
window .amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
286
286
amplitude .logEvent (' Clicked Link A' );
@@ -294,7 +294,7 @@ You can also define the path in your RequireJS configuration like so:
294
294
<script >
295
295
requirejs .config ({
296
296
paths: {
297
- ' amplitude' : ' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.0 -min.gz'
297
+ ' amplitude' : ' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1 -min.gz'
298
298
}
299
299
});
300
300
0 commit comments