This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
forked from OfficeDev/office-js-snippet-explorer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
53 lines (42 loc) · 2.69 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<html ng-app="officeJsSnippetApp">
<head>
<title>Office 2016 JavaScript API Snippet Explorer (Preview)</title>
<!-- script for enabling the code text editor -->
<link rel="stylesheet" type="text/css" media="screen" data-name="vs/editor/editor.main" href="//officesnippetide.azurewebsites.net/script/vs/editor/editor.main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="//officesnippetide.azurewebsites.net/script/vs/editor/css/vs-theme.css" />
<script type="text/javascript" src="//officesnippetide.azurewebsites.net/script/vs/loader.js"></script>
<script type="text/javascript">
require.config({
baseUrl: "https://robmhoward.github.io/excel/script/"
});
// Before loading vs/editor/editor.main, define a global MonacoEnvironment that overwrites
// the default worker url location (used when creating WebWorkers). The problem here is that
// HTML5 does not (yet) allow cross-domain web workers, so we need to proxy the instantion of
// a web worker through a same-domain script
window.MonacoEnvironment = {
getWorkerUrl: function(workerId, label) {
return 'worker-loader-proxy.js?label=' + label;
}
};
</script>
<script type="text/javascript">
var appInsights=window.appInsights||function(config){
function s(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},r=document,f=window,e="script",o=r.createElement(e),i,u;for(o.src=config.url||"//az416426.vo.msecnd.net/scripts/a/ai.0.js",r.getElementsByTagName(e)[0].parentNode.appendChild(o),t.cookie=r.cookie,t.queue=[],i=["Event","Exception","Metric","PageView","Trace"];i.length;)s("track"+i.pop());return config.disableExceptionTracking||(i="onerror",s("_"+i),u=f[i],f[i]=function(config,r,f,e,o){var s=u&&u(config,r,f,e,o);return s!==!0&&t["_"+i](config,r,f,e,o),s}),t
}({
instrumentationKey:"ae559673-76db-408d-8c5f-a417d4d1fedd"
});
window.appInsights=appInsights;
appInsights.trackPageView();
</script>
</head>
<body style="padding: 0px; margin: 0px;">
<div ng-view>
</div>
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-route.min.js"></script>
<script type="text/javascript" src="script/codeEditor.js"></script>
<script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js" type="text/javascript"></script>
<script type="text/javascript" src="script/app.js"></script>
</body>
</html>