Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Perlito5 - javascript: add GLOB ref infrastructure
  • Loading branch information
fglock committed May 8, 2012
1 parent f0f0aef commit 62d9c24
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions html/perlito5.js
Expand Up @@ -235,6 +235,12 @@ function p5ScalarRef(o) {
this.bool = function() { return 1 };
}

function p5GlobRef(o) {
this._scalar_ = o;
this._ref_ = "GLOB";
this.bool = function() { return 1 };
}

if (isNode) {
var fs = require("fs");
p5make_sub("Perlito5::IO", "slurp", function(List__) {
Expand Down

0 comments on commit 62d9c24

Please sign in to comment.