Skip to content

Commit

Permalink
provide access to options
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Oct 2, 2019
1 parent 53610bb commit c939193
Show file tree
Hide file tree
Showing 5 changed files with 716 additions and 490 deletions.
3 changes: 2 additions & 1 deletion docs/gate-executor.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ <h1>gate-executor.js</h1>
Assert(<span class="hljs-string">'object'</span> === <span class="hljs-keyword">typeof</span> options)
Assert(<span class="hljs-string">'number'</span> === <span class="hljs-keyword">typeof</span> instance_counter)

self.id = ++instance_counter</pre></div></div>
self.id = ++instance_counter
self.options = options</pre></div></div>

</li>

Expand Down
3 changes: 2 additions & 1 deletion gate-executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ function GateExecutor(options, instance_counter) {
Assert('number' === typeof instance_counter)

self.id = ++instance_counter

self.options = options

// Work queue.
var q = []

Expand Down
Loading

0 comments on commit c939193

Please sign in to comment.