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
Doug Schaefer 68b8c98473 Start to hook up tern-qml to Java and port some tests.
Change-Id: Ibee411855ffc78e1c183a6c845072ab1eac2b7df
2015-12-01 10:53:43 -05:00

9 lines
165 B
JavaScript

function newTernServer(options) {
return new tern.Server(options);
}
function requestCallback(obj) {
return function(err, data) {
obj.callback(err, data);
}
}