Permalink
Browse files

small updates

  • Loading branch information...
viebel committed Nov 4, 2017
1 parent c7d8aa0 commit b737c7b43852ce1343e8a8bc4b8a862c8a4ffa7c
Showing with 16 additions and 7 deletions.
  1. +15 −6 resources/public/reason-dbg.html
  2. +1 −1 scripts/domains-from-access-logs
@@ -4,7 +4,8 @@
<meta charset="UTF-8">
<title>KLIPSE: a simple and elegant online cljs compiler and evaluator</title>
<link rel='shortcut icon' type='image/x-icon' href='img/klipse.png' />
<link rel="stylesheet" type="text/css" href="css/codemirror.css">
<!--link rel="stylesheet" type="text/css" href="css/codemirror.css"-->
<link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css">
</head>
<body>
@@ -18,8 +19,7 @@
<pre>
<code class="eval-reason">
external a: int = "" [@@bs.val];
let b = a;
let b = 1 + 1;
</code>
</pre>
@@ -38,8 +38,13 @@
<pre>
<code class="transpile-reason">
external a: int = "" [@@bs.val];
let b = a;
external map : ('a => 'b) [@bs] => array 'b = "" [@@bs.send.pipe : array 'a];
let test arr =>
arr
|> map ((fun x => x + 1) [@bs])
|> map ((fun x => x * 4) [@bs]);
</code>
</pre>
<br/>
@@ -61,11 +66,15 @@
<br/>
<script>
window.klipse_settings = {
beautify_strings: true,
codemirror_options_in: {lineWrapping: true, autoCloseBrackets: true},
codemirror_options_out : {lineWrapping: true},
selector_transpile_reason: '.transpile-reason',
selector_transpile_reason_to_ocaml: '.transpile-reason-to-ocaml',
selector_eval_reason: '.eval-reason',
};
</script>
<script src="/fig/js/klipse.fig.js"></script>
<script src="plugin_prod/js/klipse_plugin.min.js"></script>
<!--script src="https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js?v=7.2.2"></script-->
</body>
</html>
@@ -1 +1 @@
./scripts/check-access-logs | awk -F"?" '{print $1}' | awk -F "/" '{print $3}' | grep -vE "www\.google|yandex\.ru|search.yahoo.com|viebel.github.io|www.reddit.com|^t.co$|webcache.googleusercontent.com|m.facebook.com|cdn.rawgit.com|127.0.0.1\:|app.gadjett.com|disqus.com|duckduckgo.com|klipse.ghost.io|duckduckgo.com|search.daum.net|s.codepen.io|htn\.to|socialmediascanner.eset.com|storage.googleapis.com|diffbot.com|bing.com|slack.com|goo.gl|htmlpreview.github.io|fiddle.jshell.net|timothypratley.blogspot|translate.googleusercontent.com|^fb.com|^192\.168|www.facebook.com|www.flowdock.com|www.gitbook.com|google\.com|cncc.bingj.com|com.[sS]lack|gist\.github|l.messenger|parser.juejin.im|danbunea\.blogspot"| sort | uniq
./scripts/check-access-logs | awk -F"?" '{print $1}' | awk -F "/" '{print $3}' | grep -vE "www\.google|yandex\.ru|search.yahoo.com|viebel.github.io|www.reddit.com|^t.co$|webcache.googleusercontent.com|m.facebook.com|cdn.rawgit.com|127.0.0.1\:|app.gadjett.com|disqus.com|duckduckgo.com|klipse.ghost.io|duckduckgo.com|search.daum.net|s.codepen.io|htn\.to|socialmediascanner.eset.com|storage.googleapis.com|diffbot.com|bing.com|slack.com|goo.gl|htmlpreview.github.io|fiddle.jshell.net|timothypratley.blogspot|translate.googleusercontent.com|^fb.com|^192\.168|www.facebook.com|www.flowdock.com|www.gitbook.com|google\.com|cncc.bingj.com|com.[sS]lack|gist\.github|l.messenger|parser.juejin.im|danbunea\.blogspot|www.pinkbubbles.de"| sort | uniq

0 comments on commit b737c7b

Please sign in to comment.