[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configuration of js2-mode
From: |
Nicolas Petton |
Subject: |
Re: Configuration of js2-mode |
Date: |
Wed, 15 Apr 2015 14:33:19 +0200 |
Hi!
azubi writes:
> I'm using emacs and js2-mode to develop (very) simple three.js
> application. Unfortunately, js2-mode shows every object and variables
> provided by the three.js library as unknow or undefined. The library is
> included into the html page (with a <script> marker) and not into my own
> script. Is there a way to say to js2-mode that it should also consider
> the classes and variables provided by the external library?
You can customize `js2-global-externs' to do just that.
Cheers,
Nico
--
Nicolas Petton
http://nicolas-petton.fr
signature.asc
Description: PGP signature