Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
cin
- Thu, 06 Feb 2020 00:28:52
Show More
0
src/test/ts/index.ts
src/test/ts/index.ts
created
644
0
0
1
NO CONTENT: new file 100644
NO CONTENT: new file 100644
0
build.gradle
build.gradle
+12
-1
@@
-1,5
+1,5
1
plugins {
1
plugins {
2
id "org.implab.gradle-typescript" version "1.3.2"
2
id "org.implab.gradle-typescript" version "1.3.3 "
3
id "ivy-publish"
3
id "ivy-publish"
4
}
4
}
5
5
@@
-36,6
+36,17
configureTsMain {
36
}
36
}
37
}
37
}
38
38
39
configureTsTest {
40
compilerOptions {
41
baseUrl = "."
42
paths = [
43
"@implab/djx" : [ sources . main . output . typingsDir . get (). toString () ],
44
"@implab/djx/*" : [ "${sources.main.output.typingsDir.get().toString()}/*" ]
45
]
46
types = [ "requirejs" , sources . main . output . typingsDir . get (). toString ()]
47
}
48
}
49
39
npmPackMeta {
50
npmPackMeta {
40
meta {
51
meta {
41
name = "@$npmScope/$project.name"
52
name = "@$npmScope/$project.name"
0
src/test/ts/TestTraits.ts
src/test/ts/TestTraits.ts
0
-2
@@
-51,8
+51,6
export class TapeWriter implements IDest
51
type TestCallback = ( ok : ( msg : string ) => void , fail : ( msg : string ) => void , trace : TraceSource ) => void ;
51
type TestCallback = ( ok : ( msg : string ) => void , fail : ( msg : string ) => void , trace : TraceSource ) => void ;
52
type AsyncTestCallback = ( trace : TraceSource ) => PromiseLike < void > ;
52
type AsyncTestCallback = ( trace : TraceSource ) => PromiseLike < void > ;
53
53
54
export function test ( name : string , cb : TestCallback ) : void ;
55
export function test ( name : string , cb : AsyncTestCallback ) : void ;
56
export function test ( name : string , cb : TestCallback | AsyncTestCallback ) {
54
export function test ( name : string , cb : TestCallback | AsyncTestCallback ) {
57
55
58
}
56
}
0
src/test/ts/dummy.ts
src/test/ts/dummy.ts
+1
-1
@@
-1,8
+1,8
1
import { test } from "./TestTraits" ;
1
import { test } from "./TestTraits" ;
2
import { delay } from "@implab/core-amd/safe" ;
2
import { delay } from "@implab/core-amd/safe" ;
3
import { assert } from "chai" ;
3
import { assert } from "chai" ;
4
import "@implab/djx" ;
5
import css = require ( "@implab/djx/css!my,css" );
4
import css = require ( "@implab/djx/css!my,css" );
5
import {} from "@implab/djx/i18n" ;
6
6
7
test ( "simple" , ( ok , fail , log ) => {
7
test ( "simple" , ( ok , fail , log ) => {
8
setTimeout (() => {
8
setTimeout (() => {
0
src/test/tsconfig.json
src/test/tsconfig.json
+3
-3
@@
-10,9
+10,9
10
"../main/typings"
10
"../main/typings"
11
],
11
],
12
"paths" : {
12
"paths" : {
13
"@implab/djx" : [ "../main/ts" , "../main/typings" ]
13
"@implab/djx" : [ "../main/ts" , "../main/typings" ],
14
//"@implab/djx/*" : [ "../main/ts/*" , "../main/typings/*" ]
14
"@implab/djx/*" : [ "../main/ts/*" , "../main/typings/*" ]
15
},
15
},
16
"types" : [ "requirejs" ]
16
"types" : [ "requirejs" , "../main/typings" ]
17
}
17
}
18
}
No newline at end of file
18
}
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages