Answer the question
In order to leave comments, you need to log in
Why doesn't PhpStorm detect method declarations correctly?
Good afternoon.
- We have require.js, Backbone, jQuery installed via NPM.
- PhpStorm has the RequireJS plugin installed.
- Added library folder node_modules to JavaScript Libraries .
Code example:
/* global define */
define(['backbone'], function (Backbone) {
var model = new Backbone.Model();
model.get();
});
model.get
the framework offers completely inappropriate options, including jQuery and Backbone.Collection. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question