Merge branch 'master' of https://github.com/BorysLevytskyi/BitwiseCmd into gh-pages

This commit is contained in:
BorisLevitskiy
2015-04-08 13:34:28 +03:00

View File

@@ -158,10 +158,18 @@
app.bootstrap(document.getElementById('rootView'));
var cmd = app.get('cmd');
cmd.execute('help');
cmd.execute('1|2');
cmd.execute('2 4 8 16 32');
cmd.execute('help');
if(window.location.hash.length > 1) {
cmd.execute(window.location.hash.substr(1).replace(/,/g,' '));
}
else {
cmd.execute('1|2');
cmd.execute('2 4 8 16 32');
}
</script>
</body>
</html>