chiquitinxx / grooscript-plugins

Grooscript plugins - Gradle and Grails 3
12 stars 1 forks source link

Rendering templates causes RangeError #10

Closed NomNuggetNom closed 7 years ago

NomNuggetNom commented 7 years ago

On my page, I render my navbar as a template, like this:

<g:render template="/layouts/nav"/>

This causes the following error:

grooscript.js?compile=false:1205 Uncaught RangeError: Maximum call stack size exceeded(…)

Removing the call to the template fixes the problem. Happy to provide any other info you need.

NomNuggetNom commented 7 years ago

Actually, it was something else, sorry. I had required the script in my application.js and in the gsp.