mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00

Hooked up the extra logic needed to get Tern-QML's imports to work in the QML File Editor. Change-Id: I6fa222223ca8b6b177e4004e48f2f1863ab4d7b4 Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
15 lines
No EOL
281 B
JavaScript
15 lines
No EOL
281 B
JavaScript
function newTernServer(options) {
|
|
return new tern.Server(options);
|
|
}
|
|
|
|
function resolveDirectory(obj) {
|
|
return function (file, path) {
|
|
return obj.resolveDirectory(file, path);
|
|
};
|
|
}
|
|
|
|
function requestCallback(obj) {
|
|
return function (err, data) {
|
|
obj.callback(err, data);
|
|
};
|
|
} |