@@ -10,7 +10,7 @@ Amplitude-Javascript
1010 ``` html
1111 <script type =" text/javascript" >
1212 (function (e ,t ){var n= e .amplitude || {_q: []};var r= t .createElement (" script" );r .type = " text/javascript" ;
13- r .async = true ;r .src = " https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1 -min.gz.js" ;
13+ r .async = true ;r .src = " https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0 -min.gz.js" ;
1414 r .onload = function (){e .amplitude .runQueuedFunctions ()};var i= t .getElementsByTagName (" script" )[0 ];
1515 i .parentNode .insertBefore (r,i);var s = function (){this ._q = [];return this };function o (e ){
1616 s .prototype [e]= function (){this ._q .push ([e].concat (Array .prototype .slice .call (arguments ,0 )));
@@ -312,7 +312,7 @@ If you are using [RequireJS](http://requirejs.org/) to load your Javascript file
312312``` html
313313 <script src =' scripts/require.js' ></script > <!-- loading RequireJS -->
314314 <script >
315- require ([' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1 -min.gz.js' ], function (amplitude ) {
315+ require ([' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0 -min.gz.js' ], function (amplitude ) {
316316 amplitude .init (' YOUR_API_KEY_HERE' ); // replace YOUR_API_KEY_HERE with your Amplitude api key.
317317 window .amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
318318 amplitude .logEvent (' Clicked Link A' );
@@ -326,7 +326,7 @@ You can also define the path in your RequireJS configuration like so:
326326 <script >
327327 requirejs .config ({
328328 paths: {
329- ' amplitude' : ' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.1 -min.gz'
329+ ' amplitude' : ' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.10.0 -min.gz'
330330 }
331331 });
332332
0 commit comments