1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00
cdt/qt/org.eclipse.cdt.qt.core/tern-qml/qml-nsh.js

21 lines
382 B
JavaScript
Raw Normal View History

function newTernServer(options) {
return new tern.Server(options);
}
function resolveDirectory(obj) {
return function (file, path) {
return obj.resolveDirectory(file, path);
};
}
function resolveModule(obj) {
return function (module) {
return obj.resolveModule(module);
};
}
function requestCallback(obj) {
return function (err, data) {
obj.callback(err, data);
};
}