mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Organizing viewer
This commit is contained in:
parent
013247f113
commit
abd91dbeb6
6
Makefile
6
Makefile
@ -1,7 +1,7 @@
|
||||
ROOT = ..
|
||||
all: $(wildcard js/*.js)
|
||||
|
||||
all:
|
||||
js/%.js: ts/%.ts tsconfig.json
|
||||
npm install
|
||||
|
||||
clean:
|
||||
|
||||
rm -f js/*
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
<link rel="stylesheet" href="lib/bootstrap/bootstrap.css">
|
||||
<link rel="stylesheet" type="text/css" href="lib/font-awesome/css/font-awesome.css">
|
||||
<link rel="stylesheet" type="text/css" href="ui.css">
|
||||
<link rel="stylesheet" type="text/css" href="plot.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/ui.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/plot.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
@ -121,9 +121,9 @@ $ coz run --- ./myprogram arg1 arg2
|
||||
<script src="lib/science/science.v1.js"></script>
|
||||
|
||||
<!-- Causal profile loading and plotting code -->
|
||||
<script src="profile.js"></script>
|
||||
<script src="js/profile.js"></script>
|
||||
|
||||
<!-- The UI code -->
|
||||
<script src="ui.js"></script>
|
||||
<script src="js/ui.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
1
js/profile.js.map
Normal file
1
js/profile.js.map
Normal file
File diff suppressed because one or more lines are too long
1
js/ui.js.map
Normal file
1
js/ui.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../ts/ui.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,IAAI,CAAQ,MAAO,CAAC,IAAI,IAAI,CAAQ,MAAO,CAAC,UAAU,EAAE;IACtD,KAAK,CAAC,wDAAwD,CAAC,CAAC;CACjE;AAED,IAAI,eAAe,GAAY,SAAS,CAAC;AAEzC;IACE,OAAc,EAAE,CAAC,MAAM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,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACzB,eAAe,CAAC,OAAO,EAAE,gCAA8B,CAAC,MAAG,CAAC,CAAC;QAC/D,CAAC,CAAC;QACF,KAAG,CAAC,IAAI,EAAE,CAAC;KACZ;SAAM;QACL,eAAe,GAAG,sBAAsB,CAAC,CAAC,CAAC,CAAC;QAC5C,MAAM,EAAE,CAAC;KACV;AACH,CAAC,CAAC,CAAC"}
|
@ -7,7 +7,7 @@
|
||||
"url": "git+https://github.com/jvilk/Coz.git"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "tsc"
|
||||
"prepare": "tsc --rootDir ts --outDir js"
|
||||
},
|
||||
"license": "BSD-2-Clause",
|
||||
"bugs": {
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ui.js","sourceRoot":"","sources":["ui.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,IAAI,CAAQ,MAAO,CAAC,IAAI,IAAI,CAAQ,MAAO,CAAC,UAAU,EAAE;IACtD,KAAK,CAAC,wDAAwD,CAAC,CAAC;CACjE;AAED,IAAI,eAAe,GAAY,SAAS,CAAC;AAEzC;IACE,OAAc,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,IAAI,EAAG,CAAC,KAAK,CAAC;AAC5D,CAAC;AAED,yBAAyB,KAAa,EAAE,IAAY;IAClD,IAAM,OAAO,GAAG,CAAC,CACf,uOAEY,KAAK,mBAAc,IAAI,iBAC5B,CAAC,CAAC;IACX,CAAC,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEnC,4BAA4B;IAC5B,UAAU,CAAC;QACT,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE;YACnB,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,IAAI,CAAC,CAAC;AACX,CAAC;AAED,gBAA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