Skip to content

Instantly share code, notes, and snippets.

@mihailik mihailik/index.html
Last active Nov 4, 2015

Embed
What would you like to do?
<body>
<h2>test</h2>
<pre id=result></pre>
<script>
var result = document.getElementById('result')
try {
var text = (function() { return /\/\*\s*([\s\S]*\S)\s*\*\//.exec(arguments.callee.toString()||[])[1]; /*
{"accountIds":[2340561],"dealIds":["101590127"],"targetWeight":1.0,"standardWeightMultiper":1.0,"weightScalingFactor":0.0,"rebalanceOption":"StandardWeightMuliple","accountRebalance":true}
*/ })();
result.textContent = result.innerHTML = text;
}
catch (x) {
result.textContent = result.innerHTML = x.message + ' \r\n\r\n '+x.stack;
result.style.color = 'tomato';
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.