{"shas":[["6058b8d8713ae358426d2e554cb59e5198659461","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","It's now possible to put doctest script code in a <script> tag in a pre.doctest element, contained in a function definition (so the code isn't actually executed on page load). This is done for a number of reasons, including but not limited to:\n\n* it makes it easy to copy/paste actual code to/from the doctest source code without having to manually insert or remove $ and > prompts.\n\n* because we're now looking at raw source and inserting the $ and > prompts ourselves, we can perform further transformations on the raw source, such as syntax highlighting.\n\n* syntax errors thrown by the code contain proper line number information.\n\n* code editors like textmate can properly syntax highlight the doctest snippets.","Atul Varma"],["43c5ad3c171e90647626503ae3d46cbd58d45184","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Fixed a TODO so that we're now using a jschannel to get script source code from the child frame instead of poking into the iframe, which doesn't work on chrome file: URLs or IE8. Also added a HTML doctype so pre-wrap works on IE8.","Atul Varma"],["13d7b801006bf171a1f3605daeb970d652a018da","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Entire doctest can be contained in script tags now; expected output can be specified via e.g.:\n\nsnippet(function() {\n  1 + 1;\n  // expect: 2\n});","Atul Varma"],["1c03e1db7c56fea7af533806c63bf34700b35b1e","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","converted all doctests to script snippets instead of pre tags.","Atul Varma"],["d6cda25fe404a196190922014e730e7f6839d087","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Added syntax highlighting using the shjs syntax highlighting library.","Atul Varma"],["67acacafb2c6bb2f8b5640ae86041a60478b63ad","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","remove example prompts from final successful output and syntax highlight the doctest examples.","Atul Varma"],["ac2c5aaa56e1edd7e195afbe5d30df141ac3e11e","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","created collapsible 'more' sections that contained more detailed information about specific functionality.","Atul Varma"],["d6e8fbac88389069db565ad65f66e4ee6f1d34f0","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Added more documentation.","Atul Varma"],["2548e33a71f7ff98c93260d0647ad74b0c0ce7da","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","renamed test directory to docs.","Atul Varma"],["cef255012fe281b2ae0cac97a59d8d72a645f9fe","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Added github ribbon and touched up docs.","Atul Varma"],["aa02e6e306c4d11f50165268c47716859efcdb27","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Refined docs on channel constructor.","Atul Varma"],["34b47807c542e0eb8e9b4ddbfb8ac0eb31791c5e","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Fixed a bug whereby all collapsed sections aren't expanded when doctests fail.","Atul Varma"],["f2de17b86b5c9155336a2d96935102d4e28fb2ad","1caf970322a41243c48c21ddc7aed265c018d979@gmail.com","Separated test running infrastructure into run-tests.js and CSS into main.css.","Atul Varma"]],"repo":"toolness/jschannel","actor":"toolness","ref":"refs/heads/gh-pages","size":13,"head":"f2de17b86b5c9155336a2d96935102d4e28fb2ad","actor_gravatar":"b6c1ebb35d0c41dfe0728dd0dc6ae5b1","push_id":31919304}