Izhaki

Results 97 comments of Izhaki

Fell into exactly the same trap. Solution in https://github.com/patrick-steele-idem/child-process-promise/issues/37.

2.0.3 ``` "devDependencies": { "@angular/core": "^2.0.1", "@types/bezier-js": "0.0.5", "@types/es6-shim": "^0.31.32", "@types/jasmine": "^2.5.35", "bezier-js": "^2.2.1", "browserify": "^13.0.1", "chokidar-cli": "^1.2.0", "figlet-cli": "^0.1.0", "http-server": "^0.9.0", "istanbul": "^1.1.0-alpha.1", "jasmine": "^2.4.1", "jasmine-fail-fast": "^2.0.0", "jsdom": "^9.4.1",...

npm install danmarshall/bezierjs --save-dev Throws: ``` npm ERR! git rev-list -n1 master: fatal: ambiguous argument 'master': unknown revision or path not in the working tree. npm ERR! git rev-list -n1...

Tried that (with https://github.com/danmarshall/bezierjs/blob/gh-pages/bezier.d.ts), but it exports `BezierJs` and I `import 'bezier-js'` so I get compilation error 'module not found'

When I import using import { Bezier } from 'bezier-js'; That line compiles (and VS Code hints the right definition): new Bezier( 0, 0, 0, 0, 0, 0 ) So...

Module '"bezier-js"' has no exported member 'BezierJs'. I can push the non-working code for you to play with.

It's all within NPM. In package.json: "test": "ts-node ./tests/unit/jasmine.js" So `ts-node` will internally transpile all typescript.

https://github.com/Izhaki/gefri/tree/bezier-ts If you clone the repository: git checkout bezier-ts npm install npm test should get you going. The actual file to modify is https://github.com/Izhaki/gefri/blob/bezier-ts/src/view/viewees/visibles/path/PathSegments.ts Also note https://github.com/Izhaki/gefri/blob/bezier-ts/src/bezier.d.ts

In Maker.js seems to make make use of the global var in the browser. Do you have a non-browser example (ie, Node?)

By the way, the reason your fork won't install is because the bezier repository hasn't got a master branch. This worked: npm install danmarshall/bezierjs#gh-pages --save-dev But tsc still complains: Cannot...