Skip to content

Commit d5b013a

Browse files
committed
update readme
1 parent 7d07b01 commit d5b013a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Amplitude-Javascript
1212
(function(e,t){var n=e.amplitude||{};var r=t.createElement("script");r.type="text/javascript";
1313
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.9.0-min.gz.js";
1414
r.onload=function(){e.amplitude.runQueuedFunctions()};var s=t.getElementsByTagName("script")[0];
15-
s.parentNode.insertBefore(r,s);var i=function(){this._q=[];return this};function a(e){
15+
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)));
17-
return this}}var o=["add","append","clearAll","set","setOnce","unset"];for(var c=0;c<o.length;c++){
18-
a(o[c])}n.Identify=i;n._q=[];function u(e){n[e]=function(){n._q.push([e].concat(Array.prototype.slice.call(arguments,0)));
17+
return this}}var a=["add","append","clearAll","set","setOnce","unset"];for(var c=0;c<a.length;c++){
18+
o(a[c])}n.Identify=i;n._q=[];function u(e){n[e]=function(){n._q.push([e].concat(Array.prototype.slice.call(arguments,0)));
1919
}}var l=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","setGlobalUserProperties","identify","clearUserProperties"];
2020
for(var p=0;p<l.length;p++){u(l[p])}e.amplitude=n})(window,document);
2121

0 commit comments

Comments
 (0)