Maximum call stack size exceeded while running ace #1322

Closed
Tarang opened this Issue Mar 23, 2013 · 0 comments

Comments

Projects
None yet
1 participant

Tarang commented Mar 23, 2013

I tried the ace editor (both the non conflicting one and the normal one).

I have this bit of code:

<div id="editor">var x=true;</div>

I run

var editor = ace.edit("editor");

And I get this infinite loop sort of error

I don't understand what is causing it to do this, I'm using the latest build of ace as of this post

Uncaught RangeError: Maximum call stack size exceeded
t.getInnerHeight
onResize
$computeLayerConfig
$renderChanges
onResize
$computeLayerConfig
$renderChanges
onResize
$computeLayerConfig
$renderChanges
onResize
$computeLayerConfig
$renderChanges
onResize
$computeLayerConfig
$renderChanges
onResize
$computeLayerConfig

@nightwing nightwing added a commit to nightwing/ace that referenced this issue Mar 24, 2013

@nightwing nightwing fix infinite loop when editor height is 0
fixes #1322
b8dc7a4

nightwing closed this in 339bf10 Mar 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment