简体   繁体   English

页面搜索和console.log在JSBin中不起作用

[英]Page search and console.log doesn't work in JSBin

What am I doing wrong, because "page search" (Ctrl-cmd / Ctrl-f) doesn't work in JSBin? 我在做什么错,因为“页面搜索”(Ctrl-cmd / Ctrl-f)在JSBin中不起作用?

http://jsbin.com/oqojan/42/edit http://jsbin.com/oqojan/42/edit

I try to search term "path2curve" in Javascript-window, but only the first match is found, although the term exists on the Javascript-window few times. 我尝试在Javascript窗口中搜索术语“ path2curve”,但仅找到第一个匹配项,尽管该术语在Javascript窗口中存在几次。

I use Chrome version 22.0.1229.92 (Mac OS X 10.6.8). 我使用Chrome版本22.0.1229.92(Mac OS X 10.6.8)。 The same problem is with newest FF. 最新的FF也存在相同的问题。

Ability to search within code is essential on developing. 在代码中进行搜索的能力对于开发至关重要。 Now I have used a workaround to copy text to Ultraedit and find terms there and paste after modifications the code again in JSBin. 现在,我使用了一种变通方法,将文本复制到Ultraedit并在那里找到术语,然后在JSBin中再次修改代码后将其粘贴。 I prefer JSBin over JSfiddle, because JSBin shows typed letters immediately and the text cursor moves as fast as it is moved. 与JSfiddle相比,我更喜欢JSBin,因为JSBin立即显示键入的字母,并且文本光标的移动速度与移动的速度一样快。 In JSFiddle if code is long (like Raphaël source), the hanging time can be seconds. 在JSFiddle中,如果代码很长(如Raphaël源代码),则挂起时间可能是几秒钟。

The other problem in JSBin is that console.log(object) doesn't show object as traversable (by clicking arrow symbol in Chrome Console), although in other pages objects are traversable. JSBin中的另一个问题是console.log(object)不会将对象显示为可遍历 (通过单击Chrome Console中的箭头符号),尽管在其他页面中对象也是可遍历的。

I know this is an old thread, but the searching problem I believe is fixed (or certainly when I test it in chrome, it yields the result). 我知道这是一个旧线程,但是我认为搜索问题已解决(或者肯定是在chrome中测试时,它会产生结果)。 jsbin (as do many others) uses codemirror, which is where the problem was. jsbin(像许多其他人)使用codemirror,这就是问题所在。 It's since been upgraded, and I don't think it's a problem anymore. 此后已升级,我认为这不再是问题。

Regarding the console.log - I'm not sure there's enough in your post to actually diagnose. 关于console.log-我不确定您的帖子中是否有足够的信息可以进行实际诊断。 I should add the custom console has been refactored recently and I know deep object exposure was updated. 我要补充的自定义控制台最近已被重构,我深深地知道对象曝光已更新。 Please do give it another test if you can. 如果可以的话,请再进行一次测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM