ternjs / tern

A JavaScript code analyzer for deep, cross-editor language support
https://ternjs.net/
MIT License
4.25k stars 378 forks source link

file-error "Creating pipe" "too many open files" #747

Open futurist opened 8 years ago

futurist commented 8 years ago

There's error when in js2-mode:

Debugger entered--Lisp error: (file-error "Creating pipe" "too many open files")
  start-process("Tern" nil "node" "d:/Emacs/.emacs.d/tern/bin/tern" "--strip-crs")
  apply(start-process "Tern" nil ("node" "d:/Emacs/.emacs.d/tern/bin/tern" "--strip-crs"))
  (let* ((default-directory tern-project-dir) (cmd (if (member "--strip-crs" tern-command) tern-command (append tern-command (quote ("--strip-crs"))))) (proc (apply (function start-process) "Tern" nil cmd)) (all-output "")) (set-process-query-on-exit-flag proc nil) (set-process-sentinel proc (function (lambda (_proc _event) (delete-process proc) (setq tern-known-port (cons :failed (concat "Could not start Tern server\n" all-output))) (run-at-time "30 sec" nil (function (lambda (buf) (save-current-buffer ... ...))) (current-buffer)) (funcall c nil tern-known-port)))) (set-process-filter proc (function (lambda (proc output) (if (not (string-match "Listening on port \\([0-9][0-9]*\\)" output)) (setq all-output (concat all-output output)) (setq tern-known-port (string-to-number (match-string 1 output))) (set-process-sentinel proc (function (lambda ... ... ...))) (set-process-filter proc nil) (funcall c tern-known-port nil))))))
  tern-start-server((closure ((runner closure #1 (err data) (save-current-buffer (set-buffer buffer) (cond ((and err (not retrying) (or ... ...)) (setq retrying t) (let (...) (setq tern-known-port nil) (if tern-explicit-port ... ...))) (t (funcall f err data))))) (callback closure #1 (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner (list err) nil))) (funcall f err nil))) (retrying) (buffer . #<buffer client.html>) (doc (files . [((type . "full") (name . "client.html") (text . #("<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\" />\n<link rel=\"icon\" href=\"data:;base64,iVBORw0KGgo=\" />\n<title>ptest client</title>\n<style type=\"text/css\">\n*{\n  margin: 0;\n  padding: 0;\n}\n.imgCon,\n.screenshot{\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  pointer-events: none;\n}\n\n#phantom{\n  position: relative;\n}\n#clipArea{\n  position: absolute;\n  z-index: 99999;\n  border: 1px dashed #c00;\n  display: none;\n  pointer-events: none;\n}\n.clipBar{\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  /*background: red;*/\n  cursor: pointer;\n}\n.clipBar0{\n  top:0;\n  height: 10px;\n}\n.clipBar1{\n  right:0;\n  width: 10px;\n}\n.clipBar2{\n  bottom:0;\n  height: 10px;\n}\n.clipBar3{\n  left:0;\n  width: 10px;\n}\n\n</style>\n</head>\n<body>\n\n<div id=\"phantom\">\n  <div class=\"imgCon\" onselectstart=\"return false;\" ondragstart=\"return false;\" contenteditable=false><img onselectstart=\"return false;\" ondragstart=\"return false;\" contenteditable=false class=\"screenshot\" /></div>\n  <div id=\"clipArea\">\n    <div class=\"clipBar clipBar0\"></div>\n    <div class=\"clipBar clipBar1\"></div>\n    <div class=\"clipBar clipBar2\"></div>\n    <div class=\"clipBar clipBar3\"></div>\n  </div>\n</div>\n<div id=\"console\"></div>\n\n<script type=\"text/javascript\" src=\"./node_modules/mithril/mithril.min.js\"></script>\n<script type=\"text/javascript\" src=\"./js/jquery.min.js\"></script>\n<script type=\"text/javascript\" src=\"./js/m_drag.js\"></script>\n<script type=\"text/javascript\" src=\"./js/mousetrap.js\"></script>\n<script type=\"text/javascript\" src=\"./node_modules/util_debounce_throttle/dist/util_debounce_throttle.js\"></script>\n<script type=\"text/javascript\">\n/*\nCopyright @ Michael Yang\nLicense MIT\n*/\n\nvar RECORDING = 'STAGE_RECORDING', PLAYING = 'STAGE_PLAYING', CLIPPING = 'STAGE_CLIPPING'\nvar INVALID_NAME = '<>:\"\\\\|?*'     // '<>:\"/\\\\|?*'\nvar INVALID_NAME_REGEXP = new RegExp('['+INVALID_NAME.replace('\\\\','\\\\\\\\')+']','g')\nvar stage = null\nvar MODIFIER = {\n  shift:  0x02000000,\n  ctrl:   0x04000000,\n  alt:    0x08000000,\n  meta:   0x10000000,\n  keypad: 0x20000000\n}\n\nvar keyframeCount = 0\nvar intervalTitle = 0\nvar PageClip = {}\nvar clipDrag = m_drag({});\nvar startClip = clipDrag('clip', function(e, data, root){\n  if(stage!=CLIPPING) return;\n  PageClip.top = data.oy\n  PageClip.left = data.ox\n  PageClip.width = -data.dx\n  PageClip.height = -data.dy\n  applyPageClip()\n\n}, function(e,data){\n  if(stage!=CLIPPING) return;\n  console.log(PageClip)\n  ws._send({ type:'page_clip', data:PageClip })\n  stage = null\n})\nfunction applyPageClip(){\n  $('#clipArea').show().css({ top:PageClip.top+'px', left:PageClip.left+'px', width:PageClip.width+'px', height:PageClip.height+'px' })\n}\n\n$('#phantom').on('mousedown', startClip)\n\nws= new WebSocket('ws://'+ window.location.hostname +':1280')\nws.onopen = function (e) {\n  ws.onmessage = function (message) {\n\n      var msg; try{ msg=JSON.parse(message.data) }catch(e){ msg=message.data }\n      if(typeof msg!='object'||!msg) return;\n\n      switch(msg.type){\n\n        case 'broadcast':\n\n          break\n      case 'playback':\n        break\n        case 'page_clip':\n          PageClip = msg.data\n          applyPageClip()\n\n          break\n        case 'command':\n          try{\n            msg.result = eval( msg.data )\n          }catch(e){\n            msg.result = e.stack\n          }\n          delete msg.data\n          msg.type = 'command_result'\n          ws._send( msg )\n\n          break\n        case 'client_error':\n          console.error( msg.data.msg, JSON.stringify(msg.data.stack) )\n\n          break\n        case 'client_console':\n          console.log( msg.data )\n\n          break\n        case 'command_result':\n          if(msg.__id){\n            var cb = WS_CALLBACK[msg.__id]\n            delete WS_CALLBACK[msg.__id]\n            cb && cb(msg)\n          }\n\n          break\n        case 'window_resize':\n        case 'window_scroll':\n          $(window).scrollLeft(msg.data.scrollX)\n          $(window).scrollTop(msg.data.scrollY)\n          $(window).width(msg.data.width)\n          $(window).height(msg.data.height)\n\n          break\n        case 'render':\n          $('.imgCon').width( msg.meta.size.width ).height( msg.meta.size.height )\n          $('.screenshot').attr('src', 'data:image/png;base64,'+ msg.data)\n          // FIXME: phantom don't have scrollbar but browser's scrollbar will reduce window size\n          // if( msg.meta.count==0 ) $(window).trigger('resize')\n          break\n\n        default:\n\n          break\n      }\n\n  }\n  ws.onclose = function (code, reason, bClean) {\n    console.log(\"ws error: \", code, reason);\n  }\n  ws._send({type:'connection', meta:'server', name:'client'})\n}\n\nvar WS_CALLBACK = {}\nws._send = function(msg, cb){\n  if(ws.readyState!=1) return;\n  if(typeof cb=='function'){\n    msg.__id = '_'+Date.now()+Math.random()\n    WS_CALLBACK[msg.__id] = cb\n  }\n  ws.send( typeof msg=='string' ? msg : JSON.stringify(msg) )\n}\nws._send_debounce = util_debounce_throttle._debounce( ws._send, 30)\nws._send_throttle = util_debounce_throttle._throttle( ws._send, 30, true )\nws._send_throttle2 = util_debounce_throttle._throttle( ws._send, 30, false )\n\n\nfunction sc(str){\n  ws._send({type:'command', meta:'server', data:str}, function(msg){\n    if(msg.result!==undefined) console.log(msg.result)\n  })\n}\nfunction cc(str, isPhantom){\n  ws._send({type:'command', meta:isPhantom?'phantom':'client', data:str}, function(msg){\n    if(msg.result!==undefined) console.log(msg.result)\n  })\n}\n\nfunction registerEvent(){\n\n    var lastTitle = ''\n    Mousetrap.bind('ctrl+s', function(e){\n      e.preventDefault()\n      console.log(e)\n    })\n    // Mousetrap.bind('ctrl+p', function(e){\n    //   e.preventDefault()\n    //   if( stage==null ){\n    //     sc(' playBack.play() ')\n    //     stage = PLAYING\n    //   } else if(stage == PLAYING) {\n    //     sc(' playBack.pause() ')\n    //     stage = null\n    //   }\n    // })\n    Mousetrap.bind('ctrl+a', function(e){\n      e.preventDefault()\n      stage = CLIPPING\n    })\n    Mousetrap.bind('f4', function(e){\n      if(!lastTitle) return\n      e.preventDefault()\n      sc(' snapKeyFrame(\"'+ lastTitle +'\") ')\n      keyframeCount++\n    })\n    Mousetrap.bind('ctrl+r', function(e){\n      e.preventDefault()\n      var title\n      if( stage == null ){\n        while(1) {\n          title= lastTitle = window.prompt('which title', lastTitle)||''\n          if(!title) return\n          if( INVALID_NAME_REGEXP.test(title) ) alert('path name cannot contain '+ INVALID_NAME)\n          else break\n        }\n        // document.title = 'recording...'+title\n        flashTitle()\n\n        sc(' startRec(\"'+ title +'\") ')\n        stage = RECORDING\n      }else if(stage == RECORDING) {\n        clearInterval(intervalTitle)\n        document.title = 'ptest'\n        sc(' stopRec() ')\n        stage = null\n        lastTitle = ''\n      }\n    })\n\n    $(window).on('resize', function(e){\n      var data = { scrollX:window.scrollX, scrollY:window.scrollY, width:$(window).width(), height:$(window).height()}\n      ws._send({ type:'window_resize', data:data })\n    })\n    $(window).trigger('resize')\n\n    $(window).on('scroll', function(e){\n      var data = { scrollX:window.scrollX, scrollY:window.scrollY, width:$(window).width(), height:$(window).height()}\n      ws._send({ type:'window_scroll', data:data })\n    })\n    $(window).trigger('scroll')\n\n\n  var eventList = [\n    'keydown',\n    'keyup',\n    'mousedown',\n    'mouseup',\n    'mousemove',\n    // 'click',\n    // 'dblclick',\n  ]\n  eventList.forEach(function(v){\n    $(document).on(v, function(evt){\n      var e = evt.originalEvent\n      var isKey = /key/.test(e.type)\n      if(isKey) e.preventDefault()\n      // if (!isKey && e.target.id!=='phantom') return\n      var modifier = 0\n      if(e.shiftKey) modifier |= MODIFIER.shift\n      if(e.altKey) modifier |= MODIFIER.alt\n      if(e.ctrlKey) modifier |= MODIFIER.ctrl\n      if(e.metaKey) modifier |= MODIFIER.meta\n      var evtData = { type:e.type, which:e.which, modifier:modifier }\n      if(isKey){\n        evtData.keyName = e.key||e.keyIdentifier\n        // console.log(e,  e.key||e.keyIdentifier, e.keyIdentifier )\n      }else{\n        evtData.pageX = e.pageX  // -window.scrollX\n        evtData.pageY = e.pageY  // -window.scrollY\n      }\n      // if(evtData.type=='mousemove') ws._send_throttle({ type:'event_mouse', data:evtData })\n      // else ws._send({ type:'event_mouse', data:evtData })\n      ws._send({ type:isKey?'event_key':'event_mouse', data:evtData })\n    })\n  })\n}\n\n  var _repeat = function(str, n){return new Array(n+1).join(str) }\n\n  function flashTitle(){\n    clearInterval(intervalTitle)\n    var t=0\n    var flash = function(){\n      var tt=_repeat('+', keyframeCount)\n      tt+= t++%2?\"RECORDING...\":\"ptest...\"\n      document.title=tt\n    }\n    intervalTitle = setInterval(flash, 1000)\n  }\n\n\n\n$(function(){\n  registerEvent()\n  document.body.focus()\n})\n\nwindow.onunload = function(){\n  $.ajax({ type:'GET', url: window.location.protocol+ '//'+ window.location.host + '/reload', async:false })\n}\n\n</script>\n</body>\n</html>\n" 0 1 ... 1 9 ... 9 17 ... 17 21 ... 21 24 ... 24 28 ... 28 31 ... 31 35 ... 35 36 ... 36 43 ... 43 44 ... 44 51 ... 51 56 ... 56 60 ... 60 61 ... 61 64 ... 64 65 ... 65 71 ... 71 72 ... 72 76 ... 76 77 ... 77 104 ... 104 108 ... 108 109 ... 109 114 ... 114 115 ... 115 127 ... 127 129 ... 129 134 ... 134 137 ... 137 142 ... 142 143 ... 143 147 ... 147 148 ... 148 158 ... 158 160 ... 160 161 ... 161 162 ... 162 165 ... 165 171 ... 171 178 ... 178 185 ... 185 190 ... 190 191 ... 191 192 ... 192 212 ... 212 213 ... 213 216 ... 216 235 ... 235 245 ... 245 261 ... 261 271 ... 271 286 ... 286 296 ... 296 307 ... 307 317 ... 317 331 ... 331 339 ... 339 340 ... 340 342 ... 342 350 ... 350 351 ... 351 354 ... 354 362 ... 362 374 ... 374 375 ... 375 376 ... 376 385 ... 385 386 ... 386 389 ... 389 397 ... 397 411 ... 411 418 ... 418 429 ... 429 435 ... 435 448 ... 448 452 ... 452 456 ... 456 463 ... 463 473 ... 473 487 ... 487 495 ... 495 496 ... 496 497 ... 497 505 ... 505 506 ... 506 507 ... 507 509 ... 509 517 ... 517 531 ... 531 536 ... 536 546 ... 546 552 ... 552 562 ... 562 564 ... 564 576 ... 576 579 ... 579 580 ... 580 582 ... 582 585 ... 585 591 ... 591 604 ... 604 613 ... 613 617 ... 617 620 ... 620 626 ... 626 632 ... 632 642 ... 642 651 ... 651 655 ... 655 660 ... 660 666 ... 666 671 ... 671 679 ... 679 680 ... 680 681 ... 681 690 ... 690 691 ... 691 694 ... 694 700 ... 700 706 ... 706 712 ... 712 720 ... 720 721 ... 721 722 ... 722 731 ... 731 732 ... 732 735 ... 735 739 ... 739 745 ... 745 750 ... 750 758 ... 758 759 ... 759 761 ... 761 763 ... 763 768 ... 768 772 ... 772 776 ... 776 779 ... 779 783 ... 783 787 ... 787 790 ... 790 791 ... 791 793 ... 793 794 ... 794 803 ... 803 808 ... 808 811 ... 811 812 ... 812 817 ... 817 818 ... 818 826 ... 826 827 ... 827 840 ... 840 841 ... 841 856 ... 856 857 ... 857 868 ... 868 869 ... 869 884 ... 884 908 ... 908 911 ... 911 912 ... 912 925 ... 925 926 ... 926 941 ... 941 942 ... 942 953 ... 953 954 ... 954 969 ... 969 992 ... 992 997 ... 997 998 ... 998 1010 ... 1010 1015 ... 1015 1018 ... 1018 1023 ... 1023 1026 ... 1026 1027 ... 1027 1029 ... 1029 1030 ... 1030 1040 ... 1040 1047 ... 1047 1050 ... 1050 1051 ... 1051 1056 ... 1056 1057 ... 1057 1075 ... 1075 1078 ... 1078 1081 ... 1081 1088 ... 1088 1091 ... 1091 1092 ... 1092 1097 ... 1097 1098 ... 1098 1116 ... 1116 1119 ... 1119 1122 ... 1122 1129 ... 1129 1132 ... 1132 1133 ... 1133 1138 ... 1138 1139 ... 1139 1157 ... 1157 1160 ... 1160 1163 ... 1163 1165 ... 1165 1170 ... 1170 1173 ... 1173 1174 ... 1174 1179 ... 1179 1180 ... 1180 1198 ... 1198 1201 ... 1201 1204 ... 1204 1206 ... 1206 1210 ... 1210 1213 ... 1213 1217 ... 1217 1220 ... 1220 1223 ... 1223 1226 ... 1226 1227 ... 1227 1229 ... 1229 1230 ... 1230 1239 ... 1239 1242 ... 1242 1245 ... 1245 1249 ... 1249 1255 ... 1255 1256 ... 1256 1260 ... 1260 1261 ... 1261 1278 ... 1278 1279 ... 1279 1282 ... 1282 1283 ... 1283 1322 ... 1322 1325 ... 1325 1331 ... 1331 1334 ... 1334 1340 ... 1340 1341 ... 1341 1345 ... 1345 1346 ... 1346 1363 ... 1363 1364 ... 1364 1367 ... 1367 1368 ... 1368 1388 ... 1388 1391 ... 1391 1397 ... 1397 1400 ... 1400 1406 ... 1406 1407 ... 1407 1411 ... 1411 1412 ... 1412 1429 ... 1429 1430 ... 1430 1433 ... 1433 1434 ... 1434 1450 ... 1450 1453 ... 1453 1459 ... 1459 1462 ... 1462 1468 ... 1468 1469 ... 1469 1473 ... 1473 1474 ... 1474 1491 ... 1491 1492 ... 1492 1495 ... 1495 1496 ... 1496 1515 ... 1515 1518 ... 1518 1524 ... 1524 1526 ... 1526 1527 ... 1527 1533 ... 1533 1534 ... 1534 1538 ... 1538 1539 ... 1539 1556 ... 1556 1557 ... 1557 1560 ... 1560 1561 ... 1561 1631 ... 1631 1634 ... 1634 1640 ... 1640 1641 ... 1641 1642 ... 1642 1643 ... 1643 1649 ... 1649 1650 ... 1650 1654 ... 1654 1655 ... 1655 1672 ... 1672 1674 ... 1674 1676 ... 1676 1714 ... 1714 1716 ... 1716 1718 ... 1718 1721 ... 1721 1734 ... 1734 1751 ... 1751 1763 ... 1763 1778 ... 1778 1791 ... 1791 1807 ... 1807 1808 ... 1808 1811 ... 1811 1812 ... 1812 1824 ... 1824 1827 ... 1827 1831 ... 1831 1832 ... 1832 1833 ... 1833 1834 ... 1834 1838 ... 1838 1843 ... 1843 1846 ... 1846 1850 ... 1850 1851 ... 1851 1858 ... 1858 1859 ... 1859 1862 ... 1862 1863 ... 1863 1882 ... 1882 1885 ... 1885 1888 ... 1888 1889 ... 1889 1895 ... 1895 1896 ... 1896 1899 ... 1899 1913 ... 1913 1920 ... 1920 1921 ... 1921 1922 ... 1922 1923 ... 1923 1924 ... 1924 1925 ... 1925 1926 ... 1926 1927 ... 1927 1928 ... 1928 1929 ... 1929 1930 ... 1930 1931 ... 1931 1932 ... 1932 1933 ... 1933 1934 ... 1934 1937 ... 1937 1938 ... 1938 1941 ... 1941 1942 ... 1942 1943 ... 1943 1946 ... 1946 1947 ... 1947 1952 ... 1952 1955 ... 1955 1959 ... 1959 1960 ... 1960 1963 ... 1963 1964 ... 1964 1972 ... 1972 1975 ... 1975 1976 ... 1976 1979 ... 1979 1984 ... 1984 2001 ... 2001 2005 ... 2005 2023 ... 2023 2026 ... 2026 2045 ... 2045 2049 ... 2049 2067 ... 2067 2073 ... 2073 2086 ... 2086 2087 ... 2087 2089 ... 2089 2092 ... 2092 2093 ... 2093 2106 ... 2106 2111 ... 2111 2114 ... 2114 2115 ... 2115 2128 ... 2128 2133 ... 2133 2136 ... 2136 2137 ... 2137 2145 ... 2145 2148 ... 2148 2149 ... 2149 2150 ... 2150 2151 ... 2151 2154 ... 2154 2155 ... 2155 2163 ... 2163 2166 ... 2166 2172 ... 2172 2173 ... 2173 2174 ... 2174 2175 ... 2175 2176 ... 2176 2178 ... 2178 2181 ... 2181 2182 ... 2182 2191 ... 2191 2194 ... 2194 2202 ... 2202 2203 ... 2203 2209 ... 2209 2211 ... 2211 2219 ... 2219 2220 ... 2220 2221 ... 2221 2223 ... 2223 2227 ... 2227 2229 ... 2229 2233 ... 2233 2234 ... 2234 2238 ... 2238 2240 ... 2240 2258 ... 2258 2264 ... 2264 2277 ... 2277 2280 ... 2280 2288 ... 2288 2290 ... 2290 2302 ... 2302 2306 ... 2306 2314 ... 2314 2316 ... 2316 2328 ... 2328 2333 ... 2333 2342 ... 2342 2344 ... 2344 2356 ... 2356 2362 ... 2362 2371 ... 2371 2373 ... 2373 2376 ... 2376 2389 ... 2389 2396 ... 2396 2404 ... 2404 2405 ... 2405 2406 ... 2406 2407 ... 2407 2411 ... 2411 2414 ... 2414 2416 ... 2416 2418 ... 2418 2436 ... 2436 2442 ... 2442 2454 ... 2454 2457 ... 2457 2473 ... 2473 2478 ... 2478 2479 ... 2479 2481 ... 2481 2485 ... 2485 2486 ... 2486 2497 ... 2497 2499 ... 2499 2503 ... 2503 2526 ... 2526 2530 ... 2530 2534 ... 2534 2542 ... 2542 2543 ... 2543 2556 ... 2556 2558 ... 2558 2560 ... 2560 2562 ... 2562 2563 ... 2563 2564 ... 2564 2575 ... 2575 2577 ... 2577 2581 ... 2581 2584 ... 2584 2587 ... 2587 2588 ... 2588 2590 ... 2590 2593 ... 2593 2603 ... 2603 2606 ... 2606 2607 ... 2607 2611 ... 2611 2613 ... 2613 2617 ... 2617 2627 ... 2627 2631 ... 2631 2632 ... 2632 2636 ... 2636 2638 ... 2638 2643 ... 2643 2653 ... 2653 2658 ... 2658 2659 ... 2659 2663 ... 2663 2665 ... 2665 2671 ... 2671 2681 ... 2681 2687 ... 2687 2688 ... 2688 2692 ... 2692 2699 ... 2699 2700 ... 2700 2701 ... 2701 2711 ... 2711 2713 ... 2713 2715 ... 2715 2716 ... 2716 2727 ... 2727 2745 ... 2745 2748 ... 2748 2749 ... 2749 2758 ... 2758 2759 ... 2759 2766 ... 2766 2775 ... 2775 2783 ... 2783 2784 ... 2784 2792 ... 2792 2794 ... 2794 2801 ... 2801 2803 ... 2803 2806 ... 2806 2812 ... 2812 2815 ... 2815 2823 ... 2823 2825 ... 2825 2826 ... 2826 2828 ... 2828 2830 ... 2830 2835 ... 2835 2844 ... 2844 2847 ... 2847 2855 ... 2855 2856 ... 2856 2857 ... 2857 2864 ... 2864 2865 ... 2865 2866 ... 2866 2867 ... 2867 2868 ... 2868 2869 ... 2869 2875 ... 2875 2878 ... 2878 2879 ... 2879 2882 ... 2882 2884 ... 2884 2887 ... 2887 2888 ... 2888 2898 ... 2898 2903 ... 2903 2904 ... 2904 2912 ... 2912 2916 ... 2916 2917 ... 2917 2918 ... 2918 2919 ... 2919 2924 ... 2924 2925 ... 2925 2926 ... 2926 2927 ... 2927 2928 ... 2928 2941 ... 2941 2945 ... 2945 2946 ... 2946 2947 ... 2947 2948 ... 2948 2954 ... 2954 2956 ... 2956 2957 ... 2957 2963 ... 2963 2969 ... 2969 2977 ... 2977 2979 ... 2979 2980 ... 2980 2983 ... 2983 2984 ... 2984 2985 ... 2985 2991 ... 2991 2994 ... 2994 3000 ... 3000 3006 ... 3006 3007 ... 3007 3011 ... 3011 3015 ... 3015 3016 ... 3016 3017 ... 3017 3018 ... 3018 3019 ... 3019 3027 ... 3027 3031 ... 3031 3032 ... 3032 3043 ... 3043 3056 ... 3056 3061 ... 3061 3062 ... 3062 3068 ... 3068 3072 ... 3072 3073 ... 3073 3082 ... 3082 3083 ... 3083 3084 ... 3084 3085 ... 3085 3093 ... 3093 3098 ... 3098 3099 ... 3099 3107 ... 3107 3111 ... 3111 3112 ... 3112 3113 ... 3113 3122 ... 3122 3123 ... 3123 3125 ... 3125 3150 ... 3150 3154 ... 3154 3155 ... 3155 3165 ... 3165 3178 ... 3178 3179 ... 3179 3180 ... 3180 3181 ... 3181 3192 ... 3192 3197 ... 3197 3198 ... 3198 3206 ... 3206 3210 ... 3210 3211 ... 3211 3220 ... 3220 3222 ... 3222 3232 ... 3232 3235 ... 3235 3236 ... 3236 3253 ... 3253 3259 ... 3259 3262 ... 3262 3266 ... 3266 3267 ... 3267 3272 ... 3272 3276 ... 3276 3277 ... 3277 3278 ... 3278 3289 ... 3289 3290 ... 3290 3295 ... 3295 3296 ... 3296 3297 ... 3297 3298 ... 3298 3299 ... 3299 3316 ... 3316 3322 ... 3322 3327 ... 3327 3332 ... 3332 3333 ... 3333 3343 ... 3343 3344 ... 3344 3345 ... 3345 3355 ... 3355 3361 ... 3361 3366 ... 3366 3370 ... 3370 3371 ... 3371 3385 ... 3385 3389 ... 3389 3392 ... 3392 3408 ... 3408 3422 ... 3422 3427 ... 3427 3428 ... 3428 3433 ... 3433 3434 ... 3434 3446 ... 3446 3451 ... 3451 3460 ... 3460 3464 ... 3464 3465 ... 3465 3479 ... 3479 3499 ... 3499 3504 ... 3504 3505 ... 3505 3510 ... 3510 3514 ... 3514 3515 ... 3515 3518 ... 3518 3525 ... 3525 3534 ... 3534 3535 ... 3535 3539 ... 3539 3543 ... 3543 3544 ... 3544 3549 ... 3549 3550 ... 3550 3551 ... 3551 3552 ... 3552 3553 ... 3553 3564 ... 3564 3569 ... 3569 3570 ... 3570 3578 ... 3578 3582 ... 3582 3583 ... 3583 3599 ... 3599 3601 ... 3619 3622 ... 3628 3632 ... 3646 3651 ... 3660 3664 ... 3665 3681 ... 3693 3695 ... 3700 3704 ... 3719 3722 ... 3723 3725 ... 3744 3748 ... 3762 3768 ... 3785 3789 ... 3809 3811 ... 3840 3845 ... 3854 3858 ... 3859 3874 ... 3884 3888 ... 3889 3904 ... 3916 3917 ... 3926 3936 ... 3941 3945 ... 3946 3953 ... 3965 3966 ... 3975 3984 ... 3989 3993 ... 3994 4001 ... 4013 4014 ... 4023 4028 ... 4033 4037 ... 4038 4043 ... 4055 4056 ... 4065 4071 ... 4076 4080 ... 4081 4087 ... 4100 4105 ... 4114 4118 ... 4119 4127 ... 4139 4140 ... 4141 4150 ... 4152 4157 ... 4163 4167 ... 4168 4172 ... 4173 4178 ... 4181 4187 ... 4193 4197 ... 4198 4202 ... 4203 4209 ... 4222 4223 ... 4224 4237 ... 4239 4243 ... 4244 4249 ... 4251 4275 ... 4281 4285 ... 4297 4318 ... 4318 4348 ... 4348 4384 ... 4394 4439 ... 4439 4447 ... 4447 4449 ... 4459 4464 ... 4474 4481 ... 4494 4499 ... 4518 4525 ... 4528 4536 ... 4538 4542 ... 4544 4550 ... 4552 4558 ... 4574 4577 ... 4578 4590 ... 4616 4621 ... 4623 4627 ... 4628 4640 ... 4642 4646 ... 4647 4655 ... 4657 4661 ... 4662 4670 ... 4676 4679 ... 4680 4691 ... 4700 4705 ... 4708 4716 ... 4717 4720 ... 4722 4724 ... 4729 4731 ... 4735 4745 ... 4750 4756 ... 4760 4762 ... 4763 4769 ... 4774 4784 ... 4795 4799 ... 4802 4805 ... 4811 4814 ... 4822 4828 ... 4851 4855 ... 4871 4875 ... 4877 4883 ... 4889 4897 ... 4911 4920 ... 4933 4947 ... 4973 4982 ... 4987 4992 ... 5001 5015 ... 5041 5050 ... 5055 5060 ... 5066 5070 ... 5076 5091 ... 5117 5126 ... 5131 5136 ... 5142 5147 ... 5152 5160 ... 5161 5163 ... 5164 5167 ... 5175 5180 ... 5182 5186 ... 5187 5196 ... 5198 5202 ... 5203 5211 ... 5213 5217 ... 5224 5232 ... 5233 5236 ... 5243 5245 ... 5250 5256 ... 5259 5268 ... 5278 5281 ... 5286 5292 ... 5301 5309 ... 5310 5312 ... 5313 5316 ... 5318 5327 ... 5335 5340 ... 5342 5346 ... 5347 5356 ... 5358 5362 ... 5373 5382 ... 5383 5391 ... 5393 5397 ... 5404 5412 ... 5413 5416 ... 5423 5425 ... 5430 5436 ... 5439 5448 ... 5458 5461 ... 5466 5472 ... 5482 5490 ... 5491 5504 ... 5513 5516 ... 5517 5526 ... 5529 5531 ... 5546 5550 ... 5551 5559 ... 5561 5569 ... 5570 5571 ... 5582 5596 ... 5613 5616 ... 5631 5649 ... 5649 5657 ... 5657 5670 ... 5670 5672 ... 5676 5700 ... 5704 5726 ... 5726 5728 ... 5732 5742 ... 5742 5761 ... 5761 5763 ... 5767 5790 ... 5794 5829 ... 5833 5843 ... 5843 5863 ... 5863 5865 ... 5869 5889 ... 5893 5900 ... 5904 5910 ... 5924 5928 ... 5929 5937 ... 5939 5947 ... 5948 5949 ... 5960 5974 ... 6021 6025 ... 6026 6030 ... 6032 6040 ... 6041 6042 ... 6051 6053 ... 6054 6055 ... 6066 6072 ... 6081 6095 ... 6104 6106 ... 6107 6122 ... 6122 6124 ... 6137 6139 ... 6139 6142 ... 6187 6191 ... 6192 6200 ... 6202 6210 ... 6211 6212 ... 6223 6237 ... 6246 6249 ... 6250 6255 ... 6262 6264 ... 6275 6279 ... 6291 6296 ... 6338 6344 ... 6345 6358 ... 6372 6374 ... 6385 6387 ... 6388 6389 ... 6396 6402 ... 6413 6415 ... 6437 6441 ... 6451 6456 ... 6457 6484 ... 6510 6514 ... 6515 6520 ... 6539 6559 ... 6559 6573 ... 6573 6580 ... 6588 6598 ... 6610 6612 ... 6613 6624 ... 6624 6626 ... 6635 6637 ... 6637 6640 ... 6675 6679 ... 6680 6682 ... 6713 6726 ... 6759 6764 ... 6767 6774 ... 6783 6785 ... 6786 6799 ... 6817 6821 ... 6842 6844 ... 6865 6866 ... 6875 6877 ... 6878 6886 ... 6888 6896 ... 6897 6898 ... 6907 6910 ... 6911 6915 ... 6920 6927 ... 6935 6942 ... 6944 6951 ... 6959 6966 ... 6968 6973 ... 6974 6975 ... 6984 6989 ... 6993 6999 ... 7000 7001 ... 7010 7016 ... 7029 7034 ... 7037 7041 ... 7042 7057 ... 7059 7063 ... 7083 7084 ... 7093 7100 ... 7101 7109 ... 7116 7117 ... 7126 7128 ... 7129 7137 ... 7139 7147 ... 7148 7149 ... 7158 7161 ... 7162 7166 ... 7171 7178 ... 7186 7193 ... 7195 7202 ... 7210 7217 ... 7219 7224 ... 7225 7226 ... 7235 7240 ... 7244 7250 ... 7251 7252 ... 7261 7267 ... 7280 7285 ... 7288 7292 ... 7293 7308 ... 7310 7314 ... 7334 7335 ... 7344 7351 ... 7352 7360 ... 7366 7369 ... 7370 7379 ... 7388 7397 ... 7403 7410 ... 7416 7427 ... 7433 7442 ... 7448 7459 ... 7465 7468 ... 7468 7475 ... 7475 7477 ... 7481 7484 ... 7484 7494 ... 7494 7496 ... 7512 7519 ... 7520 7528 ... 7529 7530 ... 7537 7538 ... 7549 7551 ... 7555 7563 ... 7564 7567 ... 7576 7579 ... 7580 7581 ... 7588 7601 ... 7608 7611 ... 7612 7617 ... 7620 7621 ... 7621 7624 ... 7624 7625 ... 7626 7630 ... 7633 7637 ... 7645 7647 ... 7657 7671 ... 7680 7711 ... 7711 7720 ... 7720 7729 ... 7735 7738 ... 7739 7747 ... 7758 7760 ... 7763 7771 ... 7794 7799 ... 7806 7808 ... 7811 7817 ... 7840 7843 ... 7850 7852 ... 7855 7862 ... 7885 7889 ... 7896 7898 ... 7901 7908 ... 7931 7935 ... 7942 7945 ... 7946 7953 ... 7958 7962 ... 7965 7969 ... 7971 7976 ... 7979 7984 ... 7986 7994 ... 8012 8014 ... 8039 8046 ... 8051 8054 ... 8058 8071 ... 8080 8141 ... 8148 8152 ... 8170 8175 ... 8180 8185 ... 8187 8206 ... 8222 8227 ... 8232 8237 ... 8239 8258 ... 8272 8292 ... 8292 8303 ... 8303 8323 ... 8323 8325 ... 8325 8329 ... 8329 8330 ... 8330 8343 ... 8343 8361 ... 8367 8384 ... 8384 8386 ... 8386 8390 ... 8390 8391 ... 8391 8404 ... 8404 8422 ... 8431 8436 ... 8439 8443 ... 8450 8461 ... 8462 8475 ... 8477 8481 ... 8510 8513 ... 8514 8521 ... 8524 8532 ... 8533 8536 ... 8538 8539 ... 8541 8547 ... 8548 8551 ... 8552 8557 ... 8563 8567 ... 8578 8586 ... 8587 8597 ... 8605 8618 ... 8638 8641 ... 8642 8643 ... 8650 8653 ... 8654 8659 ... 8662 8670 ... 8680 8683 ... 8684 8686 ... 8687 8694 ... 8695 8698 ... 8732 8746 ... 8747 8757 ... 8773 8778 ... 8808 8819 ... 8840 8841 ... 8842 8850 ... 8856 8869 ... 8883 8887 ... 8888 8893 ... 8907 8915 ... 8918 8926 ... 8934 8938 ... 8941 8945 ... 8946 8951 ... 8953 8956 ... 8965 8973 ... 8974 8982 ... 8984 8988 ... 8997 9005 ... 9006 9010 ... 9013 9022 ... 9024 9029 ... 9030 9035 ... 9043 9044 ... 9044 9050 ... 9050 9051 ... 9053 9054 ... 9054 9058 ... 9058 9059 ... 9061 9062 ... 9062 9066 ... 9066 9067 ...)))])) (f closure (t) (_err _data)) t) (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner (list err) nil))) (funcall f err nil))))
  (if tern-explicit-port (funcall c tern-explicit-port nil) (if (buffer-file-name) nil (throw (quote --cl-block-nil--) (funcall c nil "Buffer is not associated with a file"))) (let ((deactivate-mark nil) (port-file (expand-file-name ".tern-port" (tern-project-dir)))) (if (file-exists-p port-file) (progn (let ((port (string-to-number ...))) (if (eq port ignore-port) nil (setq tern-known-port port) (throw (quote --cl-block-nil--) (funcall c port nil))))))) (tern-start-server c))
  (catch (quote --cl-block-nil--) (if tern-known-port (progn (throw (quote --cl-block-nil--) (if (consp tern-known-port) (funcall c nil (cdr tern-known-port)) (funcall c tern-known-port nil))))) (if tern-explicit-port (funcall c tern-explicit-port nil) (if (buffer-file-name) nil (throw (quote --cl-block-nil--) (funcall c nil "Buffer is not associated with a file"))) (let ((deactivate-mark nil) (port-file (expand-file-name ".tern-port" (tern-project-dir)))) (if (file-exists-p port-file) (progn (let ((port ...)) (if (eq port ignore-port) nil (setq tern-known-port port) (throw ... ...)))))) (tern-start-server c)))
  tern-find-server((closure ((runner closure #1 (err data) (save-current-buffer (set-buffer buffer) (cond ((and err (not retrying) (or ... ...)) (setq retrying t) (let (...) (setq tern-known-port nil) (if tern-explicit-port ... ...))) (t (funcall f err data))))) (callback closure #1 (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner (list err) nil))) (funcall f err nil))) (retrying) (buffer . #<buffer client.html>) (doc (files . [((type . "full") (name . "client.html") (text . #("<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\" />\n<link rel=\"icon\" href=\"data:;base64,iVBORw0KGgo=\" />\n<title>ptest client</title>\n<style type=\"text/css\">\n*{\n  margin: 0;\n  padding: 0;\n}\n.imgCon,\n.screenshot{\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  pointer-events: none;\n}\n\n#phantom{\n  position: relative;\n}\n#clipArea{\n  position: absolute;\n  z-index: 99999;\n  border: 1px dashed #c00;\n  display: none;\n  pointer-events: none;\n}\n.clipBar{\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  /*background: red;*/\n  cursor: pointer;\n}\n.clipBar0{\n  top:0;\n  height: 10px;\n}\n.clipBar1{\n  right:0;\n  width: 10px;\n}\n.clipBar2{\n  bottom:0;\n  height: 10px;\n}\n.clipBar3{\n  left:0;\n  width: 10px;\n}\n\n</style>\n</head>\n<body>\n\n<div id=\"phantom\">\n  <div class=\"imgCon\" onselectstart=\"return false;\" ondragstart=\"return false;\" contenteditable=false><img onselectstart=\"return false;\" ondragstart=\"return false;\" contenteditable=false class=\"screenshot\" /></div>\n  <div id=\"clipArea\">\n    <div class=\"clipBar clipBar0\"></div>\n    <div class=\"clipBar clipBar1\"></div>\n    <div class=\"clipBar clipBar2\"></div>\n    <div class=\"clipBar clipBar3\"></div>\n  </div>\n</div>\n<div id=\"console\"></div>\n\n<script type=\"text/javascript\" src=\"./node_modules/mithril/mithril.min.js\"></script>\n<script type=\"text/javascript\" src=\"./js/jquery.min.js\"></script>\n<script type=\"text/javascript\" src=\"./js/m_drag.js\"></script>\n<script type=\"text/javascript\" src=\"./js/mousetrap.js\"></script>\n<script type=\"text/javascript\" src=\"./node_modules/util_debounce_throttle/dist/util_debounce_throttle.js\"></script>\n<script type=\"text/javascript\">\n/*\nCopyright @ Michael Yang\nLicense MIT\n*/\n\nvar RECORDING = 'STAGE_RECORDING', PLAYING = 'STAGE_PLAYING', CLIPPING = 'STAGE_CLIPPING'\nvar INVALID_NAME = '<>:\"\\\\|?*'     // '<>:\"/\\\\|?*'\nvar INVALID_NAME_REGEXP = new RegExp('['+INVALID_NAME.replace('\\\\','\\\\\\\\')+']','g')\nvar stage = null\nvar MODIFIER = {\n  shift:  0x02000000,\n  ctrl:   0x04000000,\n  alt:    0x08000000,\n  meta:   0x10000000,\n  keypad: 0x20000000\n}\n\nvar keyframeCount = 0\nvar intervalTitle = 0\nvar PageClip = {}\nvar clipDrag = m_drag({});\nvar startClip = clipDrag('clip', function(e, data, root){\n  if(stage!=CLIPPING) return;\n  PageClip.top = data.oy\n  PageClip.left = data.ox\n  PageClip.width = -data.dx\n  PageClip.height = -data.dy\n  applyPageClip()\n\n}, function(e,data){\n  if(stage!=CLIPPING) return;\n  console.log(PageClip)\n  ws._send({ type:'page_clip', data:PageClip })\n  stage = null\n})\nfunction applyPageClip(){\n  $('#clipArea').show().css({ top:PageClip.top+'px', left:PageClip.left+'px', width:PageClip.width+'px', height:PageClip.height+'px' })\n}\n\n$('#phantom').on('mousedown', startClip)\n\nws= new WebSocket('ws://'+ window.location.hostname +':1280')\nws.onopen = function (e) {\n  ws.onmessage = function (message) {\n\n      var msg; try{ msg=JSON.parse(message.data) }catch(e){ msg=message.data }\n      if(typeof msg!='object'||!msg) return;\n\n      switch(msg.type){\n\n        case 'broadcast':\n\n          break\n      case 'playback':\n        break\n        case 'page_clip':\n          PageClip = msg.data\n          applyPageClip()\n\n          break\n        case 'command':\n          try{\n            msg.result = eval( msg.data )\n          }catch(e){\n            msg.result = e.stack\n          }\n          delete msg.data\n          msg.type = 'command_result'\n          ws._send( msg )\n\n          break\n        case 'client_error':\n          console.error( msg.data.msg, JSON.stringify(msg.data.stack) )\n\n          break\n        case 'client_console':\n          console.log( msg.data )\n\n          break\n        case 'command_result':\n          if(msg.__id){\n            var cb = WS_CALLBACK[msg.__id]\n            delete WS_CALLBACK[msg.__id]\n            cb && cb(msg)\n          }\n\n          break\n        case 'window_resize':\n        case 'window_scroll':\n          $(window).scrollLeft(msg.data.scrollX)\n          $(window).scrollTop(msg.data.scrollY)\n          $(window).width(msg.data.width)\n          $(window).height(msg.data.height)\n\n          break\n        case 'render':\n          $('.imgCon').width( msg.meta.size.width ).height( msg.meta.size.height )\n          $('.screenshot').attr('src', 'data:image/png;base64,'+ msg.data)\n          // FIXME: phantom don't have scrollbar but browser's scrollbar will reduce window size\n          // if( msg.meta.count==0 ) $(window).trigger('resize')\n          break\n\n        default:\n\n          break\n      }\n\n  }\n  ws.onclose = function (code, reason, bClean) {\n    console.log(\"ws error: \", code, reason);\n  }\n  ws._send({type:'connection', meta:'server', name:'client'})\n}\n\nvar WS_CALLBACK = {}\nws._send = function(msg, cb){\n  if(ws.readyState!=1) return;\n  if(typeof cb=='function'){\n    msg.__id = '_'+Date.now()+Math.random()\n    WS_CALLBACK[msg.__id] = cb\n  }\n  ws.send( typeof msg=='string' ? msg : JSON.stringify(msg) )\n}\nws._send_debounce = util_debounce_throttle._debounce( ws._send, 30)\nws._send_throttle = util_debounce_throttle._throttle( ws._send, 30, true )\nws._send_throttle2 = util_debounce_throttle._throttle( ws._send, 30, false )\n\n\nfunction sc(str){\n  ws._send({type:'command', meta:'server', data:str}, function(msg){\n    if(msg.result!==undefined) console.log(msg.result)\n  })\n}\nfunction cc(str, isPhantom){\n  ws._send({type:'command', meta:isPhantom?'phantom':'client', data:str}, function(msg){\n    if(msg.result!==undefined) console.log(msg.result)\n  })\n}\n\nfunction registerEvent(){\n\n    var lastTitle = ''\n    Mousetrap.bind('ctrl+s', function(e){\n      e.preventDefault()\n      console.log(e)\n    })\n    // Mousetrap.bind('ctrl+p', function(e){\n    //   e.preventDefault()\n    //   if( stage==null ){\n    //     sc(' playBack.play() ')\n    //     stage = PLAYING\n    //   } else if(stage == PLAYING) {\n    //     sc(' playBack.pause() ')\n    //     stage = null\n    //   }\n    // })\n    Mousetrap.bind('ctrl+a', function(e){\n      e.preventDefault()\n      stage = CLIPPING\n    })\n    Mousetrap.bind('f4', function(e){\n      if(!lastTitle) return\n      e.preventDefault()\n      sc(' snapKeyFrame(\"'+ lastTitle +'\") ')\n      keyframeCount++\n    })\n    Mousetrap.bind('ctrl+r', function(e){\n      e.preventDefault()\n      var title\n      if( stage == null ){\n        while(1) {\n          title= lastTitle = window.prompt('which title', lastTitle)||''\n          if(!title) return\n          if( INVALID_NAME_REGEXP.test(title) ) alert('path name cannot contain '+ INVALID_NAME)\n          else break\n        }\n        // document.title = 'recording...'+title\n        flashTitle()\n\n        sc(' startRec(\"'+ title +'\") ')\n        stage = RECORDING\n      }else if(stage == RECORDING) {\n        clearInterval(intervalTitle)\n        document.title = 'ptest'\n        sc(' stopRec() ')\n        stage = null\n        lastTitle = ''\n      }\n    })\n\n    $(window).on('resize', function(e){\n      var data = { scrollX:window.scrollX, scrollY:window.scrollY, width:$(window).width(), height:$(window).height()}\n      ws._send({ type:'window_resize', data:data })\n    })\n    $(window).trigger('resize')\n\n    $(window).on('scroll', function(e){\n      var data = { scrollX:window.scrollX, scrollY:window.scrollY, width:$(window).width(), height:$(window).height()}\n      ws._send({ type:'window_scroll', data:data })\n    })\n    $(window).trigger('scroll')\n\n\n  var eventList = [\n    'keydown',\n    'keyup',\n    'mousedown',\n    'mouseup',\n    'mousemove',\n    // 'click',\n    // 'dblclick',\n  ]\n  eventList.forEach(function(v){\n    $(document).on(v, function(evt){\n      var e = evt.originalEvent\n      var isKey = /key/.test(e.type)\n      if(isKey) e.preventDefault()\n      // if (!isKey && e.target.id!=='phantom') return\n      var modifier = 0\n      if(e.shiftKey) modifier |= MODIFIER.shift\n      if(e.altKey) modifier |= MODIFIER.alt\n      if(e.ctrlKey) modifier |= MODIFIER.ctrl\n      if(e.metaKey) modifier |= MODIFIER.meta\n      var evtData = { type:e.type, which:e.which, modifier:modifier }\n      if(isKey){\n        evtData.keyName = e.key||e.keyIdentifier\n        // console.log(e,  e.key||e.keyIdentifier, e.keyIdentifier )\n      }else{\n        evtData.pageX = e.pageX  // -window.scrollX\n        evtData.pageY = e.pageY  // -window.scrollY\n      }\n      // if(evtData.type=='mousemove') ws._send_throttle({ type:'event_mouse', data:evtData })\n      // else ws._send({ type:'event_mouse', data:evtData })\n      ws._send({ type:isKey?'event_key':'event_mouse', data:evtData })\n    })\n  })\n}\n\n  var _repeat = function(str, n){return new Array(n+1).join(str) }\n\n  function flashTitle(){\n    clearInterval(intervalTitle)\n    var t=0\n    var flash = function(){\n      var tt=_repeat('+', keyframeCount)\n      tt+= t++%2?\"RECORDING...\":\"ptest...\"\n      document.title=tt\n    }\n    intervalTitle = setInterval(flash, 1000)\n  }\n\n\n\n$(function(){\n  registerEvent()\n  document.body.focus()\n})\n\nwindow.onunload = function(){\n  $.ajax({ type:'GET', url: window.location.protocol+ '//'+ window.location.host + '/reload', async:false })\n}\n\n</script>\n</body>\n</html>\n" 0 1 ... 1 9 ... 9 17 ... 17 21 ... 21 24 ... 24 28 ... 28 31 ... 31 35 ... 35 36 ... 36 43 ... 43 44 ... 44 51 ... 51 56 ... 56 60 ... 60 61 ... 61 64 ... 64 65 ... 65 71 ... 71 72 ... 72 76 ... 76 77 ... 77 104 ... 104 108 ... 108 109 ... 109 114 ... 114 115 ... 115 127 ... 127 129 ... 129 134 ... 134 137 ... 137 142 ... 142 143 ... 143 147 ... 147 148 ... 148 158 ... 158 160 ... 160 161 ... 161 162 ... 162 165 ... 165 171 ... 171 178 ... 178 185 ... 185 190 ... 190 191 ... 191 192 ... 192 212 ... 212 213 ... 213 216 ... 216 235 ... 235 245 ... 245 261 ... 261 271 ... 271 286 ... 286 296 ... 296 307 ... 307 317 ... 317 331 ... 331 339 ... 339 340 ... 340 342 ... 342 350 ... 350 351 ... 351 354 ... 354 362 ... 362 374 ... 374 375 ... 375 376 ... 376 385 ... 385 386 ... 386 389 ... 389 397 ... 397 411 ... 411 418 ... 418 429 ... 429 435 ... 435 448 ... 448 452 ... 452 456 ... 456 463 ... 463 473 ... 473 487 ... 487 495 ... 495 496 ... 496 497 ... 497 505 ... 505 506 ... 506 507 ... 507 509 ... 509 517 ... 517 531 ... 531 536 ... 536 546 ... 546 552 ... 552 562 ... 562 564 ... 564 576 ... 576 579 ... 579 580 ... 580 582 ... 582 585 ... 585 591 ... 591 604 ... 604 613 ... 613 617 ... 617 620 ... 620 626 ... 626 632 ... 632 642 ... 642 651 ... 651 655 ... 655 660 ... 660 666 ... 666 671 ... 671 679 ... 679 680 ... 680 681 ... 681 690 ... 690 691 ... 691 694 ... 694 700 ... 700 706 ... 706 712 ... 712 720 ... 720 721 ... 721 722 ... 722 731 ... 731 732 ... 732 735 ... 735 739 ... 739 745 ... 745 750 ... 750 758 ... 758 759 ... 759 761 ... 761 763 ... 763 768 ... 768 772 ... 772 776 ... 776 779 ... 779 783 ... 783 787 ... 787 790 ... 790 791 ... 791 793 ... 793 794 ... 794 803 ... 803 808 ... 808 811 ... 811 812 ... 812 817 ... 817 818 ... 818 826 ... 826 827 ... 827 840 ... 840 841 ... 841 856 ... 856 857 ... 857 868 ... 868 869 ... 869 884 ... 884 908 ... 908 911 ... 911 912 ... 912 925 ... 925 926 ... 926 941 ... 941 942 ... 942 953 ... 953 954 ... 954 969 ... 969 992 ... 992 997 ... 997 998 ... 998 1010 ... 1010 1015 ... 1015 1018 ... 1018 1023 ... 1023 1026 ... 1026 1027 ... 1027 1029 ... 1029 1030 ... 1030 1040 ... 1040 1047 ... 1047 1050 ... 1050 1051 ... 1051 1056 ... 1056 1057 ... 1057 1075 ... 1075 1078 ... 1078 1081 ... 1081 1088 ... 1088 1091 ... 1091 1092 ... 1092 1097 ... 1097 1098 ... 1098 1116 ... 1116 1119 ... 1119 1122 ... 1122 1129 ... 1129 1132 ... 1132 1133 ... 1133 1138 ... 1138 1139 ... 1139 1157 ... 1157 1160 ... 1160 1163 ... 1163 1165 ... 1165 1170 ... 1170 1173 ... 1173 1174 ... 1174 1179 ... 1179 1180 ... 1180 1198 ... 1198 1201 ... 1201 1204 ... 1204 1206 ... 1206 1210 ... 1210 1213 ... 1213 1217 ... 1217 1220 ... 1220 1223 ... 1223 1226 ... 1226 1227 ... 1227 1229 ... 1229 1230 ... 1230 1239 ... 1239 1242 ... 1242 1245 ... 1245 1249 ... 1249 1255 ... 1255 1256 ... 1256 1260 ... 1260 1261 ... 1261 1278 ... 1278 1279 ... 1279 1282 ... 1282 1283 ... 1283 1322 ... 1322 1325 ... 1325 1331 ... 1331 1334 ... 1334 1340 ... 1340 1341 ... 1341 1345 ... 1345 1346 ... 1346 1363 ... 1363 1364 ... 1364 1367 ... 1367 1368 ... 1368 1388 ... 1388 1391 ... 1391 1397 ... 1397 1400 ... 1400 1406 ... 1406 1407 ... 1407 1411 ... 1411 1412 ... 1412 1429 ... 1429 1430 ... 1430 1433 ... 1433 1434 ... 1434 1450 ... 1450 1453 ... 1453 1459 ... 1459 1462 ... 1462 1468 ... 1468 1469 ... 1469 1473 ... 1473 1474 ... 1474 1491 ... 1491 1492 ... 1492 1495 ... 1495 1496 ... 1496 1515 ... 1515 1518 ... 1518 1524 ... 1524 1526 ... 1526 1527 ... 1527 1533 ... 1533 1534 ... 1534 1538 ... 1538 1539 ... 1539 1556 ... 1556 1557 ... 1557 1560 ... 1560 1561 ... 1561 1631 ... 1631 1634 ... 1634 1640 ... 1640 1641 ... 1641 1642 ... 1642 1643 ... 1643 1649 ... 1649 1650 ... 1650 1654 ... 1654 1655 ... 1655 1672 ... 1672 1674 ... 1674 1676 ... 1676 1714 ... 1714 1716 ... 1716 1718 ... 1718 1721 ... 1721 1734 ... 1734 1751 ... 1751 1763 ... 1763 1778 ... 1778 1791 ... 1791 1807 ... 1807 1808 ... 1808 1811 ... 1811 1812 ... 1812 1824 ... 1824 1827 ... 1827 1831 ... 1831 1832 ... 1832 1833 ... 1833 1834 ... 1834 1838 ... 1838 1843 ... 1843 1846 ... 1846 1850 ... 1850 1851 ... 1851 1858 ... 1858 1859 ... 1859 1862 ... 1862 1863 ... 1863 1882 ... 1882 1885 ... 1885 1888 ... 1888 1889 ... 1889 1895 ... 1895 1896 ... 1896 1899 ... 1899 1913 ... 1913 1920 ... 1920 1921 ... 1921 1922 ... 1922 1923 ... 1923 1924 ... 1924 1925 ... 1925 1926 ... 1926 1927 ... 1927 1928 ... 1928 1929 ... 1929 1930 ... 1930 1931 ... 1931 1932 ... 1932 1933 ... 1933 1934 ... 1934 1937 ... 1937 1938 ... 1938 1941 ... 1941 1942 ... 1942 1943 ... 1943 1946 ... 1946 1947 ... 1947 1952 ... 1952 1955 ... 1955 1959 ... 1959 1960 ... 1960 1963 ... 1963 1964 ... 1964 1972 ... 1972 1975 ... 1975 1976 ... 1976 1979 ... 1979 1984 ... 1984 2001 ... 2001 2005 ... 2005 2023 ... 2023 2026 ... 2026 2045 ... 2045 2049 ... 2049 2067 ... 2067 2073 ... 2073 2086 ... 2086 2087 ... 2087 2089 ... 2089 2092 ... 2092 2093 ... 2093 2106 ... 2106 2111 ... 2111 2114 ... 2114 2115 ... 2115 2128 ... 2128 2133 ... 2133 2136 ... 2136 2137 ... 2137 2145 ... 2145 2148 ... 2148 2149 ... 2149 2150 ... 2150 2151 ... 2151 2154 ... 2154 2155 ... 2155 2163 ... 2163 2166 ... 2166 2172 ... 2172 2173 ... 2173 2174 ... 2174 2175 ... 2175 2176 ... 2176 2178 ... 2178 2181 ... 2181 2182 ... 2182 2191 ... 2191 2194 ... 2194 2202 ... 2202 2203 ... 2203 2209 ... 2209 2211 ... 2211 2219 ... 2219 2220 ... 2220 2221 ... 2221 2223 ... 2223 2227 ... 2227 2229 ... 2229 2233 ... 2233 2234 ... 2234 2238 ... 2238 2240 ... 2240 2258 ... 2258 2264 ... 2264 2277 ... 2277 2280 ... 2280 2288 ... 2288 2290 ... 2290 2302 ... 2302 2306 ... 2306 2314 ... 2314 2316 ... 2316 2328 ... 2328 2333 ... 2333 2342 ... 2342 2344 ... 2344 2356 ... 2356 2362 ... 2362 2371 ... 2371 2373 ... 2373 2376 ... 2376 2389 ... 2389 2396 ... 2396 2404 ... 2404 2405 ... 2405 2406 ... 2406 2407 ... 2407 2411 ... 2411 2414 ... 2414 2416 ... 2416 2418 ... 2418 2436 ... 2436 2442 ... 2442 2454 ... 2454 2457 ... 2457 2473 ... 2473 2478 ... 2478 2479 ... 2479 2481 ... 2481 2485 ... 2485 2486 ... 2486 2497 ... 2497 2499 ... 2499 2503 ... 2503 2526 ... 2526 2530 ... 2530 2534 ... 2534 2542 ... 2542 2543 ... 2543 2556 ... 2556 2558 ... 2558 2560 ... 2560 2562 ... 2562 2563 ... 2563 2564 ... 2564 2575 ... 2575 2577 ... 2577 2581 ... 2581 2584 ... 2584 2587 ... 2587 2588 ... 2588 2590 ... 2590 2593 ... 2593 2603 ... 2603 2606 ... 2606 2607 ... 2607 2611 ... 2611 2613 ... 2613 2617 ... 2617 2627 ... 2627 2631 ... 2631 2632 ... 2632 2636 ... 2636 2638 ... 2638 2643 ... 2643 2653 ... 2653 2658 ... 2658 2659 ... 2659 2663 ... 2663 2665 ... 2665 2671 ... 2671 2681 ... 2681 2687 ... 2687 2688 ... 2688 2692 ... 2692 2699 ... 2699 2700 ... 2700 2701 ... 2701 2711 ... 2711 2713 ... 2713 2715 ... 2715 2716 ... 2716 2727 ... 2727 2745 ... 2745 2748 ... 2748 2749 ... 2749 2758 ... 2758 2759 ... 2759 2766 ... 2766 2775 ... 2775 2783 ... 2783 2784 ... 2784 2792 ... 2792 2794 ... 2794 2801 ... 2801 2803 ... 2803 2806 ... 2806 2812 ... 2812 2815 ... 2815 2823 ... 2823 2825 ... 2825 2826 ... 2826 2828 ... 2828 2830 ... 2830 2835 ... 2835 2844 ... 2844 2847 ... 2847 2855 ... 2855 2856 ... 2856 2857 ... 2857 2864 ... 2864 2865 ... 2865 2866 ... 2866 2867 ... 2867 2868 ... 2868 2869 ... 2869 2875 ... 2875 2878 ... 2878 2879 ... 2879 2882 ... 2882 2884 ... 2884 2887 ... 2887 2888 ... 2888 2898 ... 2898 2903 ... 2903 2904 ... 2904 2912 ... 2912 2916 ... 2916 2917 ... 2917 2918 ... 2918 2919 ... 2919 2924 ... 2924 2925 ... 2925 2926 ... 2926 2927 ... 2927 2928 ... 2928 2941 ... 2941 2945 ... 2945 2946 ... 2946 2947 ... 2947 2948 ... 2948 2954 ... 2954 2956 ... 2956 2957 ... 2957 2963 ... 2963 2969 ... 2969 2977 ... 2977 2979 ... 2979 2980 ... 2980 2983 ... 2983 2984 ... 2984 2985 ... 2985 2991 ... 2991 2994 ... 2994 3000 ... 3000 3006 ... 3006 3007 ... 3007 3011 ... 3011 3015 ... 3015 3016 ... 3016 3017 ... 3017 3018 ... 3018 3019 ... 3019 3027 ... 3027 3031 ... 3031 3032 ... 3032 3043 ... 3043 3056 ... 3056 3061 ... 3061 3062 ... 3062 3068 ... 3068 3072 ... 3072 3073 ... 3073 3082 ... 3082 3083 ... 3083 3084 ... 3084 3085 ... 3085 3093 ... 3093 3098 ... 3098 3099 ... 3099 3107 ... 3107 3111 ... 3111 3112 ... 3112 3113 ... 3113 3122 ... 3122 3123 ... 3123 3125 ... 3125 3150 ... 3150 3154 ... 3154 3155 ... 3155 3165 ... 3165 3178 ... 3178 3179 ... 3179 3180 ... 3180 3181 ... 3181 3192 ... 3192 3197 ... 3197 3198 ... 3198 3206 ... 3206 3210 ... 3210 3211 ... 3211 3220 ... 3220 3222 ... 3222 3232 ... 3232 3235 ... 3235 3236 ... 3236 3253 ... 3253 3259 ... 3259 3262 ... 3262 3266 ... 3266 3267 ... 3267 3272 ... 3272 3276 ... 3276 3277 ... 3277 3278 ... 3278 3289 ... 3289 3290 ... 3290 3295 ... 3295 3296 ... 3296 3297 ... 3297 3298 ... 3298 3299 ... 3299 3316 ... 3316 3322 ... 3322 3327 ... 3327 3332 ... 3332 3333 ... 3333 3343 ... 3343 3344 ... 3344 3345 ... 3345 3355 ... 3355 3361 ... 3361 3366 ... 3366 3370 ... 3370 3371 ... 3371 3385 ... 3385 3389 ... 3389 3392 ... 3392 3408 ... 3408 3422 ... 3422 3427 ... 3427 3428 ... 3428 3433 ... 3433 3434 ... 3434 3446 ... 3446 3451 ... 3451 3460 ... 3460 3464 ... 3464 3465 ... 3465 3479 ... 3479 3499 ... 3499 3504 ... 3504 3505 ... 3505 3510 ... 3510 3514 ... 3514 3515 ... 3515 3518 ... 3518 3525 ... 3525 3534 ... 3534 3535 ... 3535 3539 ... 3539 3543 ... 3543 3544 ... 3544 3549 ... 3549 3550 ... 3550 3551 ... 3551 3552 ... 3552 3553 ... 3553 3564 ... 3564 3569 ... 3569 3570 ... 3570 3578 ... 3578 3582 ... 3582 3583 ... 3583 3599 ... 3599 3601 ... 3619 3622 ... 3628 3632 ... 3646 3651 ... 3660 3664 ... 3665 3681 ... 3693 3695 ... 3700 3704 ... 3719 3722 ... 3723 3725 ... 3744 3748 ... 3762 3768 ... 3785 3789 ... 3809 3811 ... 3840 3845 ... 3854 3858 ... 3859 3874 ... 3884 3888 ... 3889 3904 ... 3916 3917 ... 3926 3936 ... 3941 3945 ... 3946 3953 ... 3965 3966 ... 3975 3984 ... 3989 3993 ... 3994 4001 ... 4013 4014 ... 4023 4028 ... 4033 4037 ... 4038 4043 ... 4055 4056 ... 4065 4071 ... 4076 4080 ... 4081 4087 ... 4100 4105 ... 4114 4118 ... 4119 4127 ... 4139 4140 ... 4141 4150 ... 4152 4157 ... 4163 4167 ... 4168 4172 ... 4173 4178 ... 4181 4187 ... 4193 4197 ... 4198 4202 ... 4203 4209 ... 4222 4223 ... 4224 4237 ... 4239 4243 ... 4244 4249 ... 4251 4275 ... 4281 4285 ... 4297 4318 ... 4318 4348 ... 4348 4384 ... 4394 4439 ... 4439 4447 ... 4447 4449 ... 4459 4464 ... 4474 4481 ... 4494 4499 ... 4518 4525 ... 4528 4536 ... 4538 4542 ... 4544 4550 ... 4552 4558 ... 4574 4577 ... 4578 4590 ... 4616 4621 ... 4623 4627 ... 4628 4640 ... 4642 4646 ... 4647 4655 ... 4657 4661 ... 4662 4670 ... 4676 4679 ... 4680 4691 ... 4700 4705 ... 4708 4716 ... 4717 4720 ... 4722 4724 ... 4729 4731 ... 4735 4745 ... 4750 4756 ... 4760 4762 ... 4763 4769 ... 4774 4784 ... 4795 4799 ... 4802 4805 ... 4811 4814 ... 4822 4828 ... 4851 4855 ... 4871 4875 ... 4877 4883 ... 4889 4897 ... 4911 4920 ... 4933 4947 ... 4973 4982 ... 4987 4992 ... 5001 5015 ... 5041 5050 ... 5055 5060 ... 5066 5070 ... 5076 5091 ... 5117 5126 ... 5131 5136 ... 5142 5147 ... 5152 5160 ... 5161 5163 ... 5164 5167 ... 5175 5180 ... 5182 5186 ... 5187 5196 ... 5198 5202 ... 5203 5211 ... 5213 5217 ... 5224 5232 ... 5233 5236 ... 5243 5245 ... 5250 5256 ... 5259 5268 ... 5278 5281 ... 5286 5292 ... 5301 5309 ... 5310 5312 ... 5313 5316 ... 5318 5327 ... 5335 5340 ... 5342 5346 ... 5347 5356 ... 5358 5362 ... 5373 5382 ... 5383 5391 ... 5393 5397 ... 5404 5412 ... 5413 5416 ... 5423 5425 ... 5430 5436 ... 5439 5448 ... 5458 5461 ... 5466 5472 ... 5482 5490 ... 5491 5504 ... 5513 5516 ... 5517 5526 ... 5529 5531 ... 5546 5550 ... 5551 5559 ... 5561 5569 ... 5570 5571 ... 5582 5596 ... 5613 5616 ... 5631 5649 ... 5649 5657 ... 5657 5670 ... 5670 5672 ... 5676 5700 ... 5704 5726 ... 5726 5728 ... 5732 5742 ... 5742 5761 ... 5761 5763 ... 5767 5790 ... 5794 5829 ... 5833 5843 ... 5843 5863 ... 5863 5865 ... 5869 5889 ... 5893 5900 ... 5904 5910 ... 5924 5928 ... 5929 5937 ... 5939 5947 ... 5948 5949 ... 5960 5974 ... 6021 6025 ... 6026 6030 ... 6032 6040 ... 6041 6042 ... 6051 6053 ... 6054 6055 ... 6066 6072 ... 6081 6095 ... 6104 6106 ... 6107 6122 ... 6122 6124 ... 6137 6139 ... 6139 6142 ... 6187 6191 ... 6192 6200 ... 6202 6210 ... 6211 6212 ... 6223 6237 ... 6246 6249 ... 6250 6255 ... 6262 6264 ... 6275 6279 ... 6291 6296 ... 6338 6344 ... 6345 6358 ... 6372 6374 ... 6385 6387 ... 6388 6389 ... 6396 6402 ... 6413 6415 ... 6437 6441 ... 6451 6456 ... 6457 6484 ... 6510 6514 ... 6515 6520 ... 6539 6559 ... 6559 6573 ... 6573 6580 ... 6588 6598 ... 6610 6612 ... 6613 6624 ... 6624 6626 ... 6635 6637 ... 6637 6640 ... 6675 6679 ... 6680 6682 ... 6713 6726 ... 6759 6764 ... 6767 6774 ... 6783 6785 ... 6786 6799 ... 6817 6821 ... 6842 6844 ... 6865 6866 ... 6875 6877 ... 6878 6886 ... 6888 6896 ... 6897 6898 ... 6907 6910 ... 6911 6915 ... 6920 6927 ... 6935 6942 ... 6944 6951 ... 6959 6966 ... 6968 6973 ... 6974 6975 ... 6984 6989 ... 6993 6999 ... 7000 7001 ... 7010 7016 ... 7029 7034 ... 7037 7041 ... 7042 7057 ... 7059 7063 ... 7083 7084 ... 7093 7100 ... 7101 7109 ... 7116 7117 ... 7126 7128 ... 7129 7137 ... 7139 7147 ... 7148 7149 ... 7158 7161 ... 7162 7166 ... 7171 7178 ... 7186 7193 ... 7195 7202 ... 7210 7217 ... 7219 7224 ... 7225 7226 ... 7235 7240 ... 7244 7250 ... 7251 7252 ... 7261 7267 ... 7280 7285 ... 7288 7292 ... 7293 7308 ... 7310 7314 ... 7334 7335 ... 7344 7351 ... 7352 7360 ... 7366 7369 ... 7370 7379 ... 7388 7397 ... 7403 7410 ... 7416 7427 ... 7433 7442 ... 7448 7459 ... 7465 7468 ... 7468 7475 ... 7475 7477 ... 7481 7484 ... 7484 7494 ... 7494 7496 ... 7512 7519 ... 7520 7528 ... 7529 7530 ... 7537 7538 ... 7549 7551 ... 7555 7563 ... 7564 7567 ... 7576 7579 ... 7580 7581 ... 7588 7601 ... 7608 7611 ... 7612 7617 ... 7620 7621 ... 7621 7624 ... 7624 7625 ... 7626 7630 ... 7633 7637 ... 7645 7647 ... 7657 7671 ... 7680 7711 ... 7711 7720 ... 7720 7729 ... 7735 7738 ... 7739 7747 ... 7758 7760 ... 7763 7771 ... 7794 7799 ... 7806 7808 ... 7811 7817 ... 7840 7843 ... 7850 7852 ... 7855 7862 ... 7885 7889 ... 7896 7898 ... 7901 7908 ... 7931 7935 ... 7942 7945 ... 7946 7953 ... 7958 7962 ... 7965 7969 ... 7971 7976 ... 7979 7984 ... 7986 7994 ... 8012 8014 ... 8039 8046 ... 8051 8054 ... 8058 8071 ... 8080 8141 ... 8148 8152 ... 8170 8175 ... 8180 8185 ... 8187 8206 ... 8222 8227 ... 8232 8237 ... 8239 8258 ... 8272 8292 ... 8292 8303 ... 8303 8323 ... 8323 8325 ... 8325 8329 ... 8329 8330 ... 8330 8343 ... 8343 8361 ... 8367 8384 ... 8384 8386 ... 8386 8390 ... 8390 8391 ... 8391 8404 ... 8404 8422 ... 8431 8436 ... 8439 8443 ... 8450 8461 ... 8462 8475 ... 8477 8481 ... 8510 8513 ... 8514 8521 ... 8524 8532 ... 8533 8536 ... 8538 8539 ... 8541 8547 ... 8548 8551 ... 8552 8557 ... 8563 8567 ... 8578 8586 ... 8587 8597 ... 8605 8618 ... 8638 8641 ... 8642 8643 ... 8650 8653 ... 8654 8659 ... 8662 8670 ... 8680 8683 ... 8684 8686 ... 8687 8694 ... 8695 8698 ... 8732 8746 ... 8747 8757 ... 8773 8778 ... 8808 8819 ... 8840 8841 ... 8842 8850 ... 8856 8869 ... 8883 8887 ... 8888 8893 ... 8907 8915 ... 8918 8926 ... 8934 8938 ... 8941 8945 ... 8946 8951 ... 8953 8956 ... 8965 8973 ... 8974 8982 ... 8984 8988 ... 8997 9005 ... 9006 9010 ... 9013 9022 ... 9024 9029 ... 9030 9035 ... 9043 9044 ... 9044 9050 ... 9050 9051 ... 9053 9054 ... 9054 9058 ... 9058 9059 ... 9061 9062 ... 9062 9066 ... 9066 9067 ...)))])) (f closure (t) (_err _data)) t) (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner (list err) nil))) (funcall f err nil))))
  (let ((buffer (current-buffer)) (retrying nil) callback runner) (setq callback (function (lambda (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner ... nil))) (funcall f err nil))))) (setq runner (function (lambda (err data) (save-current-buffer (set-buffer buffer) (cond ((and err ... ...) (setq retrying t) (let ... ... ...)) (t (funcall f err data))))))) (tern-find-server callback))
  tern-run-request((closure (t) (_err _data)) ((files . [((type . "full") (name . "client.html") (text . #("<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\" />\n<link rel=\"icon\" href=\"data:;base64,iVBORw0KGgo=\" />\n<title>ptest client</title>\n<style type=\"text/css\">\n*{\n  margin: 0;\n  padding: 0;\n}\n.imgCon,\n.screenshot{\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  pointer-events: none;\n}\n\n#phantom{\n  position: relative;\n}\n#clipArea{\n  position: absolute;\n  z-index: 99999;\n  border: 1px dashed #c00;\n  display: none;\n  pointer-events: none;\n}\n.clipBar{\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  /*background: red;*/\n  cursor: pointer;\n}\n.clipBar0{\n  top:0;\n  height: 10px;\n}\n.clipBar1{\n  right:0;\n  width: 10px;\n}\n.clipBar2{\n  bottom:0;\n  height: 10px;\n}\n.clipBar3{\n  left:0;\n  width: 10px;\n}\n\n</style>\n</head>\n<body>\n\n<div id=\"phantom\">\n  <div class=\"imgCon\" onselectstart=\"return false;\" ondragstart=\"return false;\" contenteditable=false><img onselectstart=\"return false;\" ondragstart=\"return false;\" contenteditable=false class=\"screenshot\" /></div>\n  <div id=\"clipArea\">\n    <div class=\"clipBar clipBar0\"></div>\n    <div class=\"clipBar clipBar1\"></div>\n    <div class=\"clipBar clipBar2\"></div>\n    <div class=\"clipBar clipBar3\"></div>\n  </div>\n</div>\n<div id=\"console\"></div>\n\n<script type=\"text/javascript\" src=\"./node_modules/mithril/mithril.min.js\"></script>\n<script type=\"text/javascript\" src=\"./js/jquery.min.js\"></script>\n<script type=\"text/javascript\" src=\"./js/m_drag.js\"></script>\n<script type=\"text/javascript\" src=\"./js/mousetrap.js\"></script>\n<script type=\"text/javascript\" src=\"./node_modules/util_debounce_throttle/dist/util_debounce_throttle.js\"></script>\n<script type=\"text/javascript\">\n/*\nCopyright @ Michael Yang\nLicense MIT\n*/\n\nvar RECORDING = 'STAGE_RECORDING', PLAYING = 'STAGE_PLAYING', CLIPPING = 'STAGE_CLIPPING'\nvar INVALID_NAME = '<>:\"\\\\|?*'     // '<>:\"/\\\\|?*'\nvar INVALID_NAME_REGEXP = new RegExp('['+INVALID_NAME.replace('\\\\','\\\\\\\\')+']','g')\nvar stage = null\nvar MODIFIER = {\n  shift:  0x02000000,\n  ctrl:   0x04000000,\n  alt:    0x08000000,\n  meta:   0x10000000,\n  keypad: 0x20000000\n}\n\nvar keyframeCount = 0\nvar intervalTitle = 0\nvar PageClip = {}\nvar clipDrag = m_drag({});\nvar startClip = clipDrag('clip', function(e, data, root){\n  if(stage!=CLIPPING) return;\n  PageClip.top = data.oy\n  PageClip.left = data.ox\n  PageClip.width = -data.dx\n  PageClip.height = -data.dy\n  applyPageClip()\n\n}, function(e,data){\n  if(stage!=CLIPPING) return;\n  console.log(PageClip)\n  ws._send({ type:'page_clip', data:PageClip })\n  stage = null\n})\nfunction applyPageClip(){\n  $('#clipArea').show().css({ top:PageClip.top+'px', left:PageClip.left+'px', width:PageClip.width+'px', height:PageClip.height+'px' })\n}\n\n$('#phantom').on('mousedown', startClip)\n\nws= new WebSocket('ws://'+ window.location.hostname +':1280')\nws.onopen = function (e) {\n  ws.onmessage = function (message) {\n\n      var msg; try{ msg=JSON.parse(message.data) }catch(e){ msg=message.data }\n      if(typeof msg!='object'||!msg) return;\n\n      switch(msg.type){\n\n        case 'broadcast':\n\n          break\n      case 'playback':\n        break\n        case 'page_clip':\n          PageClip = msg.data\n          applyPageClip()\n\n          break\n        case 'command':\n          try{\n            msg.result = eval( msg.data )\n          }catch(e){\n            msg.result = e.stack\n          }\n          delete msg.data\n          msg.type = 'command_result'\n          ws._send( msg )\n\n          break\n        case 'client_error':\n          console.error( msg.data.msg, JSON.stringify(msg.data.stack) )\n\n          break\n        case 'client_console':\n          console.log( msg.data )\n\n          break\n        case 'command_result':\n          if(msg.__id){\n            var cb = WS_CALLBACK[msg.__id]\n            delete WS_CALLBACK[msg.__id]\n            cb && cb(msg)\n          }\n\n          break\n        case 'window_resize':\n        case 'window_scroll':\n          $(window).scrollLeft(msg.data.scrollX)\n          $(window).scrollTop(msg.data.scrollY)\n          $(window).width(msg.data.width)\n          $(window).height(msg.data.height)\n\n          break\n        case 'render':\n          $('.imgCon').width( msg.meta.size.width ).height( msg.meta.size.height )\n          $('.screenshot').attr('src', 'data:image/png;base64,'+ msg.data)\n          // FIXME: phantom don't have scrollbar but browser's scrollbar will reduce window size\n          // if( msg.meta.count==0 ) $(window).trigger('resize')\n          break\n\n        default:\n\n          break\n      }\n\n  }\n  ws.onclose = function (code, reason, bClean) {\n    console.log(\"ws error: \", code, reason);\n  }\n  ws._send({type:'connection', meta:'server', name:'client'})\n}\n\nvar WS_CALLBACK = {}\nws._send = function(msg, cb){\n  if(ws.readyState!=1) return;\n  if(typeof cb=='function'){\n    msg.__id = '_'+Date.now()+Math.random()\n    WS_CALLBACK[msg.__id] = cb\n  }\n  ws.send( typeof msg=='string' ? msg : JSON.stringify(msg) )\n}\nws._send_debounce = util_debounce_throttle._debounce( ws._send, 30)\nws._send_throttle = util_debounce_throttle._throttle( ws._send, 30, true )\nws._send_throttle2 = util_debounce_throttle._throttle( ws._send, 30, false )\n\n\nfunction sc(str){\n  ws._send({type:'command', meta:'server', data:str}, function(msg){\n    if(msg.result!==undefined) console.log(msg.result)\n  })\n}\nfunction cc(str, isPhantom){\n  ws._send({type:'command', meta:isPhantom?'phantom':'client', data:str}, function(msg){\n    if(msg.result!==undefined) console.log(msg.result)\n  })\n}\n\nfunction registerEvent(){\n\n    var lastTitle = ''\n    Mousetrap.bind('ctrl+s', function(e){\n      e.preventDefault()\n      console.log(e)\n    })\n    // Mousetrap.bind('ctrl+p', function(e){\n    //   e.preventDefault()\n    //   if( stage==null ){\n    //     sc(' playBack.play() ')\n    //     stage = PLAYING\n    //   } else if(stage == PLAYING) {\n    //     sc(' playBack.pause() ')\n    //     stage = null\n    //   }\n    // })\n    Mousetrap.bind('ctrl+a', function(e){\n      e.preventDefault()\n      stage = CLIPPING\n    })\n    Mousetrap.bind('f4', function(e){\n      if(!lastTitle) return\n      e.preventDefault()\n      sc(' snapKeyFrame(\"'+ lastTitle +'\") ')\n      keyframeCount++\n    })\n    Mousetrap.bind('ctrl+r', function(e){\n      e.preventDefault()\n      var title\n      if( stage == null ){\n        while(1) {\n          title= lastTitle = window.prompt('which title', lastTitle)||''\n          if(!title) return\n          if( INVALID_NAME_REGEXP.test(title) ) alert('path name cannot contain '+ INVALID_NAME)\n          else break\n        }\n        // document.title = 'recording...'+title\n        flashTitle()\n\n        sc(' startRec(\"'+ title +'\") ')\n        stage = RECORDING\n      }else if(stage == RECORDING) {\n        clearInterval(intervalTitle)\n        document.title = 'ptest'\n        sc(' stopRec() ')\n        stage = null\n        lastTitle = ''\n      }\n    })\n\n    $(window).on('resize', function(e){\n      var data = { scrollX:window.scrollX, scrollY:window.scrollY, width:$(window).width(), height:$(window).height()}\n      ws._send({ type:'window_resize', data:data })\n    })\n    $(window).trigger('resize')\n\n    $(window).on('scroll', function(e){\n      var data = { scrollX:window.scrollX, scrollY:window.scrollY, width:$(window).width(), height:$(window).height()}\n      ws._send({ type:'window_scroll', data:data })\n    })\n    $(window).trigger('scroll')\n\n\n  var eventList = [\n    'keydown',\n    'keyup',\n    'mousedown',\n    'mouseup',\n    'mousemove',\n    // 'click',\n    // 'dblclick',\n  ]\n  eventList.forEach(function(v){\n    $(document).on(v, function(evt){\n      var e = evt.originalEvent\n      var isKey = /key/.test(e.type)\n      if(isKey) e.preventDefault()\n      // if (!isKey && e.target.id!=='phantom') return\n      var modifier = 0\n      if(e.shiftKey) modifier |= MODIFIER.shift\n      if(e.altKey) modifier |= MODIFIER.alt\n      if(e.ctrlKey) modifier |= MODIFIER.ctrl\n      if(e.metaKey) modifier |= MODIFIER.meta\n      var evtData = { type:e.type, which:e.which, modifier:modifier }\n      if(isKey){\n        evtData.keyName = e.key||e.keyIdentifier\n        // console.log(e,  e.key||e.keyIdentifier, e.keyIdentifier )\n      }else{\n        evtData.pageX = e.pageX  // -window.scrollX\n        evtData.pageY = e.pageY  // -window.scrollY\n      }\n      // if(evtData.type=='mousemove') ws._send_throttle({ type:'event_mouse', data:evtData })\n      // else ws._send({ type:'event_mouse', data:evtData })\n      ws._send({ type:isKey?'event_key':'event_mouse', data:evtData })\n    })\n  })\n}\n\n  var _repeat = function(str, n){return new Array(n+1).join(str) }\n\n  function flashTitle(){\n    clearInterval(intervalTitle)\n    var t=0\n    var flash = function(){\n      var tt=_repeat('+', keyframeCount)\n      tt+= t++%2?\"RECORDING...\":\"ptest...\"\n      document.title=tt\n    }\n    intervalTitle = setInterval(flash, 1000)\n  }\n\n\n\n$(function(){\n  registerEvent()\n  document.body.focus()\n})\n\nwindow.onunload = function(){\n  $.ajax({ type:'GET', url: window.location.protocol+ '//'+ window.location.host + '/reload', async:false })\n}\n\n</script>\n</body>\n</html>\n" 0 1 (fontified nil) 1 9 (fontified nil) 9 17 (fontified nil) 17 21 (fontified nil) 21 24 (fontified nil) 24 28 (fontified nil) 28 31 (fontified nil) 31 35 (fontified nil) 35 36 (fontified nil) 36 43 (fontified nil) 43 44 (fontified nil) 44 51 (fontified nil) 51 56 (fontified nil) 56 60 (fontified nil) 60 61 (fontified nil) 61 64 (fontified nil) 64 65 (fontified nil) 65 71 (fontified nil) 71 72 (fontified nil) 72 76 (fontified nil) 76 77 (fontified nil) 77 104 (fontified nil) 104 108 (fontified nil) 108 109 (fontified nil) 109 114 (fontified nil) 114 115 (fontified nil) 115 127 (fontified nil) 127 129 (fontified nil) 129 134 (fontified nil) 134 137 (fontified nil) 137 142 (fontified nil) 142 143 (fontified nil) 143 147 (fontified nil) 147 148 (fontified nil) 148 158 (fontified nil) 158 160 (fontified nil) 160 161 (fontified nil) 161 162 (fontified nil) 162 165 (fontified nil) 165 171 (fontified nil) 171 178 (fontified nil) 178 185 (fontified nil) 185 190 (fontified nil) 190 191 (fontified nil) 191 192 (fontified nil) 192 212 (fontified nil) 212 213 (fontified nil) 213 216 (fontified nil) 216 235 (fontified nil) 235 245 (fontified nil) 245 261 (fontified nil) 261 271 (fontified nil) 271 286 (fontified nil) 286 296 (fontified nil) 296 307 (fontified nil) 307 317 (fontified nil) 317 331 (fontified nil) 331 339 (fontified nil) 339 340 (fontified nil) 340 342 (fontified nil) 342 350 (fontified nil) 350 351 (fontified nil) 351 354 (fontified nil) 354 362 (fontified nil font-lock-face js2-object-property) 362 374 (fontified nil) 374 375 (fontified nil) 375 376 (fontified nil) 376 385 (fontified nil) 385 386 (fontified nil) 386 389 (fontified nil) 389 397 (fontified nil) 397 411 (fontified nil) 411 418 (fontified nil) 418 429 (fontified nil) 429 435 (fontified nil) 435 448 (fontified nil) 448 452 (fontified nil) 452 456 (fontified nil) 456 463 (fontified nil) 463 473 (fontified nil) 473 487 (fontified nil) 487 495 (fontified nil) 495 496 (fontified nil) 496 497 (fontified nil) 497 505 (fontified nil) 505 506 (fontified nil) 506 507 (fontified nil) 507 509 (fontified nil) 509 517 (fontified nil) 517 531 (fontified nil) 531 536 (fontified nil) 536 546 (fontified nil) 546 552 (fontified nil) 552 562 (fontified nil) 562 564 (fontified nil) 564 576 (fontified nil) 576 579 (fontified nil) 579 580 (fontified nil) 580 582 (fontified nil) 582 585 (fontified nil) 585 591 (fontified nil) 591 604 (fontified nil) 604 613 (fontified nil) 613 617 (fontified nil) 617 620 (fontified nil) 620 626 (fontified nil) 626 632 (fontified nil) 632 642 (fontified nil) 642 651 (fontified nil) 651 655 (fontified nil) 655 660 (fontified nil) 660 666 (fontified nil) 666 671 (fontified nil) 671 679 (fontified nil) 679 680 (fontified nil) 680 681 (fontified nil) 681 690 (fontified nil) 690 691 (fontified nil) 691 694 (fontified nil) 694 700 (fontified nil) 700 706 (fontified nil) 706 712 (fontified nil) 712 720 (fontified nil) 720 721 (fontified nil) 721 722 (fontified nil) 722 731 (fontified nil) 731 732 (fontified nil) 732 735 (fontified nil) 735 739 (fontified nil) 739 745 (fontified nil) 745 750 (fontified nil) 750 758 (fontified nil) 758 759 (fontified nil) 759 761 (fontified nil) 761 763 (fontified nil) 763 768 (fontified nil) 768 772 (fontified nil) 772 776 (fontified nil) 776 779 (fontified nil) 779 783 (fontified nil) 783 787 (fontified nil) 787 790 (fontified nil) 790 791 (fontified nil) 791 793 (fontified nil) 793 794 (fontified nil) 794 803 (fontified nil) 803 808 (fontified nil) 808 811 (fontified nil) 811 812 (fontified nil) 812 817 (fontified nil) 817 818 (fontified nil) 818 826 (fontified nil) 826 827 (fontified nil) 827 840 (fontified nil) 840 841 (fontified nil) 841 856 (fontified nil) 856 857 (fontified nil) 857 868 (fontified nil) 868 869 (fontified nil) 869 884 (fontified nil) 884 908 (fontified nil) 908 911 (fontified nil) 911 912 (fontified nil) 912 925 (fontified nil) 925 926 (fontified nil) 926 941 (fontified nil) 941 942 (fontified nil) 942 953 (fontified nil) 953 954 (fontified nil) 954 969 (fontified nil) 969 992 (fontified nil) 992 997 (fontified nil) 997 998 (fontified nil) 998 1010 (fontified nil) 1010 1015 (fontified nil) 1015 1018 (fontified nil) 1018 1023 (fontified nil) 1023 1026 (fontified nil) 1026 1027 (fontified nil) 1027 1029 (fontified nil) 1029 1030 (fontified nil) 1030 1040 (fontified nil) 1040 1047 (fontified nil) 1047 1050 (fontified nil) 1050 1051 (fontified nil) 1051 1056 (fontified nil) 1056 1057 (fontified nil) 1057 1075 (fontified nil) 1075 1078 (fontified nil) 1078 1081 (fontified nil) 1081 1088 (fontified nil) 1088 1091 (fontified nil) 1091 1092 (fontified nil) 1092 1097 (fontified nil) 1097 1098 (fontified nil) 1098 1116 (fontified nil) 1116 1119 (fontified nil) 1119 1122 (fontified nil) 1122 1129 (fontified nil) 1129 1132 (fontified nil) 1132 1133 (fontified nil) 1133 1138 (fontified nil) 1138 1139 (fontified nil) 1139 1157 (fontified nil) 1157 1160 (fontified nil) 1160 1163 (fontified nil) 1163 1165 (fontified nil) 1165 1170 (fontified nil) 1170 1173 (fontified nil) 1173 1174 (fontified nil) 1174 1179 (fontified nil) 1179 1180 (fontified nil) 1180 1198 (fontified nil) 1198 1201 (fontified nil) 1201 1204 (fontified nil) 1204 1206 (fontified nil) 1206 1210 (fontified nil) 1210 1213 (fontified nil) 1213 1217 (fontified nil) 1217 1220 (fontified nil) 1220 1223 (fontified nil) 1223 1226 (fontified nil) 1226 1227 (fontified nil) 1227 1229 (fontified nil) 1229 1230 (fontified nil) 1230 1239 (fontified nil font-lock-face font-lock-string-face) 1239 1242 (fontified nil) 1242 1245 (fontified nil) 1245 1249 (fontified nil) 1249 1255 (fontified nil) 1255 1256 (fontified nil) 1256 1260 (fontified nil) 1260 1261 (fontified nil) 1261 1278 (fontified nil) 1278 1279 (fontified nil) 1279 1282 (fontified nil) 1282 1283 (fontified nil) 1283 1322 (fontified nil) 1322 1325 (fontified nil) 1325 1331 (fontified nil) 1331 1334 (fontified nil) 1334 1340 (fontified nil) 1340 1341 (fontified nil) 1341 1345 (fontified nil) 1345 1346 (fontified nil) 1346 1363 (fontified nil font-lock-face font-lock-string-face) 1363 1364 (fontified nil) 1364 1367 (fontified nil) 1367 1368 (fontified nil) 1368 1388 (fontified nil font-lock-face font-lock-string-face) 1388 1391 (fontified nil) 1391 1397 (fontified nil) 1397 1400 (fontified nil) 1400 1406 (fontified nil) 1406 1407 (fontified nil) 1407 1411 (fontified nil) 1411 1412 (fontified nil) 1412 1429 (fontified nil) 1429 1430 (fontified nil) 1430 1433 (fontified nil) 1433 1434 (fontified nil) 1434 1450 (fontified nil) 1450 1453 (fontified nil) 1453 1459 (fontified nil) 1459 1462 (fontified nil) 1462 1468 (fontified nil) 1468 1469 (fontified nil) 1469 1473 (fontified nil) 1473 1474 (fontified nil) 1474 1491 (fontified nil font-lock-face font-lock-string-face) 1491 1492 (fontified nil) 1492 1495 (fontified nil) 1495 1496 (fontified nil) 1496 1515 (fontified nil font-lock-face font-lock-string-face) 1515 1518 (fontified nil) 1518 1524 (fontified nil) 1524 1526 (fontified nil) 1526 1527 (fontified nil) 1527 1533 (fontified nil) 1533 1534 (fontified nil) 1534 1538 (fontified nil) 1538 1539 (fontified nil) 1539 1556 (fontified nil) 1556 1557 (fontified nil) 1557 1560 (fontified nil) 1560 1561 (fontified nil) 1561 1631 (fontified nil) 1631 1634 (fontified nil) 1634 1640 (fontified nil) 1640 1641 (fontified nil) 1641 1642 (fontified nil) 1642 1643 (fontified nil) 1643 1649 (fontified nil) 1649 1650 (fontified nil) 1650 1654 (fontified nil) 1654 1655 (fontified nil) 1655 1672 (fontified nil font-lock-face font-lock-string-face) 1672 1674 (fontified nil) 1674 1676 (fontified nil font-lock-face font-lock-comment-face) 1676 1714 (fontified nil font-lock-face font-lock-comment-face) 1714 1716 (fontified nil font-lock-face font-lock-comment-face) 1716 1718 (fontified nil) 1718 1721 (fontified nil font-lock-face font-lock-keyword-face) 1721 1734 (fontified nil) 1734 1751 (fontified nil font-lock-face font-lock-string-face) 1751 1763 (fontified nil) 1763 1778 (fontified nil font-lock-face font-lock-string-face) 1778 1791 (fontified nil) 1791 1807 (fontified nil font-lock-face font-lock-string-face) 1807 1808 (fontified nil) 1808 1811 (fontified nil font-lock-face font-lock-keyword-face) 1811 1812 (fontified nil) 1812 1824 (fontified nil font-lock-face font-lock-variable-name-face) 1824 1827 (fontified nil) 1827 1831 (fontified nil font-lock-face font-lock-string-face) 1831 1832 (fontified nil font-lock-face font-lock-string-face) 1832 1833 (fontified nil font-lock-face font-lock-string-face) 1833 1834 (fontified nil font-lock-face font-lock-string-face) 1834 1838 (fontified nil font-lock-face font-lock-string-face) 1838 1843 (fontified nil) 1843 1846 (fontified nil font-lock-face font-lock-comment-face) 1846 1850 (fontified nil font-lock-face font-lock-comment-face) 1850 1851 (fontified nil font-lock-face font-lock-comment-face) 1851 1858 (fontified nil font-lock-face font-lock-comment-face) 1858 1859 (fontified nil font-lock-face font-lock-comment-face) 1859 1862 (fontified nil font-lock-face font-lock-keyword-face) 1862 1863 (fontified nil) 1863 1882 (fontified nil font-lock-face font-lock-variable-name-face) 1882 1885 (fontified nil) 1885 1888 (fontified nil font-lock-face font-lock-keyword-face) 1888 1889 (fontified nil) 1889 1895 (fontified nil font-lock-face js2-function-call) 1895 1896 (fontified nil) 1896 1899 (fontified nil font-lock-face font-lock-string-face) 1899 1913 (fontified nil) 1913 1920 (fontified nil font-lock-face js2-function-call) 1920 1921 (fontified nil) 1921 1922 (fontified nil font-lock-face font-lock-string-face) 1922 1923 (fontified nil font-lock-face font-lock-string-face) 1923 1924 (fontified nil font-lock-face font-lock-string-face) 1924 1925 (fontified nil font-lock-face font-lock-string-face) 1925 1926 (fontified nil) 1926 1927 (fontified nil font-lock-face font-lock-string-face) 1927 1928 (fontified nil font-lock-face font-lock-string-face) 1928 1929 (fontified nil font-lock-face font-lock-string-face) 1929 1930 (fontified nil font-lock-face font-lock-string-face) 1930 1931 (fontified nil font-lock-face font-lock-string-face) 1931 1932 (fontified nil font-lock-face font-lock-string-face) 1932 1933 (fontified nil) 1933 1934 (fontified nil) 1934 1937 (fontified nil font-lock-face font-lock-string-face) 1937 1938 (fontified nil) 1938 1941 (fontified nil font-lock-face font-lock-string-face) 1941 1942 (fontified nil) 1942 1943 (fontified nil) 1943 1946 (fontified nil font-lock-face font-lock-keyword-face) 1946 1947 (fontified nil) 1947 1952 (fontified nil font-lock-face font-lock-variable-name-face) 1952 1955 (fontified nil) 1955 1959 (fontified nil font-lock-face font-lock-constant-face) 1959 1960 (fontified nil) 1960 1963 (fontified nil font-lock-face font-lock-keyword-face) 1963 1964 (fontified nil) 1964 1972 (fontified nil font-lock-face font-lock-variable-name-face) 1972 1975 (fontified nil) 1975 1976 (fontified nil) 1976 1979 (fontified nil) 1979 1984 (fontified nil font-lock-face js2-object-property) 1984 2001 (fontified nil) 2001 2005 (fontified nil font-lock-face js2-object-property) 2005 2023 (fontified nil) 2023 2026 (fontified nil font-lock-face js2-object-property) 2026 2045 (fontified nil) 2045 2049 (fontified nil font-lock-face js2-object-property) 2049 2067 (fontified nil) 2067 2073 (fontified nil font-lock-face js2-object-property) 2073 2086 (fontified nil) 2086 2087 (fontified nil) 2087 2089 (fontified nil) 2089 2092 (fontified nil font-lock-face font-lock-keyword-face) 2092 2093 (fontified nil) 2093 2106 (fontified nil font-lock-face font-lock-variable-name-face) 2106 2111 (fontified nil) 2111 2114 (fontified nil font-lock-face font-lock-keyword-face) 2114 2115 (fontified nil) 2115 2128 (fontified nil font-lock-face font-lock-variable-name-face) 2128 2133 (fontified nil) 2133 2136 (fontified nil font-lock-face font-lock-keyword-face) 2136 2137 (fontified nil) 2137 2145 (fontified nil font-lock-face font-lock-variable-name-face) 2145 2148 (fontified nil) 2148 2149 (fontified nil) 2149 2150 (fontified nil) 2150 2151 (fontified nil) 2151 2154 (fontified nil font-lock-face font-lock-keyword-face) 2154 2155 (fontified nil) 2155 2163 (fontified nil font-lock-face font-lock-variable-name-face) 2163 2166 (fontified nil) 2166 2172 (fontified nil font-lock-face js2-function-call) 2172 2173 (fontified nil) 2173 2174 (fontified nil) 2174 2175 (fontified nil) 2175 2176 (fontified nil) 2176 2178 (fontified nil) 2178 2181 (fontified nil font-lock-face font-lock-keyword-face) 2181 2182 (fontified nil) 2182 2191 (fontified nil font-lock-face font-lock-variable-name-face) 2191 2194 (fontified nil) 2194 2202 (fontified nil font-lock-face js2-function-call) 2202 2203 (fontified nil) 2203 2209 (fontified nil font-lock-face font-lock-string-face) 2209 2211 (fontified nil) 2211 2219 (fontified nil font-lock-face font-lock-keyword-face) 2219 2220 (fontified nil) 2220 2221 (fontified nil font-lock-face js2-function-param) 2221 2223 (fontified nil) 2223 2227 (fontified nil font-lock-face js2-function-param) 2227 2229 (fontified nil) 2229 2233 (fontified nil font-lock-face js2-function-param) 2233 2234 (fontified nil) 2234 2238 (fontified nil) 2238 2240 (fontified nil font-lock-face font-lock-keyword-face) 2240 2258 (fontified nil) 2258 2264 (fontified nil font-lock-face font-lock-keyword-face) 2264 2277 (fontified nil) 2277 2280 (fontified nil font-lock-face js2-object-property) 2280 2288 (fontified nil) 2288 2290 (fontified nil font-lock-face js2-object-property) 2290 2302 (fontified nil) 2302 2306 (fontified nil font-lock-face js2-object-property) 2306 2314 (fontified nil) 2314 2316 (fontified nil font-lock-face js2-object-property) 2316 2328 (fontified nil) 2328 2333 (fontified nil font-lock-face js2-object-property) 2333 2342 (fontified nil) 2342 2344 (fontified nil font-lock-face js2-object-property) 2344 2356 (fontified nil) 2356 2362 (fontified nil font-lock-face js2-object-property) 2362 2371 (fontified nil) 2371 2373 (fontified nil font-lock-face js2-object-property) 2373 2376 (fontified nil) 2376 2389 (fontified nil font-lock-face js2-function-call) 2389 2396 (fontified nil) 2396 2404 (fontified nil font-lock-face font-lock-keyword-face) 2404 2405 (fontified nil) 2405 2406 (fontified nil font-lock-face js2-function-param) 2406 2407 (fontified nil) 2407 2411 (fontified nil font-lock-face js2-function-param) 2411 2414 (fontified nil) 2414 2416 (fontified nil) 2416 2418 (fontified nil font-lock-face font-lock-keyword-face) 2418 2436 (fontified nil) 2436 2442 (fontified nil font-lock-face font-lock-keyword-face) 2442 2454 (fontified nil) 2454 2457 (fontified nil font-lock-face js2-function-call) 2457 2473 (fontified nil) 2473 2478 (fontified nil font-lock-face js2-function-call) 2478 2479 (fontified nil) 2479 2481 (fontified nil) 2481 2485 (fontified nil font-lock-face js2-object-property) 2485 2486 (fontified nil) 2486 2497 (fontified nil font-lock-face font-lock-string-face) 2497 2499 (fontified nil) 2499 2503 (fontified nil font-lock-face js2-object-property) 2503 2526 (fontified nil) 2526 2530 (fontified nil font-lock-face font-lock-constant-face) 2530 2534 (fontified nil) 2534 2542 (fontified nil font-lock-face font-lock-keyword-face) 2542 2543 (fontified nil) 2543 2556 (fontified nil font-lock-face font-lock-function-name-face) 2556 2558 (fontified nil) 2558 2560 (fontified nil) 2560 2562 (fontified nil) 2562 2563 (fontified nil font-lock-face js2-function-call) 2563 2564 (fontified nil) 2564 2575 (fontified nil font-lock-face font-lock-string-face) 2575 2577 (fontified nil) 2577 2581 (fontified nil font-lock-face js2-function-call) 2581 2584 (fontified nil) 2584 2587 (fontified nil font-lock-face js2-function-call) 2587 2588 (fontified nil) 2588 2590 (fontified nil) 2590 2593 (fontified nil font-lock-face js2-object-property) 2593 2603 (fontified nil) 2603 2606 (fontified nil font-lock-face js2-object-property) 2606 2607 (fontified nil) 2607 2611 (fontified nil font-lock-face font-lock-string-face) 2611 2613 (fontified nil) 2613 2617 (fontified nil font-lock-face js2-object-property) 2617 2627 (fontified nil) 2627 2631 (fontified nil font-lock-face js2-object-property) 2631 2632 (fontified nil) 2632 2636 (fontified nil font-lock-face font-lock-string-face) 2636 2638 (fontified nil) 2638 2643 (fontified nil font-lock-face js2-object-property) 2643 2653 (fontified nil) 2653 2658 (fontified nil font-lock-face js2-object-property) 2658 2659 (fontified nil) 2659 2663 (fontified nil font-lock-face font-lock-string-face) 2663 2665 (fontified nil) 2665 2671 (fontified nil font-lock-face js2-object-property) 2671 2681 (fontified nil) 2681 2687 (fontified nil font-lock-face js2-object-property) 2687 2688 (fontified nil) 2688 2692 (fontified nil font-lock-face font-lock-string-face) 2692 2699 (fontified nil) 2699 2700 (fontified nil font-lock-face js2-function-call) 2700 2701 (fontified nil) 2701 2711 (fontified nil font-lock-face font-lock-string-face) 2711 2713 (fontified nil) 2713 2715 (fontified nil font-lock-face js2-function-call) 2715 2716 (fontified nil) 2716 2727 (fontified nil font-lock-face font-lock-string-face) 2727 2745 (fontified nil) 2745 2748 (fontified nil font-lock-face font-lock-keyword-face) 2748 2749 (fontified nil) 2749 2758 (fontified nil font-lock-face js2-function-call) 2758 2759 (fontified nil) 2759 2766 (fontified nil font-lock-face font-lock-string-face) 2766 2775 (fontified nil) 2775 2783 (fontified nil font-lock-face js2-object-property) 2783 2784 (fontified nil) 2784 2792 (fontified nil font-lock-face js2-object-property) 2792 2794 (fontified nil) 2794 2801 (fontified nil font-lock-face font-lock-string-face) 2801 2803 (fontified nil) 2803 2806 (fontified nil) 2806 2812 (fontified nil font-lock-face font-lock-function-name-face) 2812 2815 (fontified nil) 2815 2823 (fontified nil font-lock-face font-lock-keyword-face) 2823 2825 (fontified nil) 2825 2826 (fontified nil font-lock-face js2-function-param) 2826 2828 (fontified nil) 2828 2830 (fontified nil) 2830 2835 (fontified t) 2835 2844 (fontified t font-lock-face font-lock-function-name-face) 2844 2847 (fontified t) 2847 2855 (fontified t font-lock-face font-lock-keyword-face) 2855 2856 (fontified t) 2856 2857 (fontified t face (rainbow-delimiters-depth-2-face)) 2857 2864 (fontified t font-lock-face js2-function-param) 2864 2865 (fontified t face (rainbow-delimiters-depth-2-face)) 2865 2866 (fontified t) 2866 2867 (fontified t face (rainbow-delimiters-depth-2-face)) 2867 2868 (fontified t) 2868 2869 (fontified t) 2869 2875 (fontified t) 2875 2878 (fontified t font-lock-face font-lock-keyword-face) 2878 2879 (fontified t) 2879 2882 (fontified t font-lock-face font-lock-variable-name-face) 2882 2884 (fontified t) 2884 2887 (fontified t font-lock-face font-lock-keyword-face) 2887 2888 (fontified t face (rainbow-delimiters-depth-3-face)) 2888 2898 (fontified t) 2898 2903 (fontified t font-lock-face js2-function-call) 2903 2904 (fontified t face (rainbow-delimiters-depth-4-face)) 2904 2912 (fontified t) 2912 2916 (fontified t font-lock-face js2-object-property) 2916 2917 (fontified t face (rainbow-delimiters-depth-4-face)) 2917 2918 (fontified t) 2918 2919 (fontified t face (rainbow-delimiters-depth-3-face)) 2919 2924 (fontified t font-lock-face font-lock-keyword-face) 2924 2925 (fontified t face (rainbow-delimiters-depth-3-face)) 2925 2926 (fontified t) 2926 2927 (fontified t face (rainbow-delimiters-depth-3-face)) 2927 2928 (fontified t face (rainbow-delimiters-depth-3-face)) 2928 2941 (fontified t) 2941 2945 (fontified t font-lock-face js2-object-property) 2945 2946 (fontified t) 2946 2947 (fontified t face (rainbow-delimiters-depth-3-face)) 2947 2948 (fontified t) 2948 2954 (fontified t) 2954 2956 (fontified t font-lock-face font-lock-keyword-face) 2956 2957 (fontified t face (rainbow-delimiters-depth-3-face)) 2957 2963 (fontified t font-lock-face font-lock-keyword-face) 2963 2969 (fontified t) 2969 2977 (fontified t font-lock-face font-lock-string-face) 2977 2979 (fontified t) 2979 2980 (fontified t font-lock-face font-lock-negation-char-face) 2980 2983 (fontified t) 2983 2984 (fontified t face (rainbow-delimiters-depth-3-face)) 2984 2985 (fontified t) 2985 2991 (fontified t font-lock-face font-lock-keyword-face) 2991 2994 (fontified t) 2994 3000 (fontified t) 3000 3006 (fontified t font-lock-face font-lock-keyword-face) 3006 3007 (fontified t face (rainbow-delimiters-depth-3-face)) 3007 3011 (fontified t) 3011 3015 (fontified t font-lock-face js2-object-property) 3015 3016 (fontified t face (rainbow-delimiters-depth-3-face)) 3016 3017 (fontified t face (rainbow-delimiters-depth-3-face)) 3017 3018 (fontified t) 3018 3019 (fontified t) 3019 3027 (fontified t) 3027 3031 (fontified t font-lock-face font-lock-keyword-face) 3031 3032 (fontified t) 3032 3043 (fontified t font-lock-face font-lock-string-face) 3043 3056 (fontified t) 3056 3061 (fontified t font-lock-face font-lock-keyword-face) 3061 3062 (fontified t) 3062 3068 (fontified t) 3068 3072 (fontified t font-lock-face font-lock-keyword-face) 3072 3073 (fontified t) 3073 3082 (fontified t font-lock-face font-lock-string-face) 3082 3083 (fontified t font-lock-face font-lock-string-face) 3083 3084 (fontified t) 3084 3085 (fontified t) 3085 3093 (fontified t) 3093 3098 (fontified t font-lock-face font-lock-keyword-face) 3098 3099 (fontified t) 3099 3107 (fontified t) 3107 3111 (font-lock-face font-lock-keyword-face fontified t) 3111 3112 (fontified t) 3112 3113 (font-lock-face font-lock-string-face fontified t) 3113 3122 (font-lock-face font-lock-string-face fontified t) 3122 3123 (font-lock-face font-lock-string-face fontified t) 3123 3125 (fontified t) 3125 3150 (fontified t) 3150 3154 (font-lock-face js2-object-property fontified t) 3154 3155 (fontified t) 3155 3165 (fontified t) 3165 3178 (font-lock-face js2-function-call fontified t) 3178 3179 (fontified t face (rainbow-delimiters-depth-4-face)) 3179 3180 (fontified t face (rainbow-delimiters-depth-4-face)) 3180 3181 (fontified t) 3181 3192 (fontified t) 3192 3197 (font-lock-face font-lock-keyword-face fontified t) 3197 3198 (fontified t) 3198 3206 (fontified t) 3206 3210 (font-lock-face font-lock-keyword-face fontified t) 3210 3211 (fontified t) 3211 3220 (font-lock-face font-lock-string-face fontified t) 3220 3222 (fontified t) 3222 3232 (fontified t) 3232 3235 (font-lock-face font-lock-keyword-face fontified t) 3235 3236 (fontified t face (rainbow-delimiters-depth-4-face)) 3236 3253 (fontified t) 3253 3259 (font-lock-face js2-object-property fontified t) 3259 3262 (fontified t) 3262 3266 (font-lock-face font-lock-builtin-face fontified t) 3266 3267 (fontified t face (rainbow-delimiters-depth-5-face)) 3267 3272 (fontified t) 3272 3276 (font-lock-face js2-object-property fontified t) 3276 3277 (fontified t) 3277 3278 (fontified t face (rainbow-delimiters-depth-5-face)) 3278 3289 (fontified t) 3289 3290 (fontified t face (rainbow-delimiters-depth-4-face)) 3290 3295 (font-lock-face font-lock-keyword-face fontified t) 3295 3296 (fontified t face (rainbow-delimiters-depth-4-face)) 3296 3297 (fontified t) 3297 3298 (fontified t face (rainbow-delimiters-depth-4-face)) 3298 3299 (fontified t face (rainbow-delimiters-depth-4-face)) 3299 3316 (fontified t) 3316 3322 (font-lock-face js2-object-property fontified t) 3322 3327 (fontified t) 3327 3332 (font-lock-face js2-object-property fontified t) 3332 3333 (fontified t) 3333 3343 (fontified t) 3343 3344 (fontified t face (rainbow-delimiters-depth-4-face)) 3344 3345 (fontified t) 3345 3355 (fontified t) 3355 3361 (font-lock-face font-lock-keyword-face fontified t) 3361 3366 (fontified t) 3366 3370 (font-lock-face js2-object-property fontified t) 3370 3371 (fontified t) 3371 3385 (fontified t) 3385 3389 (font-lock-face js2-object-property fontified t) 3389 3392 (fontified t) 3392 3408 (font-lock-face font-lock-string-face fontified t) 3408 3422 (fontified t) 3422 3427 (font-lock-face js2-function-call fontified t) 3427 3428 (fontified t face (rainbow-delimiters-depth-4-face)) 3428 3433 (fontified t) 3433 3434 (fontified t face (rainbow-delimiters-depth-4-face)) 3434 3446 (fontified t) 3446 3451 (font-lock-face font-lock-keyword-face fontified t) 3451 3460 (fontified t) 3460 3464 (font-lock-face font-lock-keyword-face fontified t) 3464 3465 (fontified t) 3465 3479 (font-lock-face font-lock-string-face fontified t) 3479 3499 (fontified t) 3499 3504 (font-lock-face js2-function-call fontified t) 3504 3505 (fontified t face (rainbow-delimiters-depth-4-face)) 3505 3510 (fontified t) 3510 3514 (font-lock-face js2-object-property fontified t) 3514 3515 (fontified t) 3515 3518 (font-lock-face js2-object-property fontified t) 3518 3525 (fontified t) 3525 3534 (font-lock-face js2-function-call fontified t) 3534 3535 (fontified t face (rainbow-delimiters-depth-5-face)) 3535 3539 (fontified t) 3539 3543 (font-lock-face js2-object-property fontified t) 3543 3544 (fontified t) 3544 3549 (font-lock-face js2-object-property fontified t) 3549 3550 (fontified t face (rainbow-delimiters-depth-5-face)) 3550 3551 (fontified t) 3551 3552 (fontified t face (rainbow-delimiters-depth-4-face)) 3552 3553 (fontified t) 3553 3564 (fontified t) 3564 3569 (font-lock-face font-lock-keyword-face fontified t) 3569 3570 (fontified t) 3570 3578 (fontified t) 3578 3582 (font-lock-face font-lock-keyword-face fontified t) 3582 3583 (fontified t) 3583 3599 (font-lock-face font-lock-string-face fontified t) 3599 3601 (fontified t) 3619 3622 (font-lock-face js2-function-call) 3628 3632 (font-lock-face js2-object-property) 3646 3651 (font-lock-face font-lock-keyword-face) 3660 3664 (font-lock-face font-lock-keyword-face) 3665 3681 (font-lock-face font-lock-string-face) 3693 3695 (font-lock-face font-lock-keyword-face) 3700 3704 (font-lock-face js2-object-property) 3719 3722 (font-lock-face font-lock-keyword-face) 3723 3725 (font-lock-face font-lock-variable-name-face) 3744 3748 (font-lock-face js2-object-property) 3762 3768 (font-lock-face font-lock-keyword-face) 3785 3789 (font-lock-face js2-object-property) 3809 3811 (font-lock-face js2-function-call) 3840 3845 (font-lock-face font-lock-keyword-face) 3854 3858 (font-lock-face font-lock-keyword-face) 3859 3874 (font-lock-face font-lock-string-face) 3884 3888 (font-lock-face font-lock-keyword-face) 3889 3904 (font-lock-face font-lock-string-face) 3916 3917 (font-lock-face js2-function-call) 3926 3936 (font-lock-face js2-function-call) 3941 3945 (font-lock-face js2-object-property) 3946 3953 (font-lock-face js2-object-property) 3965 3966 (font-lock-face js2-function-call) 3975 3984 (font-lock-face js2-function-call) 3989 3993 (font-lock-face js2-object-property) 3994 4001 (font-lock-face js2-object-property) 4013 4014 (font-lock-face js2-function-call) 4023 4028 (font-lock-face js2-function-call) 4033 4037 (font-lock-face js2-object-property) 4038 4043 (font-lock-face js2-object-property) 4055 4056 (font-lock-face js2-function-call) 4065 4071 (font-lock-face js2-function-call) 4076 4080 (font-lock-face js2-object-property) 4081 4087 (font-lock-face js2-object-property) 4100 4105 (font-lock-face font-lock-keyword-face) 4114 4118 (font-lock-face font-lock-keyword-face) 4119 4127 (font-lock-face font-lock-string-face) 4139 4140 (font-lock-face js2-function-call) 4141 4150 (font-lock-face font-lock-string-face) 4152 4157 (font-lock-face js2-function-call) 4163 4167 (font-lock-face js2-object-property) 4168 4172 (font-lock-face js2-object-property) 4173 4178 (font-lock-face js2-object-property) 4181 4187 (font-lock-face js2-function-call) 4193 4197 (font-lock-face js2-object-property) 4198 4202 (font-lock-face js2-object-property) 4203 4209 (font-lock-face js2-object-property) 4222 4223 (font-lock-face js2-function-call) 4224 4237 (font-lock-face font-lock-string-face) 4239 4243 (font-lock-face js2-function-call) 4244 4249 (font-lock-face font-lock-string-face) 4251 4275 (font-lock-face font-lock-string-face) 4281 4285 (font-lock-face js2-object-property) 4297 4318 (font-lock-face font-lock-comment-face) 4318 4348 (font-lock-face font-lock-comment-face) 4348 4384 (font-lock-face font-lock-comment-face) 4394 4439 (font-lock-face font-lock-comment-face) 4439 4447 (font-lock-face font-lock-comment-face) 4447 4449 (font-lock-face font-lock-comment-face) 4459 4464 (font-lock-face font-lock-keyword-face) 4474 4481 (font-lock-face font-lock-keyword-face) 4494 4499 (font-lock-face font-lock-keyword-face) 4518 4525 (font-lock-face font-lock-function-name-face) 4528 4536 (font-lock-face font-lock-keyword-face) 4538 4542 (font-lock-face js2-function-param) 4544 4550 (font-lock-face js2-function-param) 4552 4558 (font-lock-face js2-function-param) 4574 4577 (font-lock-face js2-function-call) 4578 4590 (font-lock-face font-lock-string-face) 4616 4621 (font-lock-face js2-function-call) 4623 4627 (font-lock-face js2-object-property) 4628 4640 (font-lock-face font-lock-string-face) 4642 4646 (font-lock-face js2-object-property) 4647 4655 (font-lock-face font-lock-string-face) 4657 4661 (font-lock-face js2-object-property) 4662 4670 (font-lock-face font-lock-string-face) 4676 4679 (font-lock-face font-lock-keyword-face) 4680 4691 (font-lock-face font-lock-variable-name-face) 4700 4705 (font-lock-face font-lock-function-name-face) 4708 4716 (font-lock-face font-lock-keyword-face) 4717 4720 (font-lock-face js2-function-param) 4722 4724 (font-lock-face js2-function-param) 4729 4731 (font-lock-face font-lock-keyword-face) 4735 4745 (font-lock-face js2-object-property) 4750 4756 (font-lock-face font-lock-keyword-face) 4760 4762 (font-lock-face font-lock-keyword-face) 4763 4769 (font-lock-face font-lock-keyword-face) 4774 4784 (font-lock-face font-lock-string-face) 4795 4799 (font-lock-face js2-object-property) 4802 4805 (font-lock-face font-lock-string-face) 4811 4814 (font-lock-face js2-function-call) 4822 4828 (font-lock-face font-lock-builtin-face) 4851 4855 (font-lock-face js2-object-property) 4871 4875 (font-lock-face js2-function-call) 4877 4883 (font-lock-face font-lock-keyword-face) 4889 4897 (font-lock-face font-lock-string-face) 4911 4920 (font-lock-face js2-function-call) 4933 4947 (font-lock-face js2-object-property) 4973 4982 (font-lock-face js2-function-call) 4987 4992 (font-lock-face js2-object-property) 5001 5015 (font-lock-face js2-object-property) 5041 5050 (font-lock-face js2-function-call) 5055 5060 (font-lock-face js2-object-property) 5066 5070 (font-lock-face font-lock-constant-face) 5076 5091 (font-lock-face js2-object-property) 5117 5126 (font-lock-face js2-function-call) 5131 5136 (font-lock-face js2-object-property) 5142 5147 (font-lock-face font-lock-constant-face) 5152 5160 (font-lock-face font-lock-keyword-face) 5161 5163 (font-lock-face font-lock-function-name-face) 5164 5167 (font-lock-face js2-function-param) 5175 5180 (font-lock-face js2-function-call) 5182 5186 (font-lock-face js2-object-property) 5187 5196 (font-lock-face font-lock-string-face) 5198 5202 (font-lock-face js2-object-property) 5203 5211 (font-lock-face font-lock-string-face) 5213 5217 (font-lock-face js2-object-property) 5224 5232 (font-lock-face font-lock-keyword-face) 5233 5236 (font-lock-face js2-function-param) 5243 5245 (font-lock-face font-lock-keyword-face) 5250 5256 (font-lock-face js2-object-property) 5259 5268 (font-lock-face font-lock-constant-face) 5278 5281 (font-lock-face js2-function-call) 5286 5292 (font-lock-face js2-object-property) 5301 5309 (font-lock-face font-lock-keyword-face) 5310 5312 (font-lock-face font-lock-function-name-face) 5313 5316 (font-lock-face js2-function-param) 5318 5327 (font-lock-face js2-function-param) 5335 5340 (font-lock-face js2-function-call) 5342 5346 (font-lock-face js2-object-property) 5347 5356 (font-lock-face font-lock-string-face) 5358 5362 (font-lock-face js2-object-property) 5373 5382 (font-lock-face font-lock-string-face) 5383 5391 (font-lock-face font-lock-string-face) 5393 5397 (font-lock-face js2-object-property) 5404 5412 (font-lock-face font-lock-keyword-face) 5413 5416 (font-lock-face js2-function-param) 5423 5425 (font-lock-face font-lock-keyword-face) 5430 5436 (font-lock-face js2-object-property) 5439 5448 (font-lock-face font-lock-constant-face) 5458 5461 (font-lock-face js2-function-call) 5466 5472 (font-lock-face js2-object-property) 5482 5490 (font-lock-face font-lock-keyword-face) 5491 5504 (font-lock-face font-lock-function-name-face) 5513 5516 (font-lock-face font-lock-keyword-face) 5517 5526 (font-lock-face font-lock-variable-name-face) 5529 5531 (font-lock-face font-lock-string-face) 5546 5550 (font-lock-face js2-function-call) 5551 5559 (font-lock-face font-lock-string-face) 5561 5569 (font-lock-face font-lock-keyword-face) 5570 5571 (font-lock-face js2-function-param) 5582 5596 (font-lock-face js2-function-call) 5613 5616 (font-lock-face js2-function-call) 5631 5649 (font-lock-face font-lock-comment-face) 5649 5657 (font-lock-face font-lock-comment-face) 5657 5670 (font-lock-face font-lock-comment-face) 5670 5672 (font-lock-face font-lock-comment-face) 5676 5700 (font-lock-face font-lock-comment-face) 5704 5726 (font-lock-face font-lock-comment-face) 5726 5728 (font-lock-face font-lock-comment-face) 5732 5742 (font-lock-face font-lock-comment-face) 5742 5761 (font-lock-face font-lock-comment-face) 5761 5763 (font-lock-face font-lock-comment-face) 5767 5790 (font-lock-face font-lock-comment-face) 5794 5829 (font-lock-face font-lock-comment-face) 5833 5843 (font-lock-face font-lock-comment-face) 5843 5863 (font-lock-face font-lock-comment-face) 5863 5865 (font-lock-face font-lock-comment-face) 5869 5889 (font-lock-face font-lock-comment-face) 5893 5900 (font-lock-face font-lock-comment-face) 5904 5910 (font-lock-face font-lock-comment-face) 5924 5928 (font-lock-face js2-function-call) 5929 5937 (font-lock-face font-lock-string-face) 5939 5947 (font-lock-face font-lock-keyword-face) 5948 5949 (font-lock-face js2-function-param) 5960 5974 (font-lock-face js2-function-call) 6021 6025 (font-lock-face js2-function-call) 6026 6030 (font-lock-face font-lock-string-face) 6032 6040 (font-lock-face font-lock-keyword-face) 6041 6042 (font-lock-face js2-function-param) 6051 6053 (font-lock-face font-lock-keyword-face) 6054 6055 (font-lock-face font-lock-negation-char-face) 6066 6072 (font-lock-face font-lock-keyword-face) 6081 6095 (font-lock-face js2-function-call) 6104 6106 (font-lock-face js2-function-call) 6107 6122 (font-lock-face font-lock-string-face) 6122 6124 (font-lock-face font-lock-string-face) 6137 6139 (font-lock-face font-lock-string-face) 6139 6142 (font-lock-face font-lock-string-face) 6187 6191 (font-lock-face js2-function-call) 6192 6200 (font-lock-face font-lock-string-face) 6202 6210 (font-lock-face font-lock-keyword-face) 6211 6212 (font-lock-face js2-function-param) 6223 6237 (font-lock-face js2-function-call) 6246 6249 (font-lock-face font-lock-keyword-face) 6250 6255 (font-lock-face font-lock-variable-name-face) 6262 6264 (font-lock-face font-lock-keyword-face) 6275 6279 (font-lock-face font-lock-constant-face) 6291 6296 (font-lock-face font-lock-keyword-face) 6338 6344 (font-lock-face js2-function-call) 6345 6358 (font-lock-face font-lock-string-face) 6372 6374 (font-lock-face font-lock-string-face) 6385 6387 (font-lock-face font-lock-keyword-face) 6388 6389 (font-lock-face font-lock-negation-char-face) 6396 6402 (font-lock-face font-lock-keyword-face) 6413 6415 (font-lock-face font-lock-keyword-face) 6437 6441 (font-lock-face js2-function-call) 6451 6456 (font-lock-face js2-function-call) 6457 6484 (font-lock-face font-lock-string-face) 6510 6514 (font-lock-face font-lock-keyword-face) 6515 6520 (font-lock-face font-lock-keyword-face) 6539 6559 (font-lock-face font-lock-comment-face) 6559 6573 (font-lock-face font-lock-comment-face) 6573 6580 (font-lock-face font-lock-comment-face) 6588 6598 (font-lock-face js2-function-call) 6610 6612 (font-lock-face js2-function-call) 6613 6624 (font-lock-face font-lock-string-face) 6624 6626 (font-lock-face font-lock-string-face) 6635 6637 (font-lock-face font-lock-string-face) 6637 6640 (font-lock-face font-lock-string-face) 6675 6679 (font-lock-face font-lock-keyword-face) 6680 6682 (font-lock-face font-lock-keyword-face) 6713 6726 (font-lock-face js2-function-call) 6759 6764 (font-lock-face js2-object-property) 6767 6774 (font-lock-face font-lock-string-face) 6783 6785 (font-lock-face js2-function-call) 6786 6799 (font-lock-face font-lock-string-face) 6817 6821 (font-lock-face font-lock-constant-face) 6842 6844 (font-lock-face font-lock-string-face) 6865 6866 (font-lock-face js2-function-call) 6875 6877 (font-lock-face js2-function-call) 6878 6886 (font-lock-face font-lock-string-face) 6888 6896 (font-lock-face font-lock-keyword-face) 6897 6898 (font-lock-face js2-function-param) 6907 6910 (font-lock-face font-lock-keyword-face) 6911 6915 (font-lock-face font-lock-variable-name-face) 6920 6927 (font-lock-face js2-object-property) 6935 6942 (font-lock-face js2-object-property) 6944 6951 (font-lock-face js2-object-property) 6959 6966 (font-lock-face js2-object-property) 6968 6973 (font-lock-face js2-object-property) 6974 6975 (font-lock-face js2-function-call) 6984 6989 (font-lock-face js2-function-call) 6993 6999 (font-lock-face js2-object-property) 7000 7001 (font-lock-face js2-function-call) 7010 7016 (font-lock-face js2-function-call) 7029 7034 (font-lock-face js2-function-call) 7037 7041 (font-lock-face js2-object-property) 7042 7057 (font-lock-face font-lock-string-face) 7059 7063 (font-lock-face js2-object-property) 7083 7084 (font-lock-face js2-function-call) 7093 7100 (font-lock-face js2-function-call) 7101 7109 (font-lock-face font-lock-string-face) 7116 7117 (font-lock-face js2-function-call) 7126 7128 (font-lock-face js2-function-call) 7129 7137 (font-lock-face font-lock-string-face) 7139 7147 (font-lock-face font-lock-keyword-face) 7148 7149 (font-lock-face js2-function-param) 7158 7161 (font-lock-face font-lock-keyword-face) 7162 7166 (font-lock-face font-lock-variable-name-face) 7171 7178 (font-lock-face js2-object-property) 7186 7193 (font-lock-face js2-object-property) 7195 7202 (font-lock-face js2-object-property) 7210 7217 (font-lock-face js2-object-property) 7219 7224 (font-lock-face js2-object-property) 7225 7226 (font-lock-face js2-function-call) 7235 7240 (font-lock-face js2-function-call) 7244 7250 (font-lock-face js2-object-property) 7251 7252 (font-lock-face js2-function-call) 7261 7267 (font-lock-face js2-function-call) 7280 7285 (font-lock-face js2-function-call) 7288 7292 (font-lock-face js2-object-property) 7293 7308 (font-lock-face font-lock-string-face) 7310 7314 (font-lock-face js2-object-property) 7334 7335 (font-lock-face js2-function-call) 7344 7351 (font-lock-face js2-function-call) 7352 7360 (font-lock-face font-lock-string-face) 7366 7369 (font-lock-face font-lock-keyword-face) 7370 7379 (font-lock-face font-lock-variable-name-face) 7388 7397 (font-lock-face font-lock-string-face) 7403 7410 (font-lock-face font-lock-string-face) 7416 7427 (font-lock-face font-lock-string-face) 7433 7442 (font-lock-face font-lock-string-face) 7448 7459 (font-lock-face font-lock-string-face) 7465 7468 (font-lock-face font-lock-comment-face) 7468 7475 (font-lock-face font-lock-comment-face) 7475 7477 (font-lock-face font-lock-comment-face) 7481 7484 (font-lock-face font-lock-comment-face) 7484 7494 (font-lock-face font-lock-comment-face) 7494 7496 (font-lock-face font-lock-comment-face) 7512 7519 (font-lock-face js2-function-call) 7520 7528 (font-lock-face font-lock-keyword-face) 7529 7530 (font-lock-face js2-function-param) 7537 7538 (font-lock-face js2-function-call) 7549 7551 (font-lock-face js2-function-call) 7555 7563 (font-lock-face font-lock-keyword-face) 7564 7567 (font-lock-face js2-function-param) 7576 7579 (font-lock-face font-lock-keyword-face) 7580 7581 (font-lock-face font-lock-variable-name-face) 7588 7601 (font-lock-face js2-object-property) 7608 7611 (font-lock-face font-lock-keyword-face) 7612 7617 (font-lock-face font-lock-variable-name-face) 7620 7621 (font-lock-face font-lock-string-face syntax-table (2)) 7621 7624 (font-lock-face font-lock-string-face syntax-table (2)) 7624 7625 (font-lock-face font-lock-string-face syntax-table (2)) 7626 7630 (font-lock-face js2-function-call) 7633 7637 (font-lock-face js2-object-property) 7645 7647 (font-lock-face font-lock-keyword-face) 7657 7671 (font-lock-face js2-function-call) 7680 7711 (font-lock-face font-lock-comment-face) 7711 7720 (font-lock-face font-lock-comment-face) 7720 7729 (font-lock-face font-lock-comment-face) 7735 7738 (font-lock-face font-lock-keyword-face) 7739 7747 (font-lock-face font-lock-variable-name-face) 7758 7760 (font-lock-face font-lock-keyword-face) 7763 7771 (font-lock-face js2-object-property) 7794 7799 (font-lock-face js2-object-property) 7806 7808 (font-lock-face font-lock-keyword-face) 7811 7817 (font-lock-face js2-object-property) 7840 7843 (font-lock-face js2-object-property) 7850 7852 (font-lock-face font-lock-keyword-face) 7855 7862 (font-lock-face js2-object-property) 7885 7889 (font-lock-face js2-object-property) 7896 7898 (font-lock-face font-lock-keyword-face) 7901 7908 (font-lock-face js2-object-property) 7931 7935 (font-lock-face js2-object-property) 7942 7945 (font-lock-face font-lock-keyword-face) 7946 7953 (font-lock-face font-lock-variable-name-face) 7958 7962 (font-lock-face js2-object-property) 7965 7969 (font-lock-face js2-object-property) 7971 7976 (font-lock-face js2-object-property) 7979 7984 (font-lock-face js2-object-property) 7986 7994 (font-lock-face js2-object-property) 8012 8014 (font-lock-face font-lock-keyword-face) 8039 8046 (font-lock-face js2-object-property) 8051 8054 (font-lock-face js2-object-property) 8058 8071 (font-lock-face js2-object-property) 8080 8141 (font-lock-face font-lock-comment-face) 8148 8152 (font-lock-face font-lock-keyword-face) 8170 8175 (font-lock-face js2-object-property) 8180 8185 (font-lock-face js2-object-property) 8187 8206 (font-lock-face font-lock-comment-face) 8222 8227 (font-lock-face js2-object-property) 8232 8237 (font-lock-face js2-object-property) 8239 8258 (font-lock-face font-lock-comment-face) 8272 8292 (font-lock-face font-lock-comment-face) 8292 8303 (font-lock-face font-lock-comment-face) 8303 8323 (font-lock-face font-lock-comment-face) 8323 8325 (font-lock-face font-lock-comment-face) 8325 8329 (font-lock-face font-lock-comment-face) 8329 8330 (font-lock-face font-lock-comment-face) 8330 8343 (font-lock-face font-lock-comment-face) 8343 8361 (font-lock-face font-lock-comment-face) 8367 8384 (font-lock-face font-lock-comment-face) 8384 8386 (font-lock-face font-lock-comment-face) 8386 8390 (font-lock-face font-lock-comment-face) 8390 8391 (font-lock-face font-lock-comment-face) 8391 8404 (font-lock-face font-lock-comment-face) 8404 8422 (font-lock-face font-lock-comment-face) 8431 8436 (font-lock-face js2-function-call) 8439 8443 (font-lock-face js2-object-property) 8450 8461 (font-lock-face font-lock-string-face) 8462 8475 (font-lock-face font-lock-string-face) 8477 8481 (font-lock-face js2-object-property) 8510 8513 (font-lock-face font-lock-keyword-face) 8514 8521 (font-lock-face font-lock-function-name-face) 8524 8532 (font-lock-face font-lock-keyword-face) 8533 8536 (font-lock-face js2-function-param) 8538 8539 (font-lock-face js2-function-param) 8541 8547 (font-lock-face font-lock-keyword-face) 8548 8551 (font-lock-face font-lock-keyword-face) 8552 8557 (font-lock-face js2-function-call) 8563 8567 (font-lock-face js2-function-call) 8578 8586 (font-lock-face font-lock-keyword-face) 8587 8597 (font-lock-face font-lock-function-name-face) 8605 8618 (font-lock-face js2-function-call) 8638 8641 (font-lock-face font-lock-keyword-face) 8642 8643 (font-lock-face font-lock-variable-name-face) 8650 8653 (font-lock-face font-lock-keyword-face) 8654 8659 (font-lock-face font-lock-function-name-face) 8662 8670 (font-lock-face font-lock-keyword-face) 8680 8683 (font-lock-face font-lock-keyword-face) 8684 8686 (font-lock-face font-lock-variable-name-face) 8687 8694 (font-lock-face js2-function-call) 8695 8698 (font-lock-face font-lock-string-face) 8732 8746 (font-lock-face font-lock-string-face) 8747 8757 (font-lock-face font-lock-string-face) 8773 8778 (font-lock-face js2-object-property) 8808 8819 (font-lock-face js2-function-call) 8840 8841 (font-lock-face js2-function-call) 8842 8850 (font-lock-face font-lock-keyword-face) 8856 8869 (font-lock-face js2-function-call) 8883 8887 (font-lock-face js2-object-property) 8888 8893 (font-lock-face js2-function-call) 8907 8915 (font-lock-face js2-object-property) 8918 8926 (font-lock-face font-lock-keyword-face) 8934 8938 (font-lock-face js2-function-call) 8941 8945 (font-lock-face js2-object-property) 8946 8951 (font-lock-face font-lock-string-face) 8953 8956 (font-lock-face js2-object-property) 8965 8973 (font-lock-face js2-object-property) 8974 8982 (font-lock-face js2-object-property) 8984 8988 (font-lock-face font-lock-string-face) 8997 9005 (font-lock-face js2-object-property) 9006 9010 (font-lock-face js2-object-property) 9013 9022 (font-lock-face font-lock-string-face) 9024 9029 (font-lock-face js2-object-property) 9030 9035 (font-lock-face font-lock-constant-face) 9043 9044 (font-lock-face font-lock-string-face syntax-table (2)) 9044 9050 (font-lock-face font-lock-string-face syntax-table (2)) 9050 9051 (font-lock-face font-lock-string-face syntax-table (2)) 9053 9054 (font-lock-face font-lock-string-face syntax-table (2)) 9054 9058 (font-lock-face font-lock-string-face syntax-table (2)) 9058 9059 (font-lock-face font-lock-string-face syntax-table (2)) 9061 9062 (font-lock-face font-lock-string-face syntax-table (2)) 9062 9066 (font-lock-face font-lock-string-face syntax-table (2)) 9066 9067 (font-lock-face font-lock-string-face syntax-table (2)))))])))
  (progn (tern-run-request (function (lambda (_err _data))) (list (cons (quote files) (vector (list (quote (type . "full")) (cons (quote name) (tern-project-relative-file)) (cons (quote text) (buffer-string))))))))
  (if (buffer-file-name) (progn (tern-run-request (function (lambda (_err _data))) (list (cons (quote files) (vector (list (quote ...) (cons ... ...) (cons ... ...))))))))
  tern-send-buffer-to-server()
  (progn (setq tern-last-point-pos nil) (if (and tern-last-argument-hints tern-buffer-is-dirty (<= (car tern-buffer-is-dirty) (car tern-last-argument-hints))) (progn (setq tern-last-argument-hints nil))) (if (and tern-last-completions tern-buffer-is-dirty (<= (car tern-buffer-is-dirty) (cadr tern-last-completions))) (progn (setq tern-last-completions nil))) (tern-send-buffer-to-server))
  (if tern-mode (progn (setq tern-last-point-pos nil) (if (and tern-last-argument-hints tern-buffer-is-dirty (<= (car tern-buffer-is-dirty) (car tern-last-argument-hints))) (progn (setq tern-last-argument-hints nil))) (if (and tern-last-completions tern-buffer-is-dirty (<= (car tern-buffer-is-dirty) (cadr tern-last-completions))) (progn (setq tern-last-completions nil))) (tern-send-buffer-to-server)))
  tern-reparse-on-idle()
  apply(tern-reparse-on-idle nil)
  byte-code("r\301\302H\303H\"\210)\301\207" [timer apply 5 6] 4)
  timer-event-handler([t 0 2 500000 t tern-reparse-on-idle nil idle 0])

any clue?

futurist commented 8 years ago

Below is how to reproduce the problem:

I'm using Multi-web mode(JS2+Tern+yas+AC for js script) editing a html file, which contains js code.

When move point between script tag block and activate js2-mode, after several minutes, above error appear.

When press C-g many times, the error gone.

After several minutes, the error appear again.

marijnh commented 8 years ago

Which platform is this? Can you check how many active node processes you have when the error appears?