vsts-branch-delete/branchDelete.html

33 строки
1.5 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2016-02-11 20:32:09 +03:00
<title>Branch Delete</title>
2016-02-11 02:16:26 +03:00
<script type="text/javascript">
var appInsights=window.appInsights||function(config){
function r(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},u=document,e=window,o="script",s=u.createElement(o),i,f;for(s.src=config.url||"//az416426.vo.msecnd.net/scripts/a/ai.0.js",u.getElementsByTagName(o)[0].parentNode.appendChild(s),t.cookie=u.cookie,t.queue=[],i=["Event","Exception","Metric","PageView","Trace"];i.length;)r("track"+i.pop());return r("setAuthenticatedUserContext"),r("clearAuthenticatedUserContext"),config.disableExceptionTracking||(i="onerror",r("_"+i),f=e[i],e[i]=function(config,r,u,e,o){var s=f&&f(config,r,u,e,o);return s!==!0&&t["_"+i](config,r,u,e,o),s}),t
}({
2016-02-11 20:32:09 +03:00
instrumentationKey:"XXXXXXX"
2016-02-11 02:16:26 +03:00
});
window.appInsights=appInsights;
</script>
</head>
<body>
2016-02-11 02:16:26 +03:00
<script src="bower_components/vss-sdk/lib/VSS.SDK.min.js"></script>
2016-02-11 20:32:09 +03:00
<script src="scripts/branchDelete.js"></script>
2016-02-11 02:16:26 +03:00
<script>
VSS.init({ usePlatformScripts: true });
2016-02-11 02:28:43 +03:00
2016-02-11 02:16:26 +03:00
VSS.ready(function() {
2016-02-11 02:28:43 +03:00
window.appInsights.setAuthenticatedUserContext(
VSS.getWebContext().user.id,
VSS.getWebContext().collection.id);
2016-02-11 02:16:26 +03:00
window.appInsights.trackPageView("BranchDelete");
});
2016-02-11 02:28:43 +03:00
</script>
</body>
</html>