mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
fix unit tests and move function hint type parsing into the tern worker.
This commit is contained in:
1 parent
5205cba81c
commit
adb56c0b58
7 files changed
+310
-44
No files matched your search
@@ -160,6 +160,17 @@ require(["MyModule"], function (myModule) {
|
||||
var x = myModule.c;
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Test record type google annoations.
|
||||
*
|
||||
* @param {{line: number, type: string}} t
|
||||
*/
|
||||
function testRecordTypeAnnotation(t) {
|
||||
'use strict';
|
||||
|
||||
}
|
||||
|
||||
// Function hint testing
|
||||
function functionHintTesting() {
|
||||
"use strict";
|
||||
@@ -167,6 +178,9 @@ function functionHintTesting() {
|
||||
// simple function with primative arguments
|
||||
s.lastIndexOf(s);
|
||||
|
||||
// function with record type argument
|
||||
testRecordTypeAnnotation();
|
||||
|
||||
// function with a function argument
|
||||
arr.sort();
|
||||
|
||||
|
||||
Reference in new issue
Block a user