Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

288
Vistas
How can I make ternjs interpret "this" as variable

I'm modifying tern.ace to my needs.

I'm facing the following problem:

this when written in the editor refer to a global context and/or a keyword, I've changed many files acorn, infer, tern, ace-tern without any good and simple result. What I would like would be that this get interpreted as a normal variable for defining a custom type in the definitions. How could I do this?

If you run the autocompletion demo. Just type in this in the editor and hover it, you'll see it refers to <top> which is hardcoded.

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda