script.js 624 B

12345678910111213141516171819202122232425
  1. // Generated by CoffeeScript 1.7.1
  2. (function() {
  3. define(['browser-source-map-support'], function(sourceMapSupport) {
  4. var e, foo;
  5. sourceMapSupport.install();
  6. foo = function() {
  7. throw new Error('foo');
  8. };
  9. try {
  10. return foo();
  11. } catch (_error) {
  12. e = _error;
  13. if (/\bscript\.coffee\b/.test(e.stack)) {
  14. return document.body.appendChild(document.createTextNode('Test passed'));
  15. } else {
  16. document.body.appendChild(document.createTextNode('Test failed'));
  17. return console.log(e.stack);
  18. }
  19. }
  20. });
  21. }).call(this);
  22. //# sourceMappingURL=script.map