@@ -10,7 +10,7 @@ Amplitude-Javascript
1010 ``` html
1111 <script type =" text/javascript" >
1212 (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" ;
1414 r .onload = function (){e .amplitude .runQueuedFunctions ()};var s= t .getElementsByTagName (" script" )[0 ];
1515 s .parentNode .insertBefore (r,s);var i = function (){this ._q = [];return this };function o (e ){
1616 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
280280``` html
281281 <script src =' scripts/require.js' ></script > <!-- loading RequireJS -->
282282 <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 ) {
284284 amplitude .init (' YOUR_API_KEY_HERE' ); // replace YOUR_API_KEY_HERE with your Amplitude api key.
285285 window .amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
286286 amplitude .logEvent (' Clicked Link A' );
@@ -294,7 +294,7 @@ You can also define the path in your RequireJS configuration like so:
294294 <script >
295295 requirejs .config ({
296296 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'
298298 }
299299 });
300300
0 commit comments