This commit is contained in:
yyc
2017-01-22 09:27:42 +08:00
parent a8b09e012a
commit 29bcff2afd
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -2,5 +2,5 @@ import cannon = require("cannon");
var aabb = new cannon.AABB()
aabb.setFromPoints(new cannon.Vec3(1,2,3));
aabb.setFromPoints([new cannon.Vec3(1,2,3)]);
+2 -1
View File
@@ -2,7 +2,8 @@
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
+3 -1
View File
@@ -3,6 +3,8 @@
// Definitions by: YYC <https://github.com/yyc-git>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="wonder-commonlib" />
declare module wdFrp {
class JudgeUtils extends wdCb.JudgeUtils {
static isPromise(obj: any): boolean;
@@ -101,7 +103,7 @@ declare module wdFrp {
}
}
declare var global: any, window: Window;
declare var global: any, window: any;
declare module wdFrp {
var root: any;
}
+1 -2
View File
@@ -1,6 +1,5 @@
import wdFrp = require("wonder-frp");
wdFrp.fromArray([1,2,3])
.subscribe(null,null,function(){
console.log("completed");
.subscribe(function(){
});