We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require('coffee-script/register'); Engine = require('./src/Engine.coffee');
/Users/aylott/src/gss:engine/src/Engine.coffee:704 if (!self.window && self.onmessage !== void 0) { ^ ReferenceError: self is not defined
The text was updated successfully, but these errors were encountered:
Hey Thomas. Thanks for trying. can't stress how excited I am.
Okay, I fixed the node issues at 2.1.x branch: require('coffee-script/register');
Engine = require('./engine/src/Engine.coffee'); engine = new Engine({ b: 2 }) engine.solve(['==', ['get', 'a'], ['+', ['get', 'b'], 1]], 'my-tracked-constraints') console.log(engine.values) // {b: 2, a: 3} engine.solve({b: 5}) // change external value console.log(engine.values) // {b: 5, a: 6} engine.solve({b: null}) //remove external value console.log(engine.values) // {a: 0, b: -1} engine.remove('my-tracked-constraints') console.log(engine.values) // {}
Sorry, something went wrong.
Tests: Add smoketest for node.js
c311268
References #150
No branches or pull requests
The text was updated successfully, but these errors were encountered: