| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
| 2 | 2 |
| 3 <h2 id="notes">Notes</h2> | 3 <h2 id="notes">Notes</h2> |
| 4 | 4 |
| 5 <p> | 5 <p> |
| 6 The Declarative API is a framework to define rules consisting of declarative | 6 The Declarative API is a framework to define rules consisting of declarative |
| 7 conditions and actions. Conditions are evaluated in the browser rather than the | 7 conditions and actions. Conditions are evaluated in the browser rather than the |
| 8 JavaScript engine which reduces roundtrip latencies and allows for very high | 8 JavaScript engine which reduces roundtrip latencies and allows for very high |
| 9 efficiency. | 9 efficiency. |
| 10 </p> | 10 </p> |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 var rule_ids = ["id1", "id2", ...]; | 131 var rule_ids = ["id1", "id2", ...]; |
| 132 function getRules(rule_ids, function callback(details) {...}); | 132 function getRules(rule_ids, function callback(details) {...}); |
| 133 </pre> | 133 </pre> |
| 134 | 134 |
| 135 <p> | 135 <p> |
| 136 The <code>details</code> parameter passed to the <code>calback()</code> function | 136 The <code>details</code> parameter passed to the <code>calback()</code> function |
| 137 refers to an array of rules including filled optional parameters. | 137 refers to an array of rules including filled optional parameters. |
| 138 </p> | 138 </p> |
| 139 | 139 |
| 140 <!-- END AUTHORED CONTENT --> | 140 <!-- END AUTHORED CONTENT --> |
| OLD | NEW |