Skip to content

Commit cf44742

Browse files
author
Cache Hamm
authored
Merge pull request #40 from feenst/feenst-fix-invalid-links
Update walkthrough.md
2 parents c6e1983 + 7592f47 commit cf44742

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/walkthrough.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
let engine = new Engine()
88
```
99

10-
More on engines can be found [here](./docs/engine.md)
10+
More on engines can be found [here](./engine.md)
1111

1212
## Step 2: Add Rules
1313

@@ -57,7 +57,7 @@ engine.addRule(rule)
5757

5858
The example above demonstrates a rule for finding individuals between _18 and 25_ who live in either _Utah or Colorado_.
5959

60-
More on rules can be found [here](./docs/rules.md)
60+
More on rules can be found [here](./rules.md)
6161

6262
### Step 3: Define Facts
6363

@@ -95,9 +95,9 @@ engine.addFact('age', ageFact)
9595

9696
Now when the engine is run, it will call the methods above whenever it encounters the ```fact: "age"``` or ```fact: "state"``` properties.
9797

98-
**Important:** facts should be *pure functions*; their computed values will vary based on the ```params``` argument. By establishing facts as pure functions, it allows the rules engine to cache results throughout each ```run()```; facts called multiple times with the same ```params``` will trigger the computation once and cache the results for future calls. If fact caching not desired, this behavior can be turned off via the options; see the [docs](./docs/facts.md).
98+
**Important:** facts should be *pure functions*; their computed values will vary based on the ```params``` argument. By establishing facts as pure functions, it allows the rules engine to cache results throughout each ```run()```; facts called multiple times with the same ```params``` will trigger the computation once and cache the results for future calls. If fact caching not desired, this behavior can be turned off via the options; see the [docs](./facts.md).
9999

100-
More on facts can be found [here](./docs/facts.md). More on almanacs can be found [here](./docs/almanac.md)
100+
More on facts can be found [here](./facts.md). More on almanacs can be found [here](./almanac.md)
101101

102102

103103
## Step 4: Handing Events

0 commit comments

Comments
 (0)